Lines Matching refs:blocknr
69 #define WRAP(jsb, blocknr) \
70 if (blocknr >= be32_to_cpu((jsb)->s_maxlen)) \
71 blocknr -= (be32_to_cpu((jsb)->s_maxlen) - \
345 unsigned int blocknr = 0;
364 blocknr = (blocksize == 1024) ? 2 : 1;
377 retval = read_journal_block(cmdname, source, blocknr*blocksize,
390 blocknr = be32_to_cpu(jsb->s_start);
393 blocknr, transaction);
395 if (!blocknr)
401 blocknr*blocksize, buf,
414 "end of journal.\n", blocknr);
421 sequence, transaction, blocknr);
429 type_to_name(blocktype), blocknr);
435 &blocknr, blocksize,
441 blocknr++;
442 WRAP(jsb, blocknr);
447 blocknr, blocksize,
449 blocknr++;
450 WRAP(jsb, blocknr);
455 "block %u.\n", blocktype, blocknr);
472 unsigned int blocknr;
480 blocknr = *blockp;
484 "block %u:\n", transaction, blocknr);
486 ++blocknr;
487 WRAP(jsb, blocknr);
508 blocknr, tag_block, tag_flags, blocksize,
511 ++blocknr;
512 WRAP(jsb, blocknr);
516 *blockp = blocknr;
522 unsigned int blocknr,
532 "block %u:\n", transaction, blocknr);
547 blocknr, transaction);