Lines Matching refs:blocknr
69 #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()
415 "end of journal.\n", blocknr); in dump_journal()
422 sequence, transaction, blocknr); in dump_journal()
430 type_to_name(blocktype), blocknr); in dump_journal()
436 &blocknr, blocksize, in dump_journal()
442 blocknr++; in dump_journal()
443 WRAP(jsb, blocknr); in dump_journal()
448 blocknr, blocksize, in dump_journal()
450 blocknr++; in dump_journal()
451 WRAP(jsb, blocknr); in dump_journal()
456 "block %u.\n", blocktype, blocknr); in dump_journal()
473 unsigned int blocknr; in dump_descriptor_block() local
481 blocknr = *blockp; in dump_descriptor_block()
485 "block %u:\n", transaction, blocknr); in dump_descriptor_block()
487 ++blocknr; in dump_descriptor_block()
488 WRAP(jsb, blocknr); in dump_descriptor_block()
509 blocknr, tag_block, tag_flags, blocksize, in dump_descriptor_block()
512 ++blocknr; in dump_descriptor_block()
513 WRAP(jsb, blocknr); in dump_descriptor_block()
517 *blockp = blocknr; in dump_descriptor_block()
523 unsigned int blocknr, in dump_revoke_block() argument
533 "block %u:\n", transaction, blocknr); in dump_revoke_block()
548 blocknr, transaction); in dump_revoke_block()