/external/e2fsprogs/e2fsck/ |
H A D | dx_dirinfo.c | 16 void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks) argument 24 printf("add_dx_dir_info for inode %lu...\n", ino); 57 ctx->dx_dir_info[ctx->dx_dir_info_count-1].ino >= ino) { 59 if (ctx->dx_dir_info[i-1].ino < ino) 62 if (dir->ino != ino) 68 dir->ino = ino; 81 e2fsck_get_dx_dir_info(e2fsck_t ctx, ext2_ino_t ino) argument [all...] |
H A D | dirinfo.c | 117 void e2fsck_add_dir_info(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) argument 126 printf("add_dir_info for inode (%lu, %lu)...\n", ino, parent); 144 ent.ino = ino; 163 ctx->dir_info->array[ctx->dir_info->count-1].ino >= ino) { 165 if (ctx->dir_info->array[i-1].ino < ino) 168 if (dir->ino != ino) 183 e2fsck_get_dir_info(e2fsck_t ctx, ext2_ino_t ino) argument 392 e2fsck_dir_info_set_parent(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) argument 409 e2fsck_dir_info_set_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t dotdot) argument 426 e2fsck_dir_info_get_parent(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t *parent) argument 442 e2fsck_dir_info_get_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t *dotdot) argument [all...] |
H A D | emptydir.c | 26 ext2_ino_t ino; member in struct:empty_dir_info_struct 94 if (db->ino == 11) 98 db->blk, db->blockcnt, db->ino); 101 if (ext2fs_test_inode_bitmap(edi->dir_map, db->ino)) 103 ext2fs_mark_inode_bitmap(edi->dir_map, db->ino); 105 ext2fs_add_dir_block2(edi->empty_dblist, db->ino, 130 retval = ext2fs_bmap2(fs, edi->ino, &edi->inode, 158 edi->ino = db->ino; 160 retval = ext2fs_read_inode(fs, db->ino, [all...] |
H A D | pass3.c | 45 static int check_directory(e2fsck_t ctx, ext2_ino_t ino, 47 static void fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent); 106 if (ext2fs_test_inode_bitmap2(ctx->inode_dir_map, dir->ino)) 107 if (check_directory(ctx, dir->ino, &pctx)) 265 ext2_ino_t ino = dir, parent; local 279 if (ext2fs_mark_inode_bitmap2(inode_done_map, ino)) 282 if (e2fsck_dir_info_get_parent(ctx, ino, &parent)) { 296 pctx->ino = ino; 298 if (e2fsck_reconnect_file(ctx, pctx->ino)) 359 ext2_ino_t ino; local 504 e2fsck_reconnect_file(e2fsck_t ctx, ext2_ino_t ino) argument 555 e2fsck_adjust_inode_count(e2fsck_t ctx, ext2_ino_t ino, int adj) argument 643 fix_dotdot(e2fsck_t ctx, ext2_ino_t ino, ext2_ino_t parent) argument [all...] |
H A D | pass1b.c | 88 static void delete_file(e2fsck_t ctx, ext2_ino_t ino, 90 static errcode_t clone_file(e2fsck_t ctx, ext2_ino_t ino, 119 static void add_dupe(e2fsck_t ctx, ext2_ino_t ino, blk64_t cluster, argument 140 ino_el->inode = ino; 145 n = dict_lookup(&ino_dict, INT_TO_VOIDPTR(ino)); 151 if (ino == EXT2_ROOT_INO) { 160 dict_alloc_insert(&ino_dict, INT_TO_VOIDPTR(ino), di); 261 ext2_ino_t ino; member in struct:process_block_struct 271 ext2_ino_t ino = 0; local 293 if (ino 451 ext2_ino_t *shared, ino; local 621 delete_file(e2fsck_t ctx, ext2_ino_t ino, struct dup_inode *dp, char* block_buf) argument 781 clone_file(e2fsck_t ctx, ext2_ino_t ino, struct dup_inode *dp, char* block_buf) argument [all...] |
H A D | pass1.c | 69 static void mark_inode_bad(e2fsck_t ctx, ino_t ino); 80 ext2_ino_t ino; member in struct:process_block_struct 97 ext2_ino_t ino; member in struct:process_inode_block 168 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino, argument 185 if (ext2fs_extent_open2(fs, ino, inode, &handle)) 249 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); 268 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); 346 e2fsck_write_inode_full(ctx, pctx->ino, pctx->inode, 364 printf("inode #%u, i_extra_size %d\n", pctx->ino, 379 e2fsck_write_inode_full(ctx, pctx->ino, pct 547 ext2_ino_t ino = 0; local 1337 mark_inode_bad(e2fsck_t ctx, ino_t ino) argument 1496 ext2_ino_t ino = pctx->ino; local 1675 handle_htree(e2fsck_t ctx, struct problem_context *pctx, ext2_ino_t ino, struct ext2_inode *inode, char *block_buf) argument 1732 e2fsck_clear_inode(e2fsck_t ctx, ext2_ino_t ino, struct ext2_inode *inode, int restart_flag, const char *source) argument 1961 ext2_ino_t ino = pctx->ino; local 2004 ext2_ino_t ino = pctx->ino; local 2779 pass1_get_blocks(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks) argument 2793 pass1_read_inode(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode) argument 2804 pass1_write_inode(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode) argument 2815 pass1_check_directory(ext2_filsys fs, ext2_ino_t ino) argument [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | icount.c | 45 ext2_ino_t ino; member in struct:ext2_icount_el 278 icount->list[i].ino = hint->list[i].ino; 302 ext2_ino_t ino, int pos) 309 if (icount->last_lookup && icount->last_lookup->ino == ino) 314 new_size = icount->list[(unsigned)icount->count-1].ino; 342 el->ino = ino; 353 ext2_ino_t ino, in 301 insert_icount_el(ext2_icount_t icount, ext2_ino_t ino, int pos) argument 352 get_icount_el(ext2_icount_t icount, ext2_ino_t ino, int create) argument 396 set_inode_count(ext2_icount_t icount, ext2_ino_t ino, __u32 count) argument 427 get_inode_count(ext2_icount_t icount, ext2_ino_t ino, __u32 *count) argument 480 ext2fs_icount_fetch(ext2_icount_t icount, ext2_ino_t ino, __u16 *ret) argument 502 ext2fs_icount_increment(ext2_icount_t icount, ext2_ino_t ino, __u16 *ret) argument 559 ext2fs_icount_decrement(ext2_icount_t icount, ext2_ino_t ino, __u16 *ret) argument 602 ext2fs_icount_store(ext2_icount_t icount, ext2_ino_t ino, __u16 count) argument 658 ext2_ino_t ino; member in struct:test_program [all...] |
H A D | alloc_stats.c | 17 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, argument 20 int group = ext2fs_group_of_ino(fs, ino); 23 if (ino > fs->super->s_inodes_count) { 25 "Illegal inode number: %lu", (unsigned long) ino); 30 ext2fs_mark_inode_bitmap2(fs->inode_map, ino); 32 ext2fs_unmark_inode_bitmap2(fs->inode_map, ino); 46 if (ino >= first_unused_inode) 47 ext2fs_bg_itable_unused_set(fs, group, group * fs->super->s_inodes_per_group + fs->super->s_inodes_per_group - ino); 56 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) argument 58 ext2fs_inode_alloc_stats2(fs, ino, inus [all...] |
H A D | mkdir.c | 39 ext2_ino_t ino = inum; local 49 if (!ino) { 51 0, &ino); 66 retval = ext2fs_new_dir_block(fs, ino, parent, &block); 73 if (parent != ino) { 100 retval = ext2fs_write_new_inode(fs, ino, &inode); 105 retval = ext2fs_extent_open2(fs, ino, &inode, &handle); 127 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_DIR); 135 if (parent != ino) { 146 ext2fs_inode_alloc_stats2(fs, ino, [all...] |
H A D | dblist.c | 159 errcode_t ext2fs_add_dir_block2(ext2_dblist dblist, ext2_ino_t ino, argument 181 new_entry->ino = ino; 192 errcode_t ext2fs_set_dir_block2(ext2_dblist dblist, ext2_ino_t ino, argument 200 if ((dblist->list[i].ino != ino) || 255 if (db_a->ino != db_b->ino) 256 return (int) (db_a->ino - db_b->ino); 297 ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, int blockcnt) argument 306 ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, int blockcnt) argument [all...] |
H A D | symlink.c | 30 errcode_t ext2fs_symlink(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t ino, argument 67 if (!ino) { 69 0, &ino); 105 * operations using ino must come after it. 107 retval = ext2fs_write_new_inode(fs, ino, &inode); 112 retval = ext2fs_bmap2(fs, ino, &inode, NULL, BMAP_SET, 0, NULL, 134 retval = ext2fs_link(fs, parent, name, ino, EXT2_FT_SYMLINK); 144 ext2fs_inode_alloc_stats2(fs, ino, +1, 0);
|
H A D | bmove.c | 29 ext2_ino_t ino; member in struct:process_block_struct 80 printf("ino=%u, blockcnt=%lld, %llu->%llu\n", 81 (unsigned) pb->ino, blockcnt, 86 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, 101 ext2_ino_t ino; local 137 retval = ext2fs_get_next_inode(scan, &ino, &inode); 141 while (ino) { 146 pb.ino = ino; 152 retval = ext2fs_block_iterate3(fs, ino, [all...] |
H A D | get_pathname.c | 14 * ext2fs_get_pathname(fs, dir, ino, name) 18 * directory inode, and <ino> is the inode number itself. If 19 * <ino> is zero, then ext2fs_get_pathname will return pathname 72 ext2_ino_t ino, int maxdepth, 79 if (dir == ino) { 95 gp.search_ino = ino; 104 if (ino) 105 snprintf(tmp, sizeof(tmp), "<%u>/<%u>", dir, ino); 124 if (!ino) { 154 errcode_t ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino, argument 71 ext2fs_get_pathname_int(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino, int maxdepth, char *buf, char **name) argument [all...] |
H A D | 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))
|
/external/e2fsprogs/debugfs/ |
H A D | util.c | 110 ext2_ino_t ino; local 116 * If the string is of the form <ino>, then treat it as an 120 ino = strtoul(str+1, &end, 0); 122 return ino; 125 retval = ext2fs_namei(current_fs, root, cwd, str, &ino); 130 return ino; 386 int debugfs_read_inode_full(ext2_ino_t ino, struct ext2_inode * inode, argument 391 retval = ext2fs_read_inode_full(current_fs, ino, inode, bufsize); 393 com_err(cmd, retval, "while reading inode %u", ino); 399 int debugfs_read_inode(ext2_ino_t ino, struc argument 412 debugfs_write_inode_full(ext2_ino_t ino, struct ext2_inode *inode, const char *cmd, int bufsize) argument 428 debugfs_write_inode(ext2_ino_t ino, struct ext2_inode * inode, const char *cmd) argument 441 debugfs_write_new_inode(ext2_ino_t ino, struct ext2_inode * inode, const char *cmd) argument [all...] |
H A D | icheck.c | 23 ext2_ino_t ino; member in struct:block_info 44 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) { 45 bw->barray[i].ino = bw->inode; 61 ext2_ino_t ino; local 101 retval = ext2fs_get_next_inode(scan, &ino, &inode); 108 while (ino) { 114 bw.inode = ino; 134 retval = ext2fs_block_iterate3(current_fs, ino, 148 retval = ext2fs_get_next_inode(scan, &ino, &inode); 159 if (binfo->ino [all...] |
H A D | lsdel.c | 24 ext2_ino_t ino; member in struct:deleted_info 79 ext2_ino_t ino; local 125 retval = ext2fs_get_next_inode(scan, &ino, &inode); 133 while (ino) { 138 lsd.inode = ino; 143 retval = ext2fs_block_iterate3(current_fs, ino, 164 delarray[num_delarray].ino = ino; 176 retval = ext2fs_get_next_inode(scan, &ino, &inode); 194 delarray[i].ino, [all...] |
H A D | filefrag.c | 36 ext2_ino_t ino; member in struct:dir_list 128 static void filefrag(ext2_ino_t ino, struct ext2_inode *inode, argument 156 retval = ext2fs_block_iterate3(current_fs, ino, 177 ext2_ino_t ino; variable 188 ino = dirent->inode; 203 if (debugfs_read_inode(ino, &inode, fs->name)) 206 filefrag(ino, &inode, fs); 219 p->ino = ino; 234 static void dir_iterate(ext2_ino_t ino, struc argument 265 ext2_ino_t ino; local [all...] |
H A D | ls.c | 53 ext2_ino_t ino; variable 66 ino = dirent->inode; 71 ino = 0; 76 if (ino) { 77 if (debugfs_read_inode(ino, &inode, name)) 81 fprintf(ls->f,"/%u/%06o/%d/%d/%s/",ino,inode.i_mode,inode.i_uid, inode.i_gid,name); 88 if (ino) { 89 if (debugfs_read_inode(ino, &inode, name)) 101 fprintf(ls->f, "%c%6u%c %6o (%d) %5d %5d ", lbr, ino, rbr,
|
/external/e2fsprogs/lib/quota/ |
H A D | mkquota.h | 47 void quota_data_inodes(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino, 49 void quota_data_add(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino, 51 void quota_data_sub(quota_ctx_t qctx, struct ext2_inode *inode, ext2_ino_t ino, 60 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype);
|
/external/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 19 ino_t ino; member in struct:__anon30760 32 id->ino = status.st_ino; 39 && aID.ino == bID.ino
|
/external/e2fsprogs/tests/progs/ |
H A D | test_icount.c | 51 const char *str, ext2_ino_t *ino) 55 *ino = strtoul(str, &tmp, 0); 106 ext2_ino_t ino; local 115 if (parse_inode(argv[0], "inode", argv[1], &ino)) 117 retval = ext2fs_icount_fetch(test_icount, ino, &count); 129 ext2_ino_t ino; local 138 if (parse_inode(argv[0], "inode", argv[1], &ino)) 140 retval = ext2fs_icount_increment(test_icount, ino, &count); 153 ext2_ino_t ino; local 162 if (parse_inode(argv[0], "inode", argv[1], &ino)) 50 parse_inode(const char *request, const char *desc, const char *str, ext2_ino_t *ino) argument 177 ext2_ino_t ino; local [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | inode_pool.h | 42 void Release(ino_t ino) { argument 44 inos_.push_back(ino);
|
H A D | getdents_helper.h | 22 void AddDirent(ino_t ino, const char* name, size_t namelen);
|
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkOSFile_posix.cpp | 31 ino_t ino; member in struct:__anon15351 44 id->ino = status.st_ino; 51 && aID.ino == bID.ino
|