Home
last modified time | relevance | path

Searched refs:binding (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Ddevices.rs11 let binding: Arc<dyn IndexNode> = SYS_DEVICES_INODE(); in sys_device_register() localVariable
12 binding in sys_device_register()
26 let binding: Arc<dyn IndexNode> = SYS_DEVICES_INODE(); in sys_device_unregister() localVariable
27 binding in sys_device_unregister()
Dfs.rs11 let binding: Arc<dyn IndexNode> = SYS_FS_INODE(); in fs_register() localVariable
12 binding in fs_register()
26 let binding: Arc<dyn IndexNode> = SYS_FS_INODE(); in fs_unregister() localVariable
27 binding in fs_unregister()
Dclass.rs11 let binding: Arc<dyn IndexNode> = SYS_CLASS_INODE(); in sys_class_register() localVariable
12 binding in sys_class_register()
26 let binding: Arc<dyn IndexNode> = SYS_CLASS_INODE(); in sys_class_unregister() localVariable
27 binding in sys_class_unregister()
Dbus.rs11 let binding: Arc<dyn IndexNode> = SYS_BUS_INODE(); in sys_bus_register() localVariable
12 kdebug!("Before bus_register: ls /sys/bus/: {:?}", binding.list()); in sys_bus_register()
13 binding in sys_bus_register()
26 let binding: Arc<dyn IndexNode> = SYS_BUS_INODE(); in sys_bus_unregister() localVariable
27 binding in sys_bus_unregister()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs137 let binding = ROOT_INODE().find("proc").expect("ProcFS not mounted!").fs(); in migrate_virtual_filesystem() localVariable
138 let proc: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()
139 let binding = ROOT_INODE().find("dev").expect("DevFS not mounted!").fs(); in migrate_virtual_filesystem() localVariable
140 let dev: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()
141 let binding = ROOT_INODE().find("sys").expect("SysFs not mounted!").fs(); in migrate_virtual_filesystem() localVariable
142 let sys: &MountFS = binding.as_any_ref().downcast_ref::<MountFS>().unwrap(); in migrate_virtual_filesystem()
/DragonOS-0.1.8/kernel/src/net/
Dnet_core.rs40 let binding = NET_DRIVERS.write(); in dhcp_query() localVariable
42 let net_face = binding.get(&0).ok_or(SystemError::ENODEV)?.clone(); in dhcp_query()
44 drop(binding); in dhcp_query()
Dsyscall.rs106 let binding: Arc<SocketInode> = current_pcb() in getsockopt() localVariable
109 let socket = binding.inner(); in getsockopt()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs510 let binding = devfs_inode.unwrap(); localVariable
511 let devfs_inode: &LockedDevFSInode = binding
515 let binding = devfs_inode.fs(); localVariable
516 binding
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs172 let binding = current_pcb().address_space().unwrap(); in open_status() localVariable
173 let address_space_guard = binding.read(); in open_status()
290 let binding: Arc<dyn IndexNode> = _pf.create("status", FileType::File, 0o777)?; in register_pid() localVariable
291 let _sf: &LockedProcFSInode = binding in register_pid()
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs404 let mut binding = INNER_ALLOCATOR.lock(); in allocator_init() localVariable
405 let mut allocator_guard = binding.as_mut().unwrap(); in allocator_init()
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs491 let binding = param.vm().clone(); in load() localVariable
492 let mut user_vm = binding.write(); in load()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs1766 let binding = self.short_name(); in eq_name() localVariable
1767 let short_name = binding.chars().flat_map(|c| c.to_uppercase()); in eq_name()
1768 let binding = self.name(); in eq_name() localVariable
1769 let long_name = binding.chars().flat_map(|c| c.to_uppercase()); in eq_name()