Lines Matching refs:parent
33 errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum,
50 retval = ext2fs_new_inode(fs, parent, LINUX_S_IFDIR | 0755,
66 retval = ext2fs_new_dir_block(fs, ino, parent, &block);
71 * Get the parent's inode, if necessary
73 if (parent != ino) {
74 retval = ext2fs_read_inode(fs, parent, &parent_inode);
118 retval = ext2fs_lookup(fs, parent, name, strlen(name), 0,
127 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_DIR);
133 * Update parent inode's counts
135 if (parent != ino) {
137 retval = ext2fs_write_inode(fs, parent, &parent_inode);