Lines Matching refs:bnum
666 blhdr->binfo[i].bnum = SWAP64(blhdr->binfo[i].bnum);
1151 if (blhdr->binfo[i].bnum < 0 && blhdr->binfo[i].bnum != (off_t)-1) {
1152 printf("jnl: %s: replay_journal: bogus block number 0x%llx\n", jnl->jdev_name, blhdr->binfo[i].bnum);
1183 number = blhdr->binfo[i].bnum;
1209 printf("jnl: %s: txn starting at %lld (%lld) @ index %3d bnum %lld (%d) with disk cksum != blhdr cksum (0x%.8x 0x%.8x)\n",
2369 for(blhdr=tr->blhdr; blhdr; blhdr=(block_list_header *)((long)blhdr->binfo[0].bnum)) {
2434 for(blhdr=tr->blhdr; blhdr; prev=blhdr,blhdr=(block_list_header *)((long)blhdr->binfo[0].bnum)) {
2469 // through prev->binfo[0].bnum. that's a skanky way to do things but
2492 prev->binfo[0].bnum = (off_t)((long)nblhdr);
2524 blhdr->binfo[i].bnum = (off_t)(buf_blkno(bp));
2579 for(blhdr=tr->blhdr; blhdr; blhdr=(block_list_header *)((long)blhdr->binfo[0].bnum)) {
2602 blhdr->binfo[i].bnum = (off_t)-1;
2807 if (blhdr->binfo[i].bnum != (off_t)-1) {
2808 panic("jnl: inconsistent binfo (NULL bp w/bnum %lld; jnl @ %p, tr %p)\n",
2809 blhdr->binfo[i].bnum, jnl, tr);
2851 blhdr->binfo[i].bnum = (off_t)(blkno);
2854 next = (block_list_header *)((long)blhdr->binfo[0].bnum);
2859 for(blhdr=tr->blhdr; blhdr; blhdr=(block_list_header *)((long)blhdr->binfo[0].bnum)) {
2990 next = (block_list_header *)((long)blhdr->binfo[0].bnum);
2993 blhdr->binfo[0].bnum = 0xdeadc0de;
3055 jnl->jdev_name, blhdr->binfo[i].bnum, blhdr->binfo[i].b.bp);
3062 next = (block_list_header *)((long)blhdr->binfo[0].bnum);
3065 blhdr->binfo[0].bnum = 0xdeadc0de;