Home
last modified time | relevance | path

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

/external/e2fsprogs/debugfs/
Dlogdump.c69 #define WRAP(jsb, blocknr) \ argument
70 if (blocknr >= be32_to_cpu((jsb)->s_maxlen)) \
71 blocknr -= (be32_to_cpu((jsb)->s_maxlen) - \
346 unsigned int blocknr = 0; in dump_journal() local
365 blocknr = (blocksize == 1024) ? 2 : 1; in dump_journal()
378 retval = read_journal_block(cmdname, source, blocknr*blocksize, in dump_journal()
391 blocknr = be32_to_cpu(jsb->s_start); in dump_journal()
394 blocknr, transaction); in dump_journal()
396 if (!blocknr) in dump_journal()
402 blocknr*blocksize, buf, in dump_journal()
[all …]
Dhtree.c325 static int search_dir_block(ext2_filsys fs, blk64_t *blocknr,
361 static int search_dir_block(ext2_filsys fs, blk64_t *blocknr, in search_dir_block() argument
378 errcode = io_channel_read_blk64(current_fs->io, *blocknr, 1, p->buf); in search_dir_block()
381 "while reading block %lu", (unsigned long) *blocknr); in search_dir_block()
391 (unsigned long) *blocknr); in search_dir_block()
400 *blocknr, offset); in search_dir_block()
Dfilefrag.c102 blk64_t *blocknr, e2_blkcnt_t blockcnt, in filefrag_blocks_proc() argument
109 if (blockcnt < 0 || *blocknr == 0) in filefrag_blocks_proc()
113 (*blocknr != fs->physical_start + fs->num)) { in filefrag_blocks_proc()
120 fs->physical_start = *blocknr; in filefrag_blocks_proc()
Ddebugfs.c464 blk64_t *blocknr, e2_blkcnt_t blockcnt, in list_blocks_proc() argument
477 (lb->last_block+1 == *blocknr) && in list_blocks_proc()
479 lb->last_block = *blocknr; in list_blocks_proc()
487 lb->first_block = lb->last_block = *blocknr; in list_blocks_proc()
500 fprintf(lb->f, "(IND):%llu", (unsigned long long) *blocknr); in list_blocks_proc()
502 fprintf(lb->f, "(DIND):%llu", (unsigned long long) *blocknr); in list_blocks_proc()
504 fprintf(lb->f, "(TIND):%llu", (unsigned long long) *blocknr); in list_blocks_proc()
950 blk64_t *blocknr, in print_blocks_proc() argument
956 printf("%llu ", *blocknr); in print_blocks_proc()
1400 static int mark_blocks_proc(ext2_filsys fs, blk64_t *blocknr, in mark_blocks_proc() argument
[all …]
/external/e2fsprogs/e2fsck/
Drevoke.c85 unsigned long blocknr; member
120 static int insert_revoke_hash(journal_t *journal, unsigned long blocknr, in insert_revoke_hash() argument
134 record->blocknr = blocknr; in insert_revoke_hash()
135 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
155 unsigned long blocknr) in find_revoke_record() argument
160 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
164 if (record->blocknr == blocknr) in find_revoke_record()
284 int journal_revoke(handle_t *handle, unsigned long blocknr, in journal_revoke() argument
305 bh = get_hash_table(dev, blocknr, journal->j_blocksize); in journal_revoke()
315 bh2 = get_hash_table(dev, blocknr, journal->j_blocksize); in journal_revoke()
[all …]
Drecovery.c73 unsigned long long blocknr; in do_readahead() local
89 err = journal_bmap(journal, next, &blocknr); in do_readahead()
97 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead()
135 unsigned long long blocknr; in jread() local
145 err = journal_bmap(journal, offset, &blocknr); in jread()
153 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in jread()
496 unsigned long long blocknr; in do_one_pass() local
499 blocknr = read_tag_block(tag_bytes, in do_one_pass()
506 (journal, blocknr, in do_one_pass()
516 blocknr, in do_one_pass()
[all …]
Djfs_user.h138 struct buffer_head *getblk(kdev_t ctx, blk64_t blocknr, int blocksize);
150 #define __getblk(dev, blocknr, blocksize) getblk(dev, blocknr, blocksize) argument
Dpass3.c691 blk64_t *blocknr, in expand_dir_proc() argument
711 if (*blocknr) { in expand_dir_proc()
712 last_blk = *blocknr; in expand_dir_proc()
754 *blocknr = new_blk; in expand_dir_proc()
771 blk64_t *blocknr, in find_new_blocks_proc() argument
780 ext2fs_mark_block_bitmap2(ctx->block_found_map, *blocknr); in find_new_blocks_proc()
Djournal.c68 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument
83 (unsigned long long) blocknr, blocksize, bh_count); in getblk()
91 bh->b_blocknr = blocknr; in getblk()
Dpass1b.c85 static int process_pass1b_block(ext2_filsys fs, blk64_t *blocknr,
Dpass1.c58 static int process_block(ext2_filsys fs, blk64_t *blocknr,
/external/e2fsprogs/lib/ext2fs/
Dexpanddir.c29 blk64_t *blocknr, in expand_dir_proc() argument
40 if (*blocknr) { in expand_dir_proc()
42 es->goal = *blocknr; in expand_dir_proc()
82 *blocknr = new_blk; in expand_dir_proc()
Dblock.c24 blk64_t *blocknr,
325 blk64_t *blocknr, in ext2fs_block_iterate3() argument
568 blk_t *blocknr,
576 static int xlate64_func(ext2_filsys fs, blk64_t *blocknr, in xlate64_func() argument
582 blk_t block32 = *blocknr; in xlate64_func()
586 *blocknr = block32; in xlate64_func()
595 blk_t *blocknr, in ext2fs_block_iterate2() argument
614 blk_t *blocknr,
623 static int xlate_func(ext2_filsys fs, blk_t *blocknr, e2_blkcnt_t blockcnt, in xlate_func() argument
630 return (*xl->func)(fs, blocknr, (int) blockcnt, xl->real_private); in xlate_func()
[all …]
Ddir_iterate.c179 blk64_t *blocknr, in ext2fs_process_dir_block() argument
200 ctx->errcode = ext2fs_read_dir_block3(fs, *blocknr, ctx->buf, 0); in ext2fs_process_dir_block()
261 ctx->errcode = ext2fs_write_dir_block3(fs, *blocknr, ctx->buf, in ext2fs_process_dir_block()
Dmkjournal.c228 blk64_t *blocknr, in mkjournal_proc() argument
238 if (*blocknr) { in mkjournal_proc()
239 es->goal = *blocknr; in mkjournal_proc()
287 *blocknr = es->goal = new_blk; in mkjournal_proc()
Dext2fsP.h84 blk64_t *blocknr,
Dkernel-jbd.h635 int blocknr);
725 extern unsigned long journal_bmap(journal_t *journal, unsigned long blocknr);
Dext2fs.h873 blk_t *blocknr,
882 blk_t *blocknr,
893 blk64_t *blocknr,
/external/valgrind/perf/
Dmany-loss-records.c52 int blocknr = 0; variable
98 blocknr++; in call_stack()
210 printf ("total blocks malloc-ed: %d\n", blocknr); in main()
/external/e2fsprogs/lib/quota/
Dquotaio.c100 static int compute_num_blocks_proc(ext2_filsys fs, blk64_t *blocknr, in compute_num_blocks_proc() argument
/external/e2fsprogs/doc/
Dlibext2fs.texinfo613 …r{flags}, char *block_buf, int (*func)(ext2_filsys @var{fs}, blk_t *@var{blocknr}, int @var{blockc…
656 BLOCK_COUNT_TIND, or BLOCK_COUNT_TRANSLATOR. The @var{blocknr} is a
670 block number pointed to by @var{blocknr}.
681 …s}, char *@var{block}_buf, int (*func)(ext2_filsys @var{fs}, blk_t *@var{blocknr}, e2_blkcnt_t @va…
687 of the physical block pointed to by pointer @var{blocknr}. If
/external/e2fsprogs/misc/
Dtune2fs.c282 static int release_blocks_proc(ext2_filsys fs, blk64_t *blocknr, in release_blocks_proc() argument
291 block = *blocknr; in release_blocks_proc()