/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 | 734 blk64_t block_nr; in ext2fs_read_inode_full() local 773 block_nr = ext2fs_le32_to_cpu(fs->image_header->offset_inode) / fs->blocksize; in ext2fs_read_inode_full() 774 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode_full() 787 block_nr = ext2fs_inode_table_loc(fs, group) + in ext2fs_read_inode_full() 802 if (block_nr != fs->icache->buffer_blk) { in ext2fs_read_inode_full() 803 retval = io_channel_read_blk64(io, block_nr, 1, in ext2fs_read_inode_full() 807 fs->icache->buffer_blk = block_nr; in ext2fs_read_inode_full() 816 block_nr++; in ext2fs_read_inode_full() 852 blk64_t block_nr; in ext2fs_write_inode_full() local 927 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 | 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 | 915 blk64_t block_nr = db->blk; in check_dir_block() local 963 cd->pctx.blk = block_nr; in check_dir_block() 988 block_nr = db->blk; in check_dir_block() 1001 printf("In process_dir_block block %lu, #%d, inode %lu\n", block_nr, in check_dir_block() 1031 cd->pctx.errcode = ext2fs_read_dir_block4(fs, block_nr, in check_dir_block() 1081 dx_db->phys = block_nr; in check_dir_block() 1580 cd->pctx.errcode = ext2fs_write_dir_block4(fs, block_nr, in check_dir_block() 1621 blk64_t *block_nr, in deallocate_inode_block() argument 1628 blk64_t cluster = EXT2FS_B2C(fs, *block_nr); in deallocate_inode_block() 1630 if (*block_nr == 0) 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() 761 blk64_t *block_nr, in write_dir_block() argument 771 printf("%u: write_dir_block %lld:%lld", wd->ino, blockcnt, *block_nr); in write_dir_block() 773 if ((*block_nr == 0) || (blockcnt < 0)) { in write_dir_block() 796 wd->err = ext2fs_write_dir_block4(fs, *block_nr, dir, 0, wd->dir); in write_dir_block()
|
D | pass1.c | 70 static int process_bad_block(ext2_filsys fs, blk64_t *block_nr, 3583 blk64_t *block_nr, in process_block() argument 3591 blk64_t blk = *block_nr; in process_block() 3697 *block_nr = 0; in process_block() 3714 blk = *block_nr = 0; in process_block() 3791 blk64_t *block_nr, in process_bad_block() argument 3798 blk64_t blk = *block_nr; in process_bad_block() 3818 *block_nr = 0; in process_bad_block() 3828 *block_nr = 0; in process_bad_block() 3836 *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()
|
/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_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_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_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_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_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/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/u-boot/fs/ext4/ |
D | ext4_common.c | 156 uint64_t block_nr = le32_to_cpu(bg->block_id); in ext4fs_bg_get_block_id() local 158 block_nr += (uint64_t)le32_to_cpu(bg->block_id_high) << 32; in ext4fs_bg_get_block_id() 159 return block_nr; in ext4fs_bg_get_block_id() 166 uint64_t block_nr = le32_to_cpu(bg->inode_id); in ext4fs_bg_get_inode_id() local 168 block_nr += (uint64_t)le32_to_cpu(bg->inode_id_high) << 32; in ext4fs_bg_get_inode_id() 169 return block_nr; in ext4fs_bg_get_inode_id() 177 uint64_t block_nr = le32_to_cpu(bg->inode_table_id); in ext4fs_bg_get_inode_table_id() local 179 block_nr += in ext4fs_bg_get_inode_table_id() 181 return block_nr; in ext4fs_bg_get_inode_table_id()
|
/external/e2fsprogs/misc/ |
D | e2image.c | 367 blk64_t *block_nr, in process_dir_block() argument 377 ext2fs_mark_block_bitmap2(meta_block_map, *block_nr); in process_dir_block() 380 ext2fs_mark_block_bitmap2(scramble_block_map, *block_nr); in process_dir_block() 385 blk64_t *block_nr, in process_file_block() argument 392 ext2fs_mark_block_bitmap2(meta_block_map, *block_nr); in process_file_block()
|