Searched refs:parent_inode (Results 1 – 3 of 3) sorted by relevance
217 let parent_inode: Arc<dyn IndexNode> = in do_mkdir() localVariable221 parent_inode.create(filename, FileType::Dir, 0o777)?; in do_mkdir()250 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_remove_dir() localVariable252 if parent_inode.metadata()?.file_type != FileType::Dir { in do_remove_dir()256 let target_inode: Arc<dyn IndexNode> = parent_inode.find(filename)?; in do_remove_dir()262 parent_inode.rmdir(filename)?; in do_remove_dir()290 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_unlink_at() localVariable292 if parent_inode.metadata()?.file_type != FileType::Dir { in do_unlink_at()297 parent_inode.unlink(filename)?; in do_unlink_at()
139 …long (*create)(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *dest_dEntry, int mod…146 …struct vfs_dir_entry_t *(*lookup)(struct vfs_index_node_t *parent_inode, struct vfs_dir_entry_t *d…
147 let parent_inode: Arc<dyn IndexNode> = in open() localVariable151 parent_inode.create(filename, FileType::File, 0o777)?; in open()