Lines Matching refs:hblks
1145 int hblks; in xlog_check_unmount_rec() local
1160 hblks = xlog_logrec_hblks(log, rhead); in xlog_check_unmount_rec()
1162 rhead_blk + hblks + BTOBB(be32_to_cpu(rhead->h_len))); in xlog_check_unmount_rec()
1166 umount_data_blk = xlog_wrap_logbno(log, rhead_blk + hblks); in xlog_check_unmount_rec()
3001 int hblks = 1, split_hblks, wrapped_hblks; in xlog_do_recovery_pass() local
3012 hbp = xlog_alloc_buffer(log, hblks); in xlog_do_recovery_pass()
3065 hblks = DIV_ROUND_UP(h_size, XLOG_HEADER_CYCLE_SIZE); in xlog_do_recovery_pass()
3066 if (hblks > 1) { in xlog_do_recovery_pass()
3068 hbp = xlog_alloc_buffer(log, hblks); in xlog_do_recovery_pass()
3098 if (blk_no + hblks <= log->l_logBBsize) { in xlog_do_recovery_pass()
3100 error = xlog_bread(log, blk_no, hblks, hbp, in xlog_do_recovery_pass()
3130 wrapped_hblks = hblks - split_hblks; in xlog_do_recovery_pass()
3144 blk_no += hblks; in xlog_do_recovery_pass()
3215 error = xlog_bread(log, blk_no, hblks, hbp, &offset); in xlog_do_recovery_pass()
3226 error = xlog_bread(log, blk_no+hblks, bblks, dbp, in xlog_do_recovery_pass()
3236 blk_no += bblks + hblks; in xlog_do_recovery_pass()