/external/e2fsprogs/debugfs/ |
util.c | 111 ext2_ino_t ino; local 117 * If the string is of the form <ino>, then treat it as an 121 ino = strtoul(str+1, &end, 0); 123 return ino; 126 retval = ext2fs_namei(current_fs, root, cwd, str, &ino); 131 return ino; 418 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, 423 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize); 425 com_err(cmd, retval, "while reading inode %u", ino); 431 int debugfs_read_inode(ext2_ino_t ino, struct ext2_inode * inode [all...] |
ls.c | 93 ext2_ino_t ino; variable 105 ino = dirent->inode; 115 ino = 0; 120 if (ino) { 121 if (debugfs_read_inode(ino, &inode, "ls")) 125 fprintf(ls->f,"/%u/%06o/%d/%d/%*s/", ino, inode.i_mode, 133 if (ino) { 134 if (debugfs_read_inode(ino, &inode, "ls")) 146 fprintf(ls->f, "%c%6u%c %6o ", lbr, ino, rbr, inode.i_mode); 196 ext2_ino_t ino; local [all...] |
lsdel.c | 25 ext2_ino_t ino; member in struct:deleted_info 80 ext2_ino_t ino; local 126 retval = ext2fs_get_next_inode(scan, &ino, &inode); 134 while (ino) { 139 lsd.inode = ino; 145 retval = ext2fs_block_iterate3(current_fs, ino, 169 delarray[num_delarray].ino = ino; 181 retval = ext2fs_get_next_inode(scan, &ino, &inode); 199 delarray[i].ino, [all...] |
dump.c | 100 static void dump_file(const char *cmdname, ext2_ino_t ino, int fd, 110 if (debugfs_read_inode(ino, &inode, cmdname)) 113 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file); 198 static void rdump_symlink(ext2_ino_t ino, struct ext2_inode *inode, 218 retval = ext2fs_file_open(current_fs, ino, 0, &e2_file); 252 static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode, 267 rdump_symlink(ino, inode, fullname); 275 dump_file("rdump", ino, fd, 1, fullname); 292 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0, 354 ext2_ino_t ino = string_to_inode(arg) local [all...] |
ncheck.c | 97 ext2_ino_t ino; local 150 retval = ext2fs_get_next_inode(scan, &ino, &inode); 158 while (ino) { 173 iw.dir = ino; 176 retval = ext2fs_dir_iterate(current_fs, ino, 0, 0, 190 retval = ext2fs_get_next_inode(scan, &ino, &inode);
|
/external/e2fsprogs/misc/ |
fuse2fs.c | 302 ext2_ino_t ino; member in struct:fuse2fs_file_handle 331 static int __translate_error(ext2_filsys fs, errcode_t err, ext2_ino_t ino, 333 #define translate_error(fs, ino, err) __translate_error((fs), (err), (ino), \ 463 static int update_ctime(ext2_filsys fs, ext2_ino_t ino, 481 err = ext2fs_read_inode_full(fs, ino, (struct ext2_inode *)&inode, 484 return translate_error(fs, ino, err); 489 err = ext2fs_write_inode_full(fs, ino, (struct ext2_inode *)&inode, 492 return translate_error(fs, ino, err); 497 static int update_atime(ext2_filsys fs, ext2_ino_t ino) 811 ext2_ino_t ino; local 836 ext2_ino_t ino; local 1277 ext2_ino_t ino; local 1775 ext2_ino_t parent, ino; local 1876 ext2_ino_t ino; local 1935 ext2_ino_t ino; local 2002 ext2_ino_t ino; local 2418 ext2_ino_t ino; local 2519 ext2_ino_t ino; local 2599 ext2_ino_t ino; local 2679 ext2_ino_t ino; local 2810 ext2_ino_t ino; local 3036 ext2_ino_t ino; local 3312 ext2_ino_t ino; local [all...] |
create_inode.c | 70 ext2_ino_t ino, const char *name) 75 retval = ext2fs_read_inode(fs, ino, &inode); 77 com_err(__func__, retval, _("while reading inode %u"), ino); 81 retval = ext2fs_link(fs, parent_ino, name, ino, 90 retval = ext2fs_link(fs, parent_ino, name, ino, 100 retval = ext2fs_write_inode(fs, ino, &inode); 102 com_err(__func__, retval, _("while writing inode %u"), ino); 108 static errcode_t set_inode_extra(ext2_filsys fs, ext2_ino_t ino, 114 retval = ext2fs_read_inode(fs, ino, &inode); 116 com_err(__func__, retval, _("while reading inode %u"), ino); 238 ext2_ino_t ino; local 724 ext2_ino_t ino; local [all...] |
/external/e2fsprogs/tests/progs/ |
test_icount.c | 52 const char *str, ext2_ino_t *ino) 56 *ino = strtoul(str, &tmp, 0); 107 ext2_ino_t ino; local 116 if (parse_inode(argv[0], "inode", argv[1], &ino)) 118 retval = ext2fs_icount_fetch(test_icount, ino, &count); 130 ext2_ino_t ino; local 139 if (parse_inode(argv[0], "inode", argv[1], &ino)) 141 retval = ext2fs_icount_increment(test_icount, ino, &count); 154 ext2_ino_t ino; local 163 if (parse_inode(argv[0], "inode", argv[1], &ino)) 178 ext2_ino_t ino; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
bmap.c | 29 extern errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, 133 static errcode_t extent_bmap(ext2_filsys fs, ext2_ino_t ino, 140 static errcode_t implied_cluster_alloc(ext2_filsys fs, ext2_ino_t ino, 164 extent_bmap(fs, ino, inode, handle, 0, 0, 176 errcode_t ext2fs_map_cluster_block(ext2_filsys fs, ext2_ino_t ino, 189 retval = ext2fs_extent_open2(fs, ino, inode, &handle); 193 retval = implied_cluster_alloc(fs, ino, inode, handle, lblk, pblk); 203 static errcode_t extent_bmap(ext2_filsys fs, ext2_ino_t ino, 243 implied_cluster_alloc(fs, ino, inode, handle, block, &blk64); 246 retval = extent_bmap(fs, ino, inode, handle, block_buf [all...] |
irel.h | 65 errcode_t (*add_ref)(ext2_irel irel, ext2_ino_t ino, 72 errcode_t (*start_iter_ref)(ext2_irel irel, ext2_ino_t ino); 109 #define ext2fs_irel_add_ref(irel, ino, ref) ((irel)->add_ref((irel), ino, ref)) 110 #define ext2fs_irel_start_iter_ref(irel, ino) ((irel)->start_iter_ref((irel), ino))
|
inline_data.c | 25 ext2_ino_t ino; member in struct:ext2_inline_data 35 retval = ext2fs_xattrs_open(data->fs, data->ino, &handle); 63 retval = ext2fs_xattrs_open(data->fs, data->ino, &handle); 85 errcode_t ext2fs_inline_data_init(ext2_filsys fs, ext2_ino_t ino) 91 data.ino = ino; 97 errcode_t ext2fs_inline_data_size(ext2_filsys fs, ext2_ino_t ino, size_t *size) 103 retval = ext2fs_read_inode(fs, ino, &inode); 111 data.ino = ino; [all...] |
inode.c | 73 fs->icache->cache[i].ino = 0; 144 errcode_t (*save_get_blocks)(ext2_filsys f, ext2_ino_t ino, blk_t *blocks); 410 ext2_ino_t ino, inodes_to_scan; local 427 ino = scan->current_inode + 1; 443 bad_csum = ext2fs_inode_csum_verify(scan->fs, ino, 469 ((ino - 1) % inodes_per_block); 474 ino += ino_adj; 479 if ((ino % inodes_per_block) == 0) { 486 ino++; 576 errcode_t ext2fs_get_next_inode_full(ext2_inode_scan scan, ext2_ino_t *ino, [all...] |
irel_ma.c | 36 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino, 38 static errcode_t ima_start_iter_ref(ext2_irel irel, ext2_ino_t ino); 198 ext2_ino_t ino; 203 ino = ma->orig_map[(unsigned) orig]; 204 if (ino == 0) 206 *old = ino; 207 *ent = ma->entries[(unsigned) ino]; 234 static errcode_t ima_add_ref(ext2_irel irel, ext2_ino_t ino, 244 if (ino > ma->max_inode) 247 ref_ent = ma->ref_entries + (unsigned) ino; [all...] |
/external/e2fsprogs/e2fsck/ |
pass1.c | 72 static void mark_inode_bad(e2fsck_t ctx, ino_t ino); 73 static void add_encrypted_dir(e2fsck_t ctx, ino_t ino); 84 ext2_ino_t ino; member in struct:process_block_struct 104 ext2_ino_t ino; member in struct:process_inode_block 175 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino, 194 if (ext2fs_extent_open2(fs, ino, inode, &handle)) 216 if (ext2fs_inline_data_size(fs, ino, &inline_size)) 252 if (ext2fs_inline_data_size(fs, ino, &inline_sz)) 259 if (ext2fs_inline_data_get(fs, ino, inode, inline_buf, NULL)) 297 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1") 797 ext2_ino_t ino; local 1051 ext2_ino_t ino = 0; local 2219 ext2_ino_t ino = pctx->ino; local 2912 ext2_ino_t ino = pctx->ino; local 3052 ext2_ino_t ino = pctx->ino; local [all...] |
pass2.c | 63 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf); 73 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino); 170 if (e2fsck_dir_will_be_rehashed(ctx, dx_dir->ino) || 175 pctx.dir = dx_dir->ino; 250 clear_htree(ctx, dx_dir->ino); 341 if (db_a->ino != db_b->ino) 342 return (int) (db_a->ino - db_b->ino); 354 ext2_ino_t ino, struct problem_context *pctx 889 ext2_ino_t ino = db->ino; local [all...] |
quota.c | 74 pctx.ino = *quota_sb_inump(sb, qtype); 76 if (pctx.ino && (pctx.ino != quota_ino) && 78 move_quota_inode(fs, pctx.ino, quota_ino, qtype);
|
rehash.c | 56 void e2fsck_rehash_dir_later(e2fsck_t ctx, ext2_ino_t ino) 61 ext2fs_u32_list_add(ctx->dirs_to_hash, ino); 65 int e2fsck_dir_will_be_rehashed(e2fsck_t ctx, ext2_ino_t ino) 71 return ext2fs_u32_list_test(ctx->dirs_to_hash, ino); 79 ext2_ino_t ino; member in struct:fill_dir_struct 93 ino_t ino; member in struct:hash_entry 183 ent->ino = dirent->inode; 205 return (he_a->ino - he_b->ino); 364 ext2_ino_t ino, 688 ext2_ino_t ino; member in struct:write_dir_struct 916 ext2_ino_t ino; local [all...] |
e2fsck.h | 96 ext2_ino_t ino; /* Inode number */ member in struct:dir_info 107 ext2_ino_t ino; /* Inode number */ member in struct:dx_dir_info 405 ext2_ino_t ino; member in struct:extent_tree_info 442 extern void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent); 449 extern int e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino, 451 extern int e2fsck_dir_info_set_dotdot(e2fsck_t ctx, ext2_ino_t ino, 453 extern int e2fsck_dir_info_get_parent(e2fsck_t ctx, ext2_ino_t ino, 455 extern int e2fsck_dir_info_get_dotdot(e2fsck_t ctx, ext2_ino_t ino, 459 extern void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks); 460 extern struct dx_dir_info *e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino); [all...] |
/external/syslinux/ |
now.pl | 10 ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,
|
/bionic/libc/kernel/uapi/linux/ |
bfs_fs.h | 49 __le16 ino; member in struct:bfs_dirent 65 #define BFS_INO2OFF(ino) ((__u32) (((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)
|
/external/kernel-headers/original/uapi/linux/ |
bfs_fs.h | 46 __le16 ino; member in struct:bfs_dirent 68 #define BFS_INO2OFF(ino) \ 69 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
bfs_fs.h | 45 __le16 ino; member in struct:bfs_dirent 67 #define BFS_INO2OFF(ino) \ 68 ((__u32)(((ino) - BFS_ROOT_INO) * sizeof(struct bfs_inode)) + BFS_BSIZE)
|
/external/squashfs-tools/kernel/fs/squashfs/ |
inode.c | 79 struct inode *squashfs_iget(struct super_block *sb, long long ino, 92 err = squashfs_read_inode(inode, ino); 107 int squashfs_read_inode(struct inode *inode, long long ino) 111 u64 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table; 112 int err, type, offset = SQUASHFS_INODE_OFFSET(ino); 130 block = SQUASHFS_INODE_BLK(ino) + msblk->inode_table; 131 offset = SQUASHFS_INODE_OFFSET(ino); 173 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino), 217 "%llx, offset %x\n", SQUASHFS_INODE_BLK(ino), 240 SQUASHFS_INODE_BLK(ino), offset [all...] |
/external/f2fs-tools/fsck/ |
dir.c | 118 nid_t ino = le32_to_cpu(dir->footer.ino); local 141 set_new_dnode(&dn, dir, NULL, ino); 153 de->ino = le32_to_cpu(dentry->ino); 179 static void f2fs_update_dentry(nid_t ino, int file_type, 193 de->ino = cpu_to_le32(ino); 203 const unsigned char *name, int name_len, nid_t ino, 213 nid_t pino = le32_to_cpu(parent->footer.ino); 318 nid_t ino = le32_to_cpu(inode->footer.ino); local 358 nid_t ino = le32_to_cpu(inode->footer.ino); local 466 nid_t ino = le32_to_cpu(node->footer.ino); local [all...] |
/external/e2fsprogs/contrib/android/ |
fsmap.c | 26 static errcode_t ino_iter_blocks(ext2_filsys fs, ext2_ino_t ino, 33 retval = ext2fs_read_inode(fs, ino, &inode); 41 retval = ext2fs_block_iterate3(fs, ino, 0, NULL, walk_block, pdata); 43 com_err(__func__, retval, _("listing blocks of ino \"%u\""), 44 ino); 48 static int is_dir(ext2_filsys fs, ext2_ino_t ino) 52 if (ext2fs_read_inode(fs, ino, &inode)) 81 com_err(__func__, retval, _("reading ino \"%u\""), de->inode);
|