/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 | 747 blk64_t block_nr; in ext2fs_read_inode2() local 787 block_nr = ext2fs_le32_to_cpu(fs->image_header->offset_inode) / fs->blocksize; in ext2fs_read_inode2() 788 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode2() 799 block_nr = ext2fs_inode_table_loc(fs, group); in ext2fs_read_inode2() 800 if (!block_nr) in ext2fs_read_inode2() 802 if ((block_nr < fs->super->s_first_data_block) || in ext2fs_read_inode2() 803 (block_nr + fs->inode_blocks_per_group - 1 >= in ext2fs_read_inode2() 806 block_nr += block; in ext2fs_read_inode2() 820 if (block_nr != fs->icache->buffer_blk) { in ext2fs_read_inode2() 821 retval = io_channel_read_blk64(io, block_nr, 1, in ext2fs_read_inode2() [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 | 375 blk64_t *block_nr, in process_pass1b_block() argument 386 if (*block_nr == 0) in process_pass1b_block() 391 pc = EXT2FS_B2C(fs, *block_nr); in process_pass1b_block() 393 if (!ext2fs_test_block_bitmap2(ctx->block_dup_map, *block_nr)) in process_pass1b_block() 398 if (p->last_blk + 1 != *block_nr) { in process_pass1b_block() 405 p->pctx->blk = *block_nr; in process_pass1b_block() 407 p->pctx->blk2 = *block_nr; in process_pass1b_block() 408 p->last_blk = *block_nr; in process_pass1b_block() 421 add_dupe(ctx, p->ino, EXT2FS_B2C(fs, *block_nr), p->inode); in process_pass1b_block() 642 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 | 921 blk64_t block_nr = db->blk; in check_dir_block() local 972 cd->pctx.blk = block_nr; in check_dir_block() 998 block_nr = db->blk; in check_dir_block() 1011 printf("In process_dir_block block %lu, #%d, inode %lu\n", block_nr, in check_dir_block() 1041 cd->pctx.errcode = ext2fs_read_dir_block4(fs, block_nr, in check_dir_block() 1091 dx_db->phys = block_nr; in check_dir_block() 1609 cd->pctx.errcode = ext2fs_write_dir_block4(fs, block_nr, in check_dir_block() 1650 blk64_t *block_nr, in deallocate_inode_block() argument 1657 blk64_t cluster = EXT2FS_B2C(fs, *block_nr); in deallocate_inode_block() 1659 if (*block_nr == 0) in deallocate_inode_block() [all …]
|
D | rehash.c | 120 blk64_t *block_nr, in fill_dir_block() argument 143 if (*block_nr == 0) { in fill_dir_block() 150 fd->err = ext2fs_read_dir_block4(fs, *block_nr, dir, 0, in fill_dir_block() 811 blk64_t *block_nr, in write_dir_block() argument 821 printf("%u: write_dir_block %lld:%lld", wd->ino, blockcnt, *block_nr); in write_dir_block() 823 if ((*block_nr == 0) || (blockcnt < 0)) { in write_dir_block() 846 wd->err = ext2fs_write_dir_block4(fs, *block_nr, dir, 0, wd->dir); in write_dir_block()
|
D | pass1.c | 71 static int process_bad_block(ext2_filsys fs, blk64_t *block_nr, 3629 blk64_t *block_nr, in process_block() argument 3637 blk64_t blk = *block_nr; in process_block() 3746 *block_nr = 0; in process_block() 3763 blk = *block_nr = 0; in process_block() 3840 blk64_t *block_nr, in process_bad_block() argument 3847 blk64_t blk = *block_nr; in process_bad_block() 3867 *block_nr = 0; in process_bad_block() 3877 *block_nr = 0; in process_bad_block() 3885 *block_nr = 0; in process_bad_block() [all …]
|
D | super.c | 83 blk64_t *block_nr, in release_inode_block() argument 92 blk64_t blk = *block_nr; in release_inode_block() 93 blk64_t cluster = EXT2FS_B2C(fs, *block_nr); in release_inode_block() 172 *block_nr = 0; in release_inode_block()
|
D | journal.c | 258 blk64_t *block_nr, in process_journal_block() argument 265 blk64_t blk = *block_nr; in process_journal_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 | 270 blk64_t *block_nr, in process_journal_block() argument 277 blk64_t blk = *block_nr; in process_journal_block()
|
/external/perfetto/src/traced/probes/ftrace/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/traced/probes/ftrace/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/traced/probes/ftrace/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/traced/probes/ftrace/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/traced/probes/ftrace/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/traced/probes/ftrace/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/perfetto/src/traced/probes/ftrace/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/e2fsprogs/misc/ |
D | e2image.c | 368 blk64_t *block_nr, in process_dir_block() argument 378 ext2fs_mark_block_bitmap2(meta_block_map, *block_nr); in process_dir_block() 381 ext2fs_mark_block_bitmap2(scramble_block_map, *block_nr); in process_dir_block() 386 blk64_t *block_nr, in process_file_block() argument 393 ext2fs_mark_block_bitmap2(meta_block_map, *block_nr); in process_file_block()
|