/external/e2fsprogs/debugfs/ |
D | logdump.c | 70 #define WRAP(jsb, blocknr) \ argument 71 if (blocknr >= be32_to_cpu((jsb)->s_maxlen)) \ 72 blocknr -= (be32_to_cpu((jsb)->s_maxlen) - \ 355 unsigned int blocknr = 0; in dump_journal() local 373 blocknr = (blocksize == 1024) ? 2 : 1; in dump_journal() 386 ((ext2_loff_t) blocknr) * blocksize, in dump_journal() 405 blocknr = be32_to_cpu(jsb->s_start); in dump_journal() 408 blocknr, transaction); in dump_journal() 410 if (!blocknr) { in dump_journal() 415 blocknr = 1; in dump_journal() [all …]
|
D | revoke.c | 108 unsigned long long blocknr; member 141 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash() argument 153 record->blocknr = blocknr; in insert_revoke_hash() 154 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash() 171 unsigned long long blocknr) in find_revoke_record() argument 176 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record() 181 if (record->blocknr == blocknr) { in find_revoke_record() 331 int journal_revoke(handle_t *handle, unsigned long long blocknr, in journal_revoke() argument 353 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke() 363 bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke() [all …]
|
D | recovery.c | 74 unsigned long long blocknr; in do_readahead() local 90 err = journal_bmap(journal, next, &blocknr); in do_readahead() 98 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead() 157 unsigned long long blocknr; in jread() local 167 err = journal_bmap(journal, offset, &blocknr); in jread() 175 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread() 600 unsigned long long blocknr; in do_one_pass() local 603 blocknr = read_tag_block(journal, in do_one_pass() 610 (journal, blocknr, in do_one_pass() 626 blocknr); in do_one_pass() [all …]
|
D | htree.c | 363 static int search_dir_block(ext2_filsys fs, blk64_t *blocknr, 400 static int search_dir_block(ext2_filsys fs, blk64_t *blocknr, in search_dir_block() argument 417 errcode = io_channel_read_blk64(current_fs->io, *blocknr, 1, p->buf); in search_dir_block() 420 "while reading block %lu", (unsigned long) *blocknr); in search_dir_block() 430 (unsigned long) *blocknr); in search_dir_block() 439 *blocknr, offset); in search_dir_block()
|
D | filefrag.c | 103 blk64_t *blocknr, e2_blkcnt_t blockcnt, in filefrag_blocks_proc() argument 110 if (blockcnt < 0 || *blocknr == 0) in filefrag_blocks_proc() 114 (*blocknr != fs->physical_start + fs->num)) { in filefrag_blocks_proc() 121 fs->physical_start = *blocknr; in filefrag_blocks_proc()
|
D | debugfs.c | 567 blk64_t *blocknr, e2_blkcnt_t blockcnt, in list_blocks_proc() argument 580 (lb->last_block+1 == *blocknr) && in list_blocks_proc() 582 lb->last_block = *blocknr; in list_blocks_proc() 590 lb->first_block = lb->last_block = *blocknr; in list_blocks_proc() 603 fprintf(lb->f, "(IND):%llu", (unsigned long long) *blocknr); in list_blocks_proc() 605 fprintf(lb->f, "(DIND):%llu", (unsigned long long) *blocknr); in list_blocks_proc() 607 fprintf(lb->f, "(TIND):%llu", (unsigned long long) *blocknr); in list_blocks_proc() 1070 blk64_t *blocknr, in print_blocks_proc() argument 1076 printf("%llu ", *blocknr); in print_blocks_proc() 1534 static int mark_blocks_proc(ext2_filsys fs, blk64_t *blocknr, in mark_blocks_proc() argument [all …]
|
D | journal.c | 124 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument 140 (unsigned long long) blocknr, blocksize, bh_count); in getblk() 148 bh->b_blocknr = blocknr; in getblk()
|
/external/e2fsprogs/e2fsck/ |
D | revoke.c | 108 unsigned long long blocknr; member 141 static int insert_revoke_hash(journal_t *journal, unsigned long long blocknr, in insert_revoke_hash() argument 153 record->blocknr = blocknr; in insert_revoke_hash() 154 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash() 171 unsigned long long blocknr) in find_revoke_record() argument 176 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record() 181 if (record->blocknr == blocknr) { in find_revoke_record() 331 int journal_revoke(handle_t *handle, unsigned long long blocknr, in journal_revoke() argument 353 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke() 363 bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke() [all …]
|
D | recovery.c | 74 unsigned long long blocknr; in do_readahead() local 90 err = journal_bmap(journal, next, &blocknr); in do_readahead() 98 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead() 157 unsigned long long blocknr; in jread() local 167 err = journal_bmap(journal, offset, &blocknr); in jread() 175 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread() 600 unsigned long long blocknr; in do_one_pass() local 603 blocknr = read_tag_block(journal, in do_one_pass() 610 (journal, blocknr, in do_one_pass() 626 blocknr); in do_one_pass() [all …]
|
D | jfs_user.h | 184 struct buffer_head *getblk(kdev_t ctx, blk64_t blocknr, int blocksize); 196 #define __getblk(dev, blocknr, blocksize) getblk(dev, blocknr, blocksize) argument
|
D | extents.c | 151 static int find_blocks(ext2_filsys fs, blk64_t *blocknr, e2_blkcnt_t blockcnt, in find_blocks() argument 160 printf("ino=%d free=%llu bf=%llu\n", list->ino, *blocknr, in find_blocks() 164 ext2fs_block_alloc_stats2(fs, *blocknr, -1); in find_blocks() 175 last->e_pblk + last->e_len == *blocknr && in find_blocks() 196 list->extents[list->count].e_pblk = *blocknr; in find_blocks() 201 printf("R: ino=%d pblk=%llu lblk=%llu len=%u\n", list->ino, *blocknr, in find_blocks()
|
D | pass3.c | 787 blk64_t *blocknr, in expand_dir_proc() argument 807 if (*blocknr) { in expand_dir_proc() 808 last_blk = *blocknr; in expand_dir_proc() 844 *blocknr = new_blk; in expand_dir_proc()
|
D | journal.c | 119 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument 134 (unsigned long long) blocknr, blocksize, bh_count); in getblk() 142 bh->b_blocknr = blocknr; in getblk()
|
/external/e2fsprogs/lib/ext2fs/ |
D | expanddir.c | 32 blk64_t *blocknr, in expand_dir_proc() argument 43 if (*blocknr) { in expand_dir_proc() 45 es->goal = *blocknr; in expand_dir_proc() 79 *blocknr = new_blk; in expand_dir_proc()
|
D | block.c | 25 blk64_t *blocknr, 326 blk64_t *blocknr, in ext2fs_block_iterate3() argument 576 blk_t *blocknr, 584 static int xlate64_func(ext2_filsys fs, blk64_t *blocknr, in xlate64_func() argument 590 blk_t block32 = *blocknr; in xlate64_func() 594 *blocknr = block32; in xlate64_func() 603 blk_t *blocknr, in ext2fs_block_iterate2() argument 622 blk_t *blocknr, 631 static int xlate_func(ext2_filsys fs, blk_t *blocknr, e2_blkcnt_t blockcnt, in xlate_func() argument 638 return (*xl->func)(fs, blocknr, (int) blockcnt, xl->real_private); in xlate_func() [all …]
|
D | tst_libext2fs.c | 36 blk64_t *blocknr, e2_blkcnt_t blockcnt, in print_blocks_proc() argument 41 (unsigned long long)*blocknr, ref_offset, ref_block); in print_blocks_proc()
|
D | dir_iterate.c | 184 blk64_t *blocknr, in ext2fs_process_dir_block() argument 211 ctx->errcode = ext2fs_read_dir_block4(fs, *blocknr, ctx->buf, 0, in ext2fs_process_dir_block() 295 ctx->errcode = ext2fs_write_dir_block4(fs, *blocknr, in ext2fs_process_dir_block()
|
D | ext2fsP.h | 98 blk64_t *blocknr,
|
/external/e2fsprogs/contrib/android/ |
D | block_list.c | 45 static int add_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk64_t blocknr, in add_block() argument 52 blocknr, blocknr); in add_block()
|
D | base_fs.c | 159 static int add_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk64_t blocknr, in add_block() argument 166 blocknr, blocknr); in add_block()
|
D | fsmap.c | 14 static int walk_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk64_t *blocknr, in walk_block() argument 23 return format->add_block(fs, *blocknr, blockcnt < 0, format->private); in walk_block()
|
D | fsmap.h | 17 int (* add_block)(ext2_filsys fs, blk64_t blocknr, int metadata,
|
/external/u-boot/fs/ext4/ |
D | ext4_journal.c | 210 long int blocknr; in print_revoke_blks() local 222 blocknr = be32_to_cpu(*((__be32 *)(revk_blk + offset))); in print_revoke_blks() 223 printf("revoke blknr is %ld\n", blocknr); in print_revoke_blks() 297 long int blocknr; in check_blknr_for_revoke() local 309 blocknr = be32_to_cpu(*((__be32 *) in check_blknr_for_revoke() 311 if (blocknr == blknr) in check_blknr_for_revoke()
|
/external/e2fsprogs/misc/ |
D | e2fuzz.c | 69 blk64_t *blocknr, e2_blkcnt_t blockcnt, in find_block_helper() argument 77 ext2fs_mark_block_bitmap2(fb->bmap, *blocknr); in find_block_helper()
|
/external/u-boot/fs/reiserfs/ |
D | reiserfs.c | 643 __u32 blocknr = __le32_to_cpu(((__u32 *) INFO->current_item) in reiserfs_read() local 653 reiserfs_devread (blocknr << INFO->blocksize_shift, in reiserfs_read()
|