Lines Matching refs:l_mp

253 		XFS_STATS_INC(log->l_mp, xs_sleep_logspace);  in xlog_grant_head_wait()
568 tail_lsn = xlog_assign_tail_lsn(log->l_mp); in xlog_state_release_iclog()
897 XFS_STATS_INC(log->l_mp, xs_log_force_sleep); in xlog_wait_on_iclog()
945 struct xfs_mount *mp = log->l_mp; in xlog_unmount_write()
1346 xfs_alert(log->l_mp, "xlog_space_left: head behind tail"); in xlog_space_left()
1347 xfs_alert(log->l_mp, " tail_cycle = %d, tail_bytes = %d", in xlog_space_left()
1349 xfs_alert(log->l_mp, " GH cycle = %d, GH bytes = %d", in xlog_space_left()
1375 if (XFS_TEST_ERROR(error, log->l_mp, XFS_ERRTAG_IODONE_IOERR)) { in xlog_ioend_work()
1376 xfs_alert(log->l_mp, "log I/O error %d", error); in xlog_ioend_work()
1377 xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERROR); in xlog_ioend_work()
1439 struct xfs_mount *mp = log->l_mp; in xlog_clear_incompat()
1466 struct xfs_mount *mp = log->l_mp; in xfs_log_worker()
1519 log->l_mp = mp; in xlog_alloc_log()
1608 xfs_has_logv2(log->l_mp) ? 2 : 1); in xlog_alloc_log()
1767 if (xfs_has_logv2(log->l_mp)) { in xlog_pack_data()
1804 if (xfs_has_logv2(log->l_mp)) { in xlog_cksum()
1907 if (log->l_targ != log->l_mp->m_ddev_targp) in xlog_write_iclog()
1908 blkdev_issue_flush(log->l_mp->m_ddev_targp->bt_bdev); in xlog_write_iclog()
1916 xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERROR); in xlog_write_iclog()
2031 if (xfs_has_logv2(log->l_mp)) in xlog_sync()
2035 XFS_STATS_INC(log->l_mp, xs_log_writes); in xlog_sync()
2036 XFS_STATS_ADD(log->l_mp, xs_log_blocks, BTOBB(count)); in xlog_sync()
2055 if (XFS_TEST_ERROR(false, log->l_mp, XFS_ERRTAG_LOG_BAD_CRC)) { in xlog_sync()
2058 xfs_warn(log->l_mp, in xlog_sync()
2098 log->l_mp->m_log = NULL; in xlog_dealloc_log()
2314 xfs_warn(log->l_mp, in xlog_write_setup_ophdr()
2488 xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, in xlog_write()
2490 xlog_print_tic_res(log->l_mp, ticket); in xlog_write()
2491 xfs_force_shutdown(log->l_mp, SHUTDOWN_LOG_IO_ERROR); in xlog_write()
2915 xfs_warn(log->l_mp, in xlog_state_do_callback()
3004 XFS_STATS_INC(log->l_mp, xs_log_noiclogs); in xlog_state_get_iclog_space()
3167 xfs_log_space_wake(log->l_mp); in xfs_log_ticket_ungrant()
3656 xfs_emerg(log->l_mp, "%s: invalid ptr", __func__); in xlog_verify_dest_ptr()
3682 xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, in xlog_verify_grant_tail()
3688 xfs_alert_tag(log->l_mp, XFS_PTAG_LOGRES, in xlog_verify_grant_tail()
3707 xfs_emerg(log->l_mp, "%s: ran out of log space", __func__); in xlog_verify_tail_lsn()
3712 xfs_emerg(log->l_mp, "%s: tail wrapped", __func__); in xlog_verify_tail_lsn()
3716 xfs_emerg(log->l_mp, "%s: ran out of log space", __func__); in xlog_verify_tail_lsn()
3757 xfs_emerg(log->l_mp, "%s: corrupt iclog ring", __func__); in xlog_verify_iclog()
3762 xfs_emerg(log->l_mp, "%s: invalid magic num", __func__); in xlog_verify_iclog()
3768 xfs_emerg(log->l_mp, "%s: unexpected magic num", in xlog_verify_iclog()
3798 xfs_warn(log->l_mp, in xlog_verify_iclog()
3866 xfs_log_force(log->l_mp, XFS_LOG_SYNC); in xlog_force_shutdown()