/u-boot/fs/btrfs/ |
A D | inode.c | 29 key.objectid = ino; in btrfs_readlink() 127 if (ino == BTRFS_FIRST_FREE_OBJECTID) { in get_parent_inode() 153 key.objectid = ino; in get_parent_inode() 261 ino = btrfs_root_dirid(&root->root_item); in btrfs_lookup_path() 284 ino = next_ino; in btrfs_lookup_path() 328 ino = next_ino; in btrfs_lookup_path() 332 ino = key.objectid; in btrfs_lookup_path() 344 *ino_ret = ino; in btrfs_lookup_path() 529 key.objectid = ino; in lookup_data_extent() 548 if (key.objectid != ino || in lookup_data_extent() [all …]
|
A D | btrfs.c | 138 u64 ino = BTRFS_FIRST_FREE_OBJECTID; in btrfs_ls() local 144 path, &root, &ino, &type, 40); in btrfs_ls() 154 ret = btrfs_iter_dir(root, ino, show_dir); in btrfs_ls() 166 u64 ino; in btrfs_exists() local 173 file, &root, &ino, &type, 40); in btrfs_exists() 189 u64 ino; in btrfs_size() local 194 file, &root, &ino, &type, 40); in btrfs_size() 204 key.objectid = ino; in btrfs_size() 210 printf("Cannot lookup ino %llu\n", ino); in btrfs_size() 232 u64 ino; in btrfs_read() local [all …]
|
A D | btrfs.h | 21 int btrfs_readlink(struct btrfs_root *root, u64 ino, char *target); 22 int btrfs_file_read(struct btrfs_root *root, u64 ino, u64 file_offset, u64 len,
|
A D | subvolume.c | 18 static int get_path_in_subvol(struct btrfs_root *root, u64 ino, char *path_ret) in get_path_in_subvol() argument 23 u64 cur = ino; in get_path_in_subvol() 98 u64 ino; in list_one_subvol() local 126 ino = btrfs_root_ref_dirid(path.nodes[0], rr); in list_one_subvol() 143 ret = get_path_in_subvol(root, ino, path_ret); in list_one_subvol()
|
A D | dir-item.c | 117 int btrfs_iter_dir(struct btrfs_root *root, u64 ino, in btrfs_iter_dir() argument 125 key.objectid = ino; in btrfs_iter_dir() 150 if (key.objectid != ino || key.type != BTRFS_DIR_INDEX_KEY) in btrfs_iter_dir()
|
A D | ctree.h | 1228 int btrfs_iter_dir(struct btrfs_root *root, u64 ino, 1231 int btrfs_lookup_path(struct btrfs_root *root, u64 ino, const char *filename,
|
/u-boot/fs/ubifs/ |
A D | sb.c | 78 struct ubifs_ino_node *ino; in create_default_filesystem() local 291 ino = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem() 292 if (!ino) in create_default_filesystem() 298 ino->nlink = cpu_to_le32(2); in create_default_filesystem() 300 ino->atime_sec = tmp_le64; in create_default_filesystem() 301 ino->ctime_sec = tmp_le64; in create_default_filesystem() 302 ino->mtime_sec = tmp_le64; in create_default_filesystem() 303 ino->atime_nsec = 0; in create_default_filesystem() 304 ino->ctime_nsec = 0; in create_default_filesystem() 305 ino->mtime_nsec = 0; in create_default_filesystem() [all …]
|
A D | super.c | 69 inode->i_ino = ino; in iget_locked() 96 struct inode *ino; in iput() local 120 inodes_locked_down[i] = ino; in iput() 246 struct ubifs_ino_node *ino; in ubifs_iget() local 287 if (!ino) { in ubifs_iget() 294 err = ubifs_tnc_lookup(c, &key, ino); in ubifs_iget() 308 inode->i_mode = le32_to_cpu(ino->mode); in ubifs_iget() 309 inode->i_size = le64_to_cpu(ino->size); in ubifs_iget() 423 kfree(ino); in ubifs_iget() 432 ubifs_dump_node(c, ino); in ubifs_iget() [all …]
|
A D | debug.c | 422 key_read(c, &ino->key, &key); in ubifs_dump_node() 1960 struct ubifs_ino_node *ino; in read_add_inode() local 1986 if (!ino) in read_add_inode() 1993 kfree(ino); in read_add_inode() 1997 fscki = add_inode(c, fsckd, ino); in read_add_inode() 1998 kfree(ino); in read_add_inode() 2195 struct ubifs_ino_node *ino; in check_inodes() local 2281 if (!ino) in check_inodes() 2288 kfree(ino); in check_inodes() 2294 ubifs_dump_node(c, ino); in check_inodes() [all …]
|
A D | replay.c | 189 ino_t ino; in trun_remove_range() local 199 ino = key_inum(c, &r->key); in trun_remove_range() 201 data_key_init(c, &min_key, ino, min_blk); in trun_remove_range() 202 data_key_init(c, &max_key, ino, max_blk); in trun_remove_range() 597 struct ubifs_ino_node *ino = snod->node; in replay_bud() local 598 loff_t new_size = le64_to_cpu(ino->size); in replay_bud() 600 if (le32_to_cpu(ino->nlink) == 0) in replay_bud()
|
A D | recovery.c | 1424 struct ubifs_ino_node *ino = c->sbuf; in fix_size_in_place() local 1433 err = ubifs_tnc_locate(c, &key, ino, &lnum, &offs); in fix_size_in_place() 1440 i_size = le64_to_cpu(ino->size); in fix_size_in_place() 1448 ino = c->sbuf + offs; in fix_size_in_place() 1449 ino->size = cpu_to_le64(e->d_size); in fix_size_in_place() 1450 len = le32_to_cpu(ino->ch.len); in fix_size_in_place() 1451 crc = crc32(UBIFS_CRC32_INIT, (void *)ino + 8, len - 8); in fix_size_in_place() 1452 ino->ch.crc = cpu_to_le32(crc); in fix_size_in_place() 1507 struct ubifs_ino_node *ino = c->sbuf; in ubifs_recover_size() local 1510 e->i_size = le64_to_cpu(ino->size); in ubifs_recover_size()
|
A D | scan.c | 192 struct ubifs_ino_node *ino = buf; in ubifs_add_snod() local 214 key_read(c, &ino->key, &snod->key); in ubifs_add_snod()
|
A D | ubifs.c | 253 u64 ino, unsigned int d_type) in filldir() argument 273 inode = ubifs_iget(c->vfs_sb, ino); in filldir() 276 __func__, ino, inode); in filldir()
|
/u-boot/fs/jffs2/ |
A D | summary.h | 52 __u32 ino; /* == zero for unlink */ member 108 __u32 ino; /* == zero for unlink */ member
|
A D | jffs2_1pass.c | 685 if (inode == b->ino) { in jffs2_1pass_read_inode() 709 if (inode == b->ino) { in jffs2_1pass_read_inode() 836 inode = jDir->ino; in jffs2_1pass_find_inode() 918 st.st_ino = i->ino; in dump_inode() 974 if (jDir->ino == 0) { in jffs2_1pass_list_inodes() 981 if (b2->ino == jDir->ino && in jffs2_1pass_list_inodes() 1081 if (ino == jDir->ino) { in jffs2_1pass_resolve_inode() 1096 jDirFoundIno = jDir->ino; in jffs2_1pass_resolve_inode() 1111 if (jNode->ino == jDirFoundIno) { in jffs2_1pass_resolve_inode() 1277 b->ino = sum_get_unaligned32( in jffs2_sum_process_sum_data() [all …]
|
A D | jffs2_private.h | 13 u32 ino; /* for inodes */ member
|
/u-boot/include/jffs2/ |
A D | jffs2.h | 130 __u32 ino; /* == zero for unlink */ member 152 __u32 ino; /* Inode number. */ member
|
/u-boot/fs/ext4/ |
A D | ext4_common.h | 51 int ext4fs_read_inode(struct ext2_data *data, int ino,
|
A D | ext4_common.c | 1595 int ext4fs_read_inode(struct ext2_data *data, int ino, struct ext2_inode *inode) in ext4fs_read_inode() argument 1611 ino--; in ext4fs_read_inode() 1616 status = ext4fs_blockgroup(data, ino / le32_to_cpu in ext4fs_read_inode() 1629 (ino % le32_to_cpu(sblock->inodes_per_group)) / inodes_per_block; in ext4fs_read_inode() 1630 blkoff = (ino % inodes_per_block) * fs->inodesz; in ext4fs_read_inode() 2058 status = ext4fs_read_inode(diro->data, diro->ino, &diro->inode); in ext4fs_iterate_dir() 2095 fdiro->ino = le32_to_cpu(dirent.inode); in ext4fs_iterate_dir() 2188 status = ext4fs_read_inode(diro->data, diro->ino, &diro->inode); in ext4fs_read_symlink() 2351 status = ext4fs_read_inode(fdiro->data, fdiro->ino, in ext4fs_open() 2406 data->diropen.ino = 2; in ext4fs_mount()
|
/u-boot/include/ |
A D | ext_common.h | 204 int ino; member
|