Home
last modified time | relevance | path

Searched refs:parent_inode (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/filesystem/sysfs/
H A Dgroup.rs67 let parent_inode: Arc<KernFSInode>; in do_create_group() localVariable
71 parent_inode = kobj_inode in do_create_group()
80 parent_inode = kobj_inode in do_create_group()
95 parent_inode = kobj_inode.clone(); in do_create_group()
98 if let Err(e) = self.group_create_files(parent_inode.clone(), kobj, group, update) { in do_create_group()
100 parent_inode.remove_recursive(); in do_create_group()
135 let parent_inode: Arc<KernFSInode>; in remove_group() localVariable
137 parent_inode = inode in remove_group()
145 parent_inode = inode; in remove_group()
148 self.group_remove_files(&parent_inode, group); in remove_group()
[all …]
/DragonOS/kernel/src/filesystem/vfs/
H A Dcore.rs200 let parent_inode: Arc<dyn IndexNode> = inode_begin in do_remove_dir() localVariable
203 if parent_inode.metadata()?.file_type != FileType::Dir { in do_remove_dir()
208 let target_inode = parent_inode.find(filename)?; in do_remove_dir()
214 parent_inode.rmdir(filename)?; in do_remove_dir()
242 let parent_inode: Arc<dyn IndexNode> = inode_begin in do_unlink_at() localVariable
245 if parent_inode.metadata()?.file_type != FileType::Dir { in do_unlink_at()
250 parent_inode.unlink(filename)?; in do_unlink_at()
H A Dopen.rs192 let parent_inode: Arc<dyn IndexNode> = in do_sys_openat2() localVariable
195 let inode: Arc<dyn IndexNode> = parent_inode.create( in do_sys_openat2()
H A Dsyscall.rs1526 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE() in mknod() localVariable
1529 parent_inode.mknod(filename, mode, dev_t)?; in mknod()