Lines Matching refs:found_inode
60 struct ext2_inode *found_inode = args.inode; in ext2_open() local
66 if (flags & FS_O_CREATE && found_inode == NULL) { in ext2_open()
68 path + args.name_pos, args.name_len, found_inode == NULL); in ext2_open()
85 found_inode = new_inode; in ext2_open()
88 if ((found_inode->i_mode & EXT2_S_IFMT) != EXT2_S_IFREG) { in ext2_open()
99 file->f_inode = found_inode; in ext2_open()
109 ext2_inode_drop(found_inode); in ext2_open()
260 struct ext2_inode *found_inode = args.inode; in ext2_mkdir() local
264 path + args.name_pos, args.name_len, found_inode == NULL); in ext2_mkdir()
266 if (found_inode != NULL) { in ext2_mkdir()
271 rc = ext2_inode_get(fs, 0, &found_inode); in ext2_mkdir()
277 rc = ext2_create_dir(parent, found_inode, &args); in ext2_mkdir()
284 ext2_inode_drop(found_inode); in ext2_mkdir()
305 struct ext2_inode *found_inode = args.inode; in ext2_opendir() local
307 if (!(found_inode->i_mode & EXT2_S_IFDIR)) { in ext2_opendir()
324 dir->f_inode = found_inode; in ext2_opendir()
331 ext2_inode_drop(found_inode); in ext2_opendir()