Lines Matching refs:ino
451 int64_t ino = find_dir_entry(cur_dir, name_buf, len, &dir_off); in ext2_lookup_inode() local
459 if (ino < 0) { in ext2_lookup_inode()
465 rc = ext2_inode_get(fs, ino, &next); in ext2_lookup_inode()
491 if (ino < 0 && !(args->flags & LOOKUP_ARG_CREATE)) { in ext2_lookup_inode()
497 if (ino > 0) { in ext2_lookup_inode()
498 rc = ext2_inode_get(fs, ino, &next); in ext2_lookup_inode()
520 if (ino > 0) { in ext2_lookup_inode()
567 int64_t ino = -1; in find_dir_entry() local
589 ino = de->de_inode; in find_dir_entry()
604 return (int64_t)ino; in find_dir_entry()
878 int32_t ino = ext2_alloc_inode(fs); in ext2_create_inode() local
880 if (ino < 0) { in ext2_create_inode()
881 return ino; in ext2_create_inode()
887 inode->i_id = ino; in ext2_create_inode()
908 struct ext2_direntry *ext2_create_direntry(const char *name, uint8_t namelen, uint32_t ino, in ext2_create_direntry() argument
922 de->de_inode = ino; in ext2_create_direntry()
1441 int ext2_inode_get(struct ext2_data *fs, uint32_t ino, struct ext2_inode **ret) in ext2_inode_get() argument
1449 if (inode->i_id == ino) { in ext2_inode_get()
1467 if (ino != 0) { in ext2_inode_get()
1468 int rc2 = ext2_fetch_inode(fs, ino, inode); in ext2_inode_get()