Home
last modified time | relevance | path

Searched refs:blocknr (Results 1 – 25 of 28) sorted by relevance

12

/external/e2fsprogs/debugfs/
Dlogdump.c70 #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 …]
Drevoke.c108 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 …]
Drecovery.c74 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 …]
Dhtree.c380 static int search_dir_block(ext2_filsys fs, blk64_t *blocknr,
417 static int search_dir_block(ext2_filsys fs, blk64_t *blocknr, in search_dir_block() argument
434 errcode = io_channel_read_blk64(current_fs->io, *blocknr, 1, p->buf); in search_dir_block()
437 "while reading block %lu", (unsigned long) *blocknr); in search_dir_block()
447 (unsigned long) *blocknr); in search_dir_block()
456 *blocknr, offset); in search_dir_block()
Dfilefrag.c103 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()
Ddebugfs.c567 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 …]
Djournal.c124 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/
Drevoke.c108 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 …]
Drecovery.c74 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 …]
Djfs_user.h184 struct buffer_head *getblk(kdev_t ctx, blk64_t blocknr, int blocksize);
196 #define __getblk(dev, blocknr, blocksize) getblk(dev, blocknr, blocksize) argument
Dextents.c151 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()
Dpass3.c793 blk64_t *blocknr, in expand_dir_proc() argument
813 if (*blocknr) { in expand_dir_proc()
814 last_blk = *blocknr; in expand_dir_proc()
850 *blocknr = new_blk; in expand_dir_proc()
Djournal.c119 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/
Dexpanddir.c32 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()
Dblock.c25 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 …]
Dtst_libext2fs.c36 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()
Ddir_iterate.c184 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()
Dext2fsP.h112 blk64_t *blocknr,
Dext2fs.h975 blk_t *blocknr,
984 blk_t *blocknr,
995 blk64_t *blocknr,
/external/e2fsprogs/contrib/android/
Dblock_list.c41 static int add_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk64_t blocknr, in add_block() argument
47 add_blocks_to_range(&params->blocks, blocknr, blocknr); in add_block()
Dbase_fs.c157 static int add_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk64_t blocknr, in add_block() argument
163 add_blocks_to_range(&params->entry.blocks, blocknr, blocknr); in add_block()
Dfsmap.h17 int (* add_block)(ext2_filsys fs, blk64_t blocknr, int metadata,
Dfsmap.c14 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()
/external/e2fsprogs/misc/
De2fuzz.c69 blk64_t *blocknr, e2_blkcnt_t blockcnt, in find_block_helper() argument
77 ext2fs_mark_block_bitmap2(fb->bmap, *blocknr); in find_block_helper()
Dtune2fs.c347 static int release_blocks_proc(ext2_filsys fs, blk64_t *blocknr, in release_blocks_proc() argument
356 block = *blocknr; in release_blocks_proc()
515 blk64_t *blocknr, in rewrite_dir_block() argument
525 ctx->errcode = ext2fs_read_dir_block4(fs, *blocknr, ctx->buf, 0, in rewrite_dir_block()
642 ctx->errcode = ext2fs_write_dir_block4(fs, *blocknr, ctx->buf, in rewrite_dir_block()

12