• Home
  • Raw
  • Download

Lines Matching refs:mp

57 	xfs_mount_t	*mp;  in xfs_write_clear_setuid()  local
61 mp = ip->i_mount; in xfs_write_clear_setuid()
62 tp = xfs_trans_alloc(mp, XFS_TRANS_WRITEID); in xfs_write_clear_setuid()
64 XFS_WRITEID_LOG_RES(mp), in xfs_write_clear_setuid()
96 xfs_mount_t *mp, in xfs_write_sync_logforce() argument
105 if (!(mp->m_flags & XFS_MOUNT_OSYNCISOSYNC) && in xfs_write_sync_logforce()
129 error = _xfs_log_force(mp, iip->ili_last_lsn, in xfs_write_sync_logforce()
132 error = _xfs_log_force(mp, (xfs_lsn_t)0, in xfs_write_sync_logforce()
154 tp = xfs_trans_alloc(mp, XFS_TRANS_WRITE_SYNC); in xfs_write_sync_logforce()
156 XFS_SWRITE_LOG_RES(mp), in xfs_write_sync_logforce()
183 xfs_mount_t *mp, in xfs_do_force_shutdown() argument
195 mp->m_fsname, flags, lnnum, fname, __return_address); in xfs_do_force_shutdown()
200 if (XFS_FORCED_SHUTDOWN(mp) && !logerror) in xfs_do_force_shutdown()
209 if (xfs_log_force_umount(mp, logerror)) in xfs_do_force_shutdown()
213 xfs_cmn_err(XFS_PTAG_SHUTDOWN_CORRUPT, CE_ALERT, mp, in xfs_do_force_shutdown()
215 mp->m_fsname); in xfs_do_force_shutdown()
221 xfs_cmn_err(XFS_PTAG_SHUTDOWN_LOGERROR, CE_ALERT, mp, in xfs_do_force_shutdown()
223 mp->m_fsname); in xfs_do_force_shutdown()
225 xfs_cmn_err(XFS_PTAG_SHUTDOWN_IOERROR, CE_ALERT, mp, in xfs_do_force_shutdown()
227 mp->m_fsname); in xfs_do_force_shutdown()
229 xfs_cmn_err(XFS_PTAG_SHUTDOWN_IOERROR, CE_ALERT, mp, in xfs_do_force_shutdown()
231 mp->m_fsname); in xfs_do_force_shutdown()
330 struct xfs_mount *mp, in xfs_ioerror_alert() argument
337 (!mp || !mp->m_fsname) ? "(fs name not set)" : mp->m_fsname, in xfs_ioerror_alert()
355 struct xfs_mount *mp, in xfs_read_buf() argument
372 if (bp && !error && !XFS_FORCED_SHUTDOWN(mp)) { in xfs_read_buf()
377 xfs_ioerror_alert("xfs_read_buf", mp, bp, XFS_BUF_ADDR(bp)); in xfs_read_buf()
400 struct xfs_mount *mp, in xfs_bwrite() argument
409 bp->b_mount = mp; in xfs_bwrite()
413 ASSERT(mp); in xfs_bwrite()
420 xfs_force_shutdown(mp, SHUTDOWN_META_IO_ERROR); in xfs_bwrite()