Searched refs:parent_inode (Results 1 – 2 of 2) sorted by relevance
204 let parent_inode: Arc<dyn IndexNode> = in do_open() localVariable207 let inode: Arc<dyn IndexNode> = parent_inode.create(filename, FileType::File, 0o777)?; in do_open()308 let parent_inode: Arc<dyn IndexNode> = in do_mkdir() localVariable312 parent_inode.create(filename, FileType::Dir, 0o777)?; in do_mkdir()341 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_remove_dir() localVariable343 if parent_inode.metadata()?.file_type != FileType::Dir { in do_remove_dir()347 let target_inode: Arc<dyn IndexNode> = parent_inode.find(filename)?; in do_remove_dir()353 parent_inode.rmdir(filename)?; in do_remove_dir()381 let parent_inode: Arc<dyn IndexNode> = ROOT_INODE().lookup(parent_path.unwrap_or("/"))?; in do_unlink_at() localVariable383 if parent_inode.metadata()?.file_type != FileType::Dir { in do_unlink_at()[all …]
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…