Home
last modified time | relevance | path

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

/minix3/sys/fs/v7fs/
H A Dv7fs_file.c69 v7fs_file_lookup_by_name(struct v7fs_self *fs, struct v7fs_inode *parent_dir, in v7fs_file_lookup_by_name() argument
85 DPRINTF("%s(%s) dir=%d\n", filename, name, parent_dir->inode_number); in v7fs_file_lookup_by_name()
89 if ((error = v7fs_datablock_foreach(fs, parent_dir, lookup_subr, in v7fs_file_lookup_by_name()
137 v7fs_file_allocate(struct v7fs_self *fs, struct v7fs_inode *parent_dir, in v7fs_file_allocate() argument
150 if (v7fs_file_lookup_by_name(fs, parent_dir, filename, ino) == 0) { in v7fs_file_allocate()
210 dir[1].inode_number = V7FS_VAL16(fs, parent_dir->inode_number); in v7fs_file_allocate()
222 if ((error = v7fs_directory_add_entry(fs, parent_dir, *ino, filename))) in v7fs_file_allocate()
232 v7fs_file_deallocate(struct v7fs_self *fs, struct v7fs_inode *parent_dir, in v7fs_file_deallocate() argument
240 if ((error = v7fs_file_lookup_by_name(fs, parent_dir, name, &ino))) { in v7fs_file_deallocate()
273 if ((error = v7fs_directory_remove_entry(fs, parent_dir, name))) in v7fs_file_deallocate()
[all …]
H A Dv7fs_file_util.c69 v7fs_file_link(struct v7fs_self *fs, struct v7fs_inode *parent_dir, in v7fs_file_link() argument
74 DPRINTF("%d %d %s\n", parent_dir->inode_number, p->inode_number, name); in v7fs_file_link()
75 if ((error = v7fs_directory_add_entry(fs, parent_dir, p->inode_number, in v7fs_file_link()
232 v7fs_file_lookup_by_number(struct v7fs_self *fs, struct v7fs_inode *parent_dir, in v7fs_file_lookup_by_number() argument
237 ret = v7fs_datablock_foreach(fs, parent_dir, lookup_by_number_subr, in v7fs_file_lookup_by_number()
/minix3/minix/servers/vfs/
H A Dpath.c653 struct vnode *dir_vp, *parent_dir; in canonical_path() local
659 parent_dir = dir_vp = NULL; in canonical_path()
730 &parent_dir); in canonical_path()
734 if ((parent_dir = advance(dir_vp, &resolve, rfp)) == NULL) { in canonical_path()
742 if ((r = get_name(parent_dir, dir_vp, component)) != OK) { in canonical_path()
743 unlock_vnode(parent_dir); in canonical_path()
747 put_vnode(parent_dir); in canonical_path()
755 unlock_vnode(parent_dir); in canonical_path()
759 put_vnode(parent_dir); in canonical_path()
779 dir_vp = parent_dir; in canonical_path()
/minix3/minix/tests/
H A Dtestisofs.sh48 ln -s .. $testdir/rockridge/symlinks/parent_dir