/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_log_recover.c | 504 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local 542 last_blk = head_blk = log_bbnum - 1; /* get cycle # of last block */ in xlog_find_head() 553 * case, head_blk can't be set to zero (which makes sense). The below in xlog_find_head() 554 * math doesn't work out properly with head_blk equal to zero. Instead, in xlog_find_head() 556 * value makes the math correct. If head_blk doesn't changed through in xlog_find_head() 557 * all the tests below, *head_blk is set to zero at the very end rather in xlog_find_head() 587 head_blk = log_bbnum; in xlog_find_head() 613 error = xlog_find_cycle_start(log, buffer, first_blk, &head_blk, in xlog_find_head() 627 if (head_blk >= num_scan_bblks) { in xlog_find_head() 632 start_blk = head_blk in xlog_find_head() 763 xlog_rseek_logrec_hdr( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk, int count, char *buffer, xfs_daddr_t *rblk, struct xlog_rec_header **rhead, bool *wrapped) xlog_rseek_logrec_hdr() argument 837 xlog_seek_logrec_hdr( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk, int count, char *buffer, xfs_daddr_t *rblk, struct xlog_rec_header **rhead, bool *wrapped) xlog_seek_logrec_hdr() argument 904 xlog_tail_distance( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk) xlog_tail_distance() argument 935 xlog_verify_tail( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t *tail_blk, int hsize) xlog_verify_tail() argument 1020 xlog_verify_head( struct xlog *log, xfs_daddr_t *head_blk, xfs_daddr_t *tail_blk, char *buffer, xfs_daddr_t *rhead_blk, struct xlog_rec_header **rhead, bool *wrapped) xlog_verify_head() argument 1133 xlog_check_unmount_rec( struct xlog *log, xfs_daddr_t *head_blk, xfs_daddr_t *tail_blk, struct xlog_rec_header *rhead, xfs_daddr_t rhead_blk, char *buffer, bool *clean) xlog_check_unmount_rec() argument 1192 xlog_set_state( struct xlog *log, xfs_daddr_t head_blk, struct xlog_rec_header *rhead, xfs_daddr_t rhead_blk, bool bump_cycle) xlog_set_state() argument 1239 xlog_find_tail( struct xlog *log, xfs_daddr_t *head_blk, xfs_daddr_t *tail_blk) xlog_find_tail() argument 2947 xlog_do_recovery_pass( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk, int pass, xfs_daddr_t *first_bad) xlog_do_recovery_pass() argument 3239 xlog_do_log_recovery( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk) xlog_do_log_recovery() argument 3278 xlog_do_recover( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk) xlog_do_recover() argument 3356 xfs_daddr_t head_blk, tail_blk; xlog_recover() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_log_recover.c | 510 xfs_daddr_t new_blk, first_blk, start_blk, last_blk, head_blk; in xlog_find_head() local 548 last_blk = head_blk = log_bbnum - 1; /* get cycle # of last block */ in xlog_find_head() 559 * case, head_blk can't be set to zero (which makes sense). The below in xlog_find_head() 560 * math doesn't work out properly with head_blk equal to zero. Instead, in xlog_find_head() 562 * value makes the math correct. If head_blk doesn't changed through in xlog_find_head() 563 * all the tests below, *head_blk is set to zero at the very end rather in xlog_find_head() 593 head_blk = log_bbnum; in xlog_find_head() 619 error = xlog_find_cycle_start(log, buffer, first_blk, &head_blk, in xlog_find_head() 633 if (head_blk >= num_scan_bblks) { in xlog_find_head() 638 start_blk = head_blk in xlog_find_head() 769 xlog_rseek_logrec_hdr( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk, int count, char *buffer, xfs_daddr_t *rblk, struct xlog_rec_header **rhead, bool *wrapped) xlog_rseek_logrec_hdr() argument 843 xlog_seek_logrec_hdr( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk, int count, char *buffer, xfs_daddr_t *rblk, struct xlog_rec_header **rhead, bool *wrapped) xlog_seek_logrec_hdr() argument 910 xlog_tail_distance( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk) xlog_tail_distance() argument 941 xlog_verify_tail( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t *tail_blk, int hsize) xlog_verify_tail() argument 1026 xlog_verify_head( struct xlog *log, xfs_daddr_t *head_blk, xfs_daddr_t *tail_blk, char *buffer, xfs_daddr_t *rhead_blk, struct xlog_rec_header **rhead, bool *wrapped) xlog_verify_head() argument 1139 xlog_check_unmount_rec( struct xlog *log, xfs_daddr_t *head_blk, xfs_daddr_t *tail_blk, struct xlog_rec_header *rhead, xfs_daddr_t rhead_blk, char *buffer, bool *clean) xlog_check_unmount_rec() argument 1198 xlog_set_state( struct xlog *log, xfs_daddr_t head_blk, struct xlog_rec_header *rhead, xfs_daddr_t rhead_blk, bool bump_cycle) xlog_set_state() argument 1245 xlog_find_tail( struct xlog *log, xfs_daddr_t *head_blk, xfs_daddr_t *tail_blk) xlog_find_tail() argument 2928 xlog_do_recovery_pass( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk, int pass, xfs_daddr_t *first_bad) xlog_do_recovery_pass() argument 3228 xlog_do_log_recovery( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk) xlog_do_log_recovery() argument 3279 xlog_do_recover( struct xlog *log, xfs_daddr_t head_blk, xfs_daddr_t tail_blk) xlog_do_recover() argument 3360 xfs_daddr_t head_blk, tail_blk; xlog_recover() local [all...] |