Lines Matching refs:hblks
812 int hblks; in xlog_find_tail() local
917 hblks = h_size / XLOG_HEADER_CYCLE_SIZE; in xlog_find_tail()
919 hblks++; in xlog_find_tail()
921 hblks = 1; in xlog_find_tail()
924 hblks = 1; in xlog_find_tail()
926 after_umount_blk = (i + hblks + (int) in xlog_find_tail()
931 umount_data_blk = (i + hblks) % log->l_logBBsize; in xlog_find_tail()
3548 int hblks, split_hblks, wrapped_hblks; in xlog_do_recovery_pass() local
3577 hblks = h_size / XLOG_HEADER_CYCLE_SIZE; in xlog_do_recovery_pass()
3579 hblks++; in xlog_do_recovery_pass()
3581 hbp = xlog_get_bp(log, hblks); in xlog_do_recovery_pass()
3583 hblks = 1; in xlog_do_recovery_pass()
3587 hblks = 1; in xlog_do_recovery_pass()
3603 if ((error = xlog_bread(log, blk_no, hblks, hbp))) in xlog_do_recovery_pass()
3605 offset = xlog_align(log, blk_no, hblks, hbp); in xlog_do_recovery_pass()
3613 error = xlog_bread(log, blk_no + hblks, bblks, dbp); in xlog_do_recovery_pass()
3616 offset = xlog_align(log, blk_no + hblks, bblks, dbp); in xlog_do_recovery_pass()
3621 blk_no += bblks + hblks; in xlog_do_recovery_pass()
3637 if (blk_no + hblks <= log->l_logBBsize) { in xlog_do_recovery_pass()
3639 error = xlog_bread(log, blk_no, hblks, hbp); in xlog_do_recovery_pass()
3642 offset = xlog_align(log, blk_no, hblks, hbp); in xlog_do_recovery_pass()
3671 BBTOB(hblks - split_hblks)); in xlog_do_recovery_pass()
3672 wrapped_hblks = hblks - split_hblks; in xlog_do_recovery_pass()
3676 XFS_BUF_SET_PTR(hbp, bufaddr, BBTOB(hblks)); in xlog_do_recovery_pass()
3688 blk_no += hblks; in xlog_do_recovery_pass()
3751 if ((error = xlog_bread(log, blk_no, hblks, hbp))) in xlog_do_recovery_pass()
3753 offset = xlog_align(log, blk_no, hblks, hbp); in xlog_do_recovery_pass()
3759 if ((error = xlog_bread(log, blk_no+hblks, bblks, dbp))) in xlog_do_recovery_pass()
3761 offset = xlog_align(log, blk_no+hblks, bblks, dbp); in xlog_do_recovery_pass()
3766 blk_no += bblks + hblks; in xlog_do_recovery_pass()