/DragonOS-0.1.9/kernel/src/ |
D | Makefile | 2 DIRS := . $(shell find $(SUBDIR_ROOTS) -type d) 68 …$(LD) -b elf64-littleriscv -z muldefs $(LDFLAGS_UNWIND) -o kernel $(shell find . -name "*.o") ../t… 77 …$(LD) -b elf64-x86-64 -z muldefs $(LDFLAGS_UNWIND) -o kernel $(shell find . -name "*.o") ../target… 89 @echo $(shell find . -name "*.o") 90 …$(LD) -b elf64-x86-64 -z muldefs $(LDFLAGS_UNWIND) -o kernel $(shell find . -name "*.o") ../target…
|
/DragonOS-0.1.9/docs/kernel/filesystem/vfs/ |
D | design.md | 29 … │ │ while doing "lookup" or "find" operations. │ 58   对于大部分的操作,MountFS都是直接转发给具体的文件系统,而不做任何处理。同时,为了支持跨文件系统的操作,比如在目录树上查找,每次lookup操作或者是find操作,都会…
|
/DragonOS-0.1.9/kernel/src/filesystem/devfs/ |
D | mod.rs | 113 if let Err(_) = dev_root_inode.find("char") { in register_device() 121 let any_char_inode = dev_root_inode.find("char")?; in register_device() 136 if let Err(_) = dev_root_inode.find("block") { in register_device() 144 let any_block_inode = dev_root_inode.find("block")?; in register_device() 181 if let Err(_) = dev_root_inode.find("char") { in unregister_device() 185 let any_char_inode = dev_root_inode.find("char")?; in unregister_device() 194 if let Err(_) = dev_root_inode.find("block") { in unregister_device() 198 let any_block_inode = dev_root_inode.find("block")?; in unregister_device() 397 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method 536 let devfs_inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().find("dev"); [all …]
|
/DragonOS-0.1.9/kernel/src/driver/hid/usbhid/ |
D | Makefile | 5 kernel_driver_usbhid_objs:= $(shell find ./*.c)
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | Makefile | 6 kernel_lib_objs:= $(shell find ./*.c)
|
/DragonOS-0.1.9/kernel/src/driver/hid/ |
D | Makefile | 6 kernel_driver_hid_objs:= $(shell find ./*.c)
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | core.rs | 96 let r = new_root_inode.find(mountpoint_name); in do_migrate() 121 let binding = ROOT_INODE().find("proc").expect("ProcFS not mounted!").fs(); in migrate_virtual_filesystem() 123 let binding = ROOT_INODE().find("dev").expect("DevFS not mounted!").fs(); in migrate_virtual_filesystem() 125 let binding = ROOT_INODE().find("sys").expect("SysFs not mounted!").fs(); in migrate_virtual_filesystem() 239 let target_inode = parent_inode.find(filename)?; in do_remove_dir()
|
D | mount.rs | 231 let inode_id = self.inner_inode.find(name)?.metadata()?.inode_id; in unlink() 243 let inode_id = self.inner_inode.find(name)?.metadata()?.inode_id; in rmdir() 265 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method 275 return inode.find(name); in find() 284 inner_inode: self.inner_inode.find(name)?, in find() 296 inner_inode: self.inner_inode.find(name)?, in find()
|
D | mod.rs | 306 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method 331 let entry = self.find(&name)?; in get_entry_name_and_metadata() 444 (self.find(".")?, String::from(path)) in lookup_follow_symlink() 457 match rest_path.find('/') { in lookup_follow_symlink() 475 let inode = result.find(&name)?; in lookup_follow_symlink()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/ |
D | kthread.rs | 50 ProcessManager::find(pid) in __inner_create()
|
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/ |
D | group.rs | 72 .find(group.name().unwrap()) in do_create_group() 138 .find(name) in remove_group()
|
D | mod.rs | 46 .find("sys") in sysfs_init()
|
/DragonOS-0.1.9/kernel/src/virt/kvm/ |
D | mod.rs | 52 vm_list.iter().find(|&x| x.id == id).cloned() in vm()
|
/DragonOS-0.1.9/kernel/src/filesystem/procfs/ |
D | mod.rs | 137 let pcb = ProcessManager::find(pid); in open_status() 398 let pid_dir: Arc<dyn IndexNode> = proc.find(&pid.to_string())?; in unregister_pid() 662 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method 744 let procfs_inode = ROOT_INODE().find("proc")?; in procfs_register_pid() 761 let procfs_inode: Arc<dyn IndexNode> = ROOT_INODE().find("proc")?; in procfs_unregister_pid() 783 .find("proc") in procfs_init()
|
/DragonOS-0.1.9/user/ |
D | Makefile | 4 DIRS := . $(shell find $(SUBDIR_ROOTS) -type d)
|
/DragonOS-0.1.9/kernel/src/process/ |
D | exit.rs | 113 let child_pcb = ProcessManager::find(kwo.pid).ok_or(SystemError::ECHILD); in do_wait() 156 let pcb = ProcessManager::find(*pid).ok_or(SystemError::ECHILD)?; in do_wait()
|
D | mod.rs | 181 pub fn find(pid: Pid) -> Option<Arc<ProcessControlBlock>> { in find() method 375 let pcb = ProcessManager::find(pid); in release() 624 let ppcb: Weak<ProcessControlBlock> = ProcessManager::find(ppid) in do_create_pcb() 820 match ProcessManager::find(Pid(1)) { in adopt_childen()
|
D | syscall.rs | 162 let target_proc = ProcessManager::find(pid).ok_or(SystemError::ESRCH)?; in getpgid()
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/ |
D | loader.rs | 85 self.symbols.iter().find(|sym| sym.name() == name) in find_by_name()
|
/DragonOS-0.1.9/kernel/src/ipc/ |
D | signal.rs | 47 let pcb = ProcessManager::find(pid); in send_signal_info() 103 else if !self.is_rt_signal() && pending.queue().find(self.clone()).0.is_some() { in send_signal()
|
D | pipe.rs | 405 let entry = self.find(&name)?; in get_entry_name_and_metadata()
|
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/ |
D | mod.rs | 208 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method 248 .find(|(_, v)| v.metadata().unwrap().inode_id == ino) in get_entry_name() 257 let entry = self.find(&name)?; in get_entry_name_and_metadata()
|
/DragonOS-0.1.9/kernel/src/filesystem/fat/ |
D | fs.rs | 132 fn find(&mut self, name: &str) -> Result<Arc<LockedFATInode>, SystemError> { in find() method 1437 return Ok(guard.find(name)?); in create() 1441 return Ok(guard.find(name)?); in create() 1558 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method 1560 let target = guard.find(name)?; in find() 1574 let target: Arc<LockedFATInode> = guard.find(name)?; in unlink() 1609 let target: Arc<LockedFATInode> = guard.find(name)?; in rmdir()
|
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | mod.rs | 170 .find(|x| x.0.lock().name == name) in get_disks_by_name()
|
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/ |
D | mod.rs | 383 let old_inode: Arc<dyn IndexNode> = self.find(old_name)?; in move_() 396 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method
|