/external/e2fsprogs/lib/ext2fs/ |
D | ind_block.c | 27 blk_t *block_nr; in ext2fs_read_ind_block() local 41 block_nr = (blk_t *) buf; in ext2fs_read_ind_block() 42 for (i = 0; i < limit; i++, block_nr++) in ext2fs_read_ind_block() 43 *block_nr = ext2fs_swab32(*block_nr); in ext2fs_read_ind_block() 51 blk_t *block_nr; in ext2fs_write_ind_block() local 60 block_nr = (blk_t *) buf; in ext2fs_write_ind_block() 61 for (i = 0; i < limit; i++, block_nr++) in ext2fs_write_ind_block() 62 *block_nr = ext2fs_swab32(*block_nr); in ext2fs_write_ind_block()
|
D | bb_inode.c | 45 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr, 49 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr, 155 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr, in clear_bad_block_proc() argument 166 if (!*block_nr) in clear_bad_block_proc() 172 if (*block_nr >= ext2fs_blocks_count(fs->super) || in clear_bad_block_proc() 173 *block_nr < fs->super->s_first_data_block) { in clear_bad_block_proc() 174 *block_nr = 0; in clear_bad_block_proc() 191 rec->ind_blocks[rec->ind_blocks_size++] = *block_nr; in clear_bad_block_proc() 197 ext2fs_block_alloc_stats2(fs, *block_nr, -1); in clear_bad_block_proc() 199 *block_nr = 0; in clear_bad_block_proc() [all …]
|
D | block.c | 65 blk_t *block_nr; in block_iterate_ind() local 95 block_nr = (blk_t *) ctx->ind_buf; in block_iterate_ind() 98 for (i = 0; i < limit; i++, ctx->bcount++, block_nr++) { in block_iterate_ind() 99 blk64 = *block_nr; in block_iterate_ind() 103 *block_nr = blk64; in block_iterate_ind() 112 for (i = 0; i < limit; i++, ctx->bcount++, block_nr++) { in block_iterate_ind() 113 if (*block_nr == 0) in block_iterate_ind() 115 blk64 = *block_nr; in block_iterate_ind() 119 *block_nr = blk64; in block_iterate_ind() 154 blk_t *block_nr; in block_iterate_dind() local [all …]
|
D | read_bb.c | 41 static int mark_bad_block(ext2_filsys fs, blk_t *block_nr, in mark_bad_block() argument 52 if ((*block_nr < fs->super->s_first_data_block) || in mark_bad_block() 53 (*block_nr >= ext2fs_blocks_count(fs->super))) in mark_bad_block() 56 rb->err = ext2fs_badblocks_list_add(rb->bb_list, *block_nr); in mark_bad_block()
|
D | inode.c | 733 blk64_t block_nr; in ext2fs_read_inode_full() local 772 block_nr = fs->image_header->offset_inode / fs->blocksize; in ext2fs_read_inode_full() 773 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode_full() 786 block_nr = ext2fs_inode_table_loc(fs, group) + in ext2fs_read_inode_full() 801 if (block_nr != fs->icache->buffer_blk) { in ext2fs_read_inode_full() 802 retval = io_channel_read_blk64(io, block_nr, 1, in ext2fs_read_inode_full() 806 fs->icache->buffer_blk = block_nr; in ext2fs_read_inode_full() 815 block_nr++; in ext2fs_read_inode_full() 851 blk64_t block_nr; in ext2fs_write_inode_full() local 926 block_nr = ext2fs_inode_table_loc(fs, (unsigned) group) + block; in ext2fs_write_inode_full() [all …]
|
D | bmove.c | 40 static int process_block(ext2_filsys fs, blk64_t *block_nr, in process_block() argument 50 block = orig = *block_nr; in process_block() 77 *block_nr = block; in process_block()
|
/external/e2fsprogs/e2fsck/ |
D | badblocks.c | 17 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, 121 blk_t *block_nr, in check_bb_inode_blocks() argument 125 if (!*block_nr) in check_bb_inode_blocks() 131 if (*block_nr >= ext2fs_blocks_count(fs->super) || in check_bb_inode_blocks() 132 *block_nr < fs->super->s_first_data_block) { in check_bb_inode_blocks() 134 "Cleared.\n"), *block_nr); in check_bb_inode_blocks() 135 *block_nr = 0; in check_bb_inode_blocks()
|
D | pass1b.c | 357 blk64_t *block_nr, in process_pass1b_block() argument 368 if (*block_nr == 0) in process_pass1b_block() 373 pc = EXT2FS_B2C(fs, *block_nr); in process_pass1b_block() 375 if (!ext2fs_test_block_bitmap2(ctx->block_dup_map, *block_nr)) in process_pass1b_block() 380 if (p->last_blk + 1 != *block_nr) { in process_pass1b_block() 387 p->pctx->blk = *block_nr; in process_pass1b_block() 389 p->pctx->blk2 = *block_nr; in process_pass1b_block() 390 p->last_blk = *block_nr; in process_pass1b_block() 403 add_dupe(ctx, p->ino, EXT2FS_B2C(fs, *block_nr), p->inode); in process_pass1b_block() 617 blk64_t *block_nr, in delete_file_block() argument [all …]
|
D | emptydir.c | 120 int empty_pass1(ext2_filsys fs, blk64_t *block_nr, e2_blkcnt_t blockcnt, in empty_pass1() argument 129 block = *block_nr; in empty_pass1() 145 *block_nr = new_block; in empty_pass1()
|
D | pass2.c | 888 blk64_t block_nr = db->blk; in check_dir_block() local 936 cd->pctx.blk = block_nr; in check_dir_block() 953 block_nr = db->blk; in check_dir_block() 966 printf("In process_dir_block block %lu, #%d, inode %lu\n", block_nr, in check_dir_block() 996 cd->pctx.errcode = ext2fs_read_dir_block4(fs, block_nr, in check_dir_block() 1046 dx_db->phys = block_nr; in check_dir_block() 1543 cd->pctx.errcode = ext2fs_write_dir_block4(fs, block_nr, in check_dir_block() 1583 blk64_t *block_nr, in deallocate_inode_block() argument 1591 if (*block_nr == 0) in deallocate_inode_block() 1593 if ((*block_nr < fs->super->s_first_data_block) || in deallocate_inode_block() [all …]
|
D | rehash.c | 105 blk64_t *block_nr, in fill_dir_block() argument 128 if (*block_nr == 0) { in fill_dir_block() 135 fd->err = ext2fs_read_dir_block4(fs, *block_nr, dir, 0, in fill_dir_block() 697 blk64_t *block_nr, in write_dir_block() argument 707 printf("%u: write_dir_block %lld:%lld", wd->ino, blockcnt, *block_nr); in write_dir_block() 709 if ((*block_nr == 0) || (blockcnt < 0)) { in write_dir_block() 732 wd->err = ext2fs_write_dir_block4(fs, *block_nr, dir, 0, wd->dir); in write_dir_block()
|
D | pass1.c | 64 static int process_bad_block(ext2_filsys fs, blk64_t *block_nr, 3362 blk64_t *block_nr, in process_block() argument 3370 blk64_t blk = *block_nr; in process_block() 3474 *block_nr = 0; in process_block() 3491 blk = *block_nr = 0; in process_block() 3568 blk64_t *block_nr, in process_bad_block() argument 3575 blk64_t blk = *block_nr; in process_bad_block() 3595 *block_nr = 0; in process_bad_block() 3605 *block_nr = 0; in process_bad_block() 3613 *block_nr = 0; in process_bad_block() [all …]
|
D | super.c | 60 blk64_t *block_nr, in release_inode_block() argument 69 blk64_t blk = *block_nr; in release_inode_block() 143 *block_nr = 0; in release_inode_block()
|
/external/e2fsprogs/debugfs/ |
D | lsdel.c | 52 blk64_t *block_nr, in lsdel_proc() argument 62 if (*block_nr < fs->super->s_first_data_block || in lsdel_proc() 63 *block_nr >= ext2fs_blocks_count(fs->super)) { in lsdel_proc() 68 if (!ext2fs_test_block_bitmap2(fs->block_map,*block_nr)) in lsdel_proc()
|
D | icheck.c | 35 blk64_t *block_nr, in icheck_proc() argument 45 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) { in icheck_proc()
|
D | journal.c | 264 blk64_t *block_nr, in process_journal_block() argument 271 blk64_t blk = *block_nr; in process_journal_block()
|
/external/perfetto/src/ftrace_reader/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/jbd2/jbd2_update_log_tail/ |
D | format | 12 field:unsigned long block_nr; offset:24; size:8; signed:0; 15 …nt) ((REC->dev) & ((1U << 20) - 1))), REC->tail_sequence, REC->first_tid, REC->block_nr, REC->freed
|
/external/perfetto/src/ftrace_reader/test/data/android_seed_N2F62_3.10.49/events/jbd/jbd_cleanup_journal_tail/ |
D | format | 12 field:unsigned long block_nr; offset:20; size:4; signed:0; 15 …nt) ((REC->dev) & ((1U << 20) - 1))), REC->tail_sequence, REC->first_tid, REC->block_nr, REC->freed
|
/external/perfetto/src/ftrace_reader/test/data/android_flounder_lte_LRX16F_3.10.40/events/jbd2/jbd2_update_log_tail/ |
D | format | 12 field:unsigned long block_nr; offset:24; size:8; signed:0; 15 …nt) ((REC->dev) & ((1U << 20) - 1))), REC->tail_sequence, REC->first_tid, REC->block_nr, REC->freed
|
/external/perfetto/src/ftrace_reader/test/data/android_flounder_lte_LRX16F_3.10.40/events/jbd/jbd_cleanup_journal_tail/ |
D | format | 12 field:unsigned long block_nr; offset:24; size:8; signed:0; 15 …nt) ((REC->dev) & ((1U << 20) - 1))), REC->tail_sequence, REC->first_tid, REC->block_nr, REC->freed
|
/external/perfetto/src/ftrace_reader/test/data/android_seed_N2F62_3.10.49/events/jbd2/jbd2_update_log_tail/ |
D | format | 12 field:unsigned long block_nr; offset:20; size:4; signed:0; 15 …nt) ((REC->dev) & ((1U << 20) - 1))), REC->tail_sequence, REC->first_tid, REC->block_nr, REC->freed
|
/external/perfetto/src/ftrace_reader/test/data/android_hammerhead_MRA59G_3.4.0/events/jbd/jbd_cleanup_journal_tail/ |
D | format | 13 field:unsigned long block_nr; offset:24; size:4; signed:0; 16 …nt) ((REC->dev) & ((1U << 20) - 1))), REC->tail_sequence, REC->first_tid, REC->block_nr, REC->freed
|
/external/perfetto/src/ftrace_reader/test/data/android_hammerhead_MRA59G_3.4.0/events/jbd2/jbd2_update_log_tail/ |
D | format | 13 field:unsigned long block_nr; offset:24; size:4; signed:0; 16 …nt) ((REC->dev) & ((1U << 20) - 1))), REC->tail_sequence, REC->first_tid, REC->block_nr, REC->freed
|
/external/e2fsprogs/misc/ |
D | e2image.c | 366 blk64_t *block_nr, in process_dir_block() argument 376 ext2fs_mark_block_bitmap2(meta_block_map, *block_nr); in process_dir_block() 379 ext2fs_mark_block_bitmap2(scramble_block_map, *block_nr); in process_dir_block() 384 blk64_t *block_nr, in process_file_block() argument 391 ext2fs_mark_block_bitmap2(meta_block_map, *block_nr); in process_file_block()
|
D | tune2fs.c | 2235 blk64_t *block_nr, in process_block() argument 2245 if (!ext2fs_test_block_bitmap2(bmap, *block_nr)) in process_block() 2247 new_blk = translate_block(*block_nr); in process_block() 2249 *block_nr = new_blk; in process_block()
|