Lines Matching refs:l_mp

260 		XFS_STATS_INC(log->l_mp, xs_sleep_logspace);  in xlog_grant_head_wait()
934 xfs_readonly_buftarg(log->l_mp->m_logdev_targp)) { in xfs_log_unmount_write()
1232 xfs_alert(log->l_mp, "xlog_space_left: head behind tail"); in xlog_space_left()
1233 xfs_alert(log->l_mp, in xlog_space_left()
1236 xfs_alert(log->l_mp, in xlog_space_left()
1264 if (XFS_TEST_ERROR(bp->b_error, l->l_mp, XFS_ERRTAG_IODONE_IOERR) || in xlog_iodone()
1271 xfs_force_shutdown(l->l_mp, SHUTDOWN_LOG_IO_ERROR); in xlog_iodone()
1382 struct xfs_mount *mp = log->l_mp; in xfs_log_worker()
1435 log->l_mp = mp; in xlog_alloc_log()
1548 xfs_sb_version_haslogv2(&log->l_mp->m_sb) ? 2 : 1); in xlog_alloc_log()
1604 struct xfs_mount *mp = log->l_mp; in xlog_commit_record()
1712 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_pack_data()
1749 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb)) { in xlog_cksum()
1845 int v2 = xfs_sb_version_haslogv2(&log->l_mp->m_sb); in xlog_sync()
1848 XFS_STATS_INC(log->l_mp, xs_log_writes); in xlog_sync()
1855 if (v2 && log->l_mp->m_sb.sb_logsunit > 1) { in xlog_sync()
1863 ASSERT((v2 && log->l_mp->m_sb.sb_logsunit > 1 && in xlog_sync()
1864 roundoff < log->l_mp->m_sb.sb_logsunit) in xlog_sync()
1866 (log->l_mp->m_sb.sb_logsunit <= 1 && in xlog_sync()
1885 XFS_STATS_ADD(log->l_mp, xs_log_blocks, BTOBB(count)); in xlog_sync()
1925 if (XFS_TEST_ERROR(false, log->l_mp, XFS_ERRTAG_LOG_BAD_CRC)) { in xlog_sync()
1928 xfs_warn(log->l_mp, in xlog_sync()
1946 if (log->l_mp->m_logdev_targp != log->l_mp->m_ddev_targp) in xlog_sync()
1947 xfs_blkdev_issue_flush(log->l_mp->m_ddev_targp); in xlog_sync()
2033 log->l_mp->m_log = NULL; in xlog_dealloc_log()
2257 xfs_warn(log->l_mp, in xlog_write_setup_ophdr()
2441 xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, in xlog_write()
2443 xlog_print_tic_res(log->l_mp, ticket); in xlog_write()
2444 xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERROR); in xlog_write()
2873 xfs_warn(log->l_mp, in xlog_state_do_callback()
3016 XFS_STATS_INC(log->l_mp, xs_log_noiclogs); in xlog_state_get_iclog_space()
3179 xfs_log_space_wake(log->l_mp); in xlog_ungrant_log_space()
3214 xfs_lsn_t tail_lsn = xlog_assign_tail_lsn(log->l_mp); in xlog_state_release_iclog()
3261 if (xfs_sb_version_haslogv2(&log->l_mp->m_sb) && in xlog_state_switch_iclogs()
3262 log->l_mp->m_sb.sb_logsunit > 1) { in xlog_state_switch_iclogs()
3263 uint32_t sunit_bb = BTOBB(log->l_mp->m_sb.sb_logsunit); in xlog_state_switch_iclogs()
3689 unit_res = xfs_log_calc_unit_res(log->l_mp, unit_bytes); in xlog_ticket_alloc()
3737 xfs_emerg(log->l_mp, "%s: invalid ptr", __func__); in xlog_verify_dest_ptr()
3763 xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, in xlog_verify_grant_tail()
3770 xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, in xlog_verify_grant_tail()
3790 xfs_emerg(log->l_mp, "%s: ran out of log space", __func__); in xlog_verify_tail_lsn()
3795 xfs_emerg(log->l_mp, "%s: tail wrapped", __func__); in xlog_verify_tail_lsn()
3799 xfs_emerg(log->l_mp, "%s: ran out of log space", __func__); in xlog_verify_tail_lsn()
3841 xfs_emerg(log->l_mp, "%s: corrupt iclog ring", __func__); in xlog_verify_iclog()
3846 xfs_emerg(log->l_mp, "%s: invalid magic num", __func__); in xlog_verify_iclog()
3852 xfs_emerg(log->l_mp, "%s: unexpected magic num", in xlog_verify_iclog()
3882 xfs_warn(log->l_mp, in xlog_verify_iclog()