Lines Matching refs:tail_lsn
574 xfs_lsn_t tail_lsn; in xlog_state_release_iclog() local
589 tail_lsn = xlog_assign_tail_lsn(log->l_mp); in xlog_state_release_iclog()
590 iclog->ic_header.h_tail_lsn = cpu_to_be64(tail_lsn); in xlog_state_release_iclog()
1291 xfs_lsn_t tail_lsn; in xlog_assign_tail_lsn_locked() local
1302 tail_lsn = lip->li_lsn; in xlog_assign_tail_lsn_locked()
1304 tail_lsn = atomic64_read(&log->l_last_sync_lsn); in xlog_assign_tail_lsn_locked()
1305 trace_xfs_log_assign_tail_lsn(log, tail_lsn); in xlog_assign_tail_lsn_locked()
1306 atomic64_set(&log->l_tail_lsn, tail_lsn); in xlog_assign_tail_lsn_locked()
1307 return tail_lsn; in xlog_assign_tail_lsn_locked()
1314 xfs_lsn_t tail_lsn; in xlog_assign_tail_lsn() local
1317 tail_lsn = xlog_assign_tail_lsn_locked(mp); in xlog_assign_tail_lsn()
1320 return tail_lsn; in xlog_assign_tail_lsn()
3596 xfs_lsn_t tail_lsn = be64_to_cpu(iclog->ic_header.h_tail_lsn); in xlog_verify_tail_lsn() local
3599 if (CYCLE_LSN(tail_lsn) == log->l_prev_cycle) { in xlog_verify_tail_lsn()
3601 log->l_logBBsize - (log->l_prev_block - BLOCK_LSN(tail_lsn)); in xlog_verify_tail_lsn()
3605 ASSERT(CYCLE_LSN(tail_lsn)+1 == log->l_prev_cycle); in xlog_verify_tail_lsn()
3607 if (BLOCK_LSN(tail_lsn) == log->l_prev_block) in xlog_verify_tail_lsn()
3610 blocks = BLOCK_LSN(tail_lsn) - log->l_prev_block; in xlog_verify_tail_lsn()