Home
last modified time | relevance | path

Searched refs:find (Results 1 – 25 of 42) sorted by relevance

12

/DragonOS/kernel/src/
H A DMakefile2 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/docs/kernel/filesystem/vfs/
H A Ddesign.md29 … │ │ while doing "lookup" or "find" operations. │
58   对于大部分的操作,MountFS都是直接转发给具体的文件系统,而不做任何处理。同时,为了支持跨文件系统的操作,比如在目录树上查找,每次lookup操作或者是find操作,都会…
/DragonOS/kernel/src/filesystem/devfs/
H A Dmod.rs131 if dev_root_inode.find("char").is_err() { in register_device()
139 let any_char_inode = dev_root_inode.find("char")?; in register_device()
158 if dev_root_inode.find("block").is_err() { in register_device()
166 let any_block_inode = dev_root_inode.find("block")?; in register_device()
203 if dev_root_inode.find("char").is_err() { in unregister_device()
207 let any_char_inode = dev_root_inode.find("char")?; in unregister_device()
216 if dev_root_inode.find("block").is_err() { in unregister_device()
220 let any_block_inode = dev_root_inode.find("block")?; in unregister_device()
423 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method
581 let devfs_inode: Result<Arc<dyn IndexNode>, SystemError> = ROOT_INODE().find("dev");
/DragonOS/kernel/src/filesystem/vfs/
H A Dmod.rs316 fn find(&self, _name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method
341 let entry = self.find(&name)?; in get_entry_name_and_metadata()
520 match self.find(name) { in mkdir()
566 return self.find(".."); in parent()
650 (self.find(".")?, String::from(path)) in do_lookup_follow_symlink()
662 match rest_path.find('/') { in do_lookup_follow_symlink()
678 let inode = result.find(&name)?; in do_lookup_follow_symlink()
968 match $initializer_slice.iter().find(|&m| m.name == $filesystem) {
H A Dcore.rs98 .mount_from(ROOT_INODE().find("proc").expect("proc not mounted!")) in migrate_virtual_filesystem()
103 .mount_from(ROOT_INODE().find("dev").expect("dev not mounted!")) in migrate_virtual_filesystem()
108 .mount_from(ROOT_INODE().find("sys").expect("sys not mounted!")) in migrate_virtual_filesystem()
208 let target_inode = parent_inode.find(filename)?; in do_remove_dir()
H A Dmount.rs170 let inner_inode = self.inner_inode.find(name)?; in do_find()
346 let inode_id = self.inner_inode.find(name)?.metadata()?.inode_id; in unlink()
358 let inode_id = self.inner_inode.find(name)?.metadata()?.inode_id; in rmdir()
380 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dmod.rs44 .find(|&i| unsafe { raw_data.add(i).read() } == 0) in from_row()
244 if let Ok(inode) = upper_inode.find(name) { in has_whiteout()
345 if lower_inode.find(name).is_ok() { in rmdir()
362 if lower_inode.find(name).is_ok() { in unlink()
399 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, system_error::SystemError> { in find() method
402 if let Ok(inode) = upper.find(name) { in find()
411 if let Ok(inode) = lower.find(name) { in find()
/DragonOS/kernel/src/driver/block/cache/
H A Dcached_block_device.rs98 match mapper.find(i.lba_id()) { in check_able_to_read()
323 pub fn find(&self, lba_id: BlockId) -> Option<CacheBlockAddr> { in find() method
324 self.lock.read().find(lba_id) in find()
354 pub fn find(&self, lba_id: BlockId) -> Option<CacheBlockAddr> { in find() method
/DragonOS/kernel/src/namespaces/
H A Dnamespace.rs33 let inode = ROOT_INODE().find("proc").unwrap_or_else(|_| ROOT_INODE()); in new()
90 let pcb = ProcessManager::find(current).unwrap(); in unshare_nsproxy_namespaces()
H A Dpid_namespace.rs173 let pcb = ProcessManager::find(current).unwrap(); in get_parent()
187 let pcb = ProcessManager::find(pid); in get()
193 let pcb = ProcessManager::find(current).unwrap(); in install()
H A Dmnt_namespace.rs110 let pcb = ProcessManager::find(pid); in get()
/DragonOS/kernel/src/arch/x86_64/process/
H A Dkthread.rs49 ProcessManager::find(pid) in __inner_create()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dgroup.rs72 .find(group.name().unwrap()) in do_create_group()
138 .find(name) in remove_group()
/DragonOS/kernel/src/virt/kvm/
H A Dmod.rs53 vm_list.iter().find(|&x| x.id == id).cloned() in vm()
/DragonOS/user/
H A DMakefile4 DIRS := . $(shell find $(SUBDIR_ROOTS) -type d)
/DragonOS/kernel/src/process/
H A Dexit.rs115 let child_pcb = ProcessManager::find(kwo.pid).ok_or(SystemError::ECHILD); in do_wait()
157 let pcb = ProcessManager::find(*pid).ok_or(SystemError::ECHILD)?; in do_wait()
H A Dmod.rs205 pub fn find(pid: Pid) -> Option<Arc<ProcessControlBlock>> { in find() method
444 let pcb = ProcessManager::find(pid); in release()
727 let ppcb: Weak<ProcessControlBlock> = ProcessManager::find(ppid) in do_create_pcb()
950 match ProcessManager::find(Pid(1)) { in adopt_childen()
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dloader.rs85 self.symbols.iter().find(|sym| sym.name() == name) in find_by_name()
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs148 let pcb = ProcessManager::find(pid); in open_status()
437 let pid_dir: Arc<dyn IndexNode> = proc.find(&pid.to_string())?; in unregister_pid()
715 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method
807 let procfs_inode = ROOT_INODE().find("proc")?; in procfs_register_pid()
824 let procfs_inode: Arc<dyn IndexNode> = ROOT_INODE().find("proc")?; in procfs_unregister_pid()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dkthread.rs48 ProcessManager::find(pid) in __inner_create()
/DragonOS/kernel/src/ipc/
H A Dsignal.rs76 let pcb = ProcessManager::find(pid); in send_signal_info()
132 else if !self.is_rt_signal() && pending.queue().find(*self).0.is_some() { in send_signal()
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs149 fn find(&mut self, name: &str) -> Result<Arc<LockedFATInode>, SystemError> { in find() method
1458 return Ok(guard.find(name)?); in create()
1462 return Ok(guard.find(name)?); in create()
1593 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method
1595 let target = guard.find(name)?; in find()
1613 let target: Arc<LockedFATInode> = guard.find(name)?; in unlink()
1648 let target: Arc<LockedFATInode> = guard.find(name)?; in rmdir()
1694 let old_inode: Arc<LockedFATInode> = guard.find(old_name)?; in move_to()
1721 let old_inode: Arc<LockedFATInode> = old_guard.find(old_name)?; in move_to()
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs225 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find() method
265 .find(|(_, v)| v.metadata().unwrap().inode_id == ino) in get_entry_name()
274 let entry = self.find(&name)?; in get_entry_name_and_metadata()
/DragonOS/kernel/crates/ida/src/
H A Dlib.rs122 (start_id..end).find(|&i| !self.exists(i)) in do_find_first_free_index()
/DragonOS/
H A DREADME_EN.md58 - Additionally, you can find the contact information of the respective community group leaders via …
114 If you find any violation of the open source license, we welcome you to send email feedback! Let's …

12