Lines Matching refs:notify
38 const struct xfs_failure_info *notify) in xfs_failure_pgoff() argument
42 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff()
44 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff()
52 const struct xfs_failure_info *notify) in xfs_failure_pgcnt() argument
59 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt()
62 end_notify = notify->startblock + notify->blockcount; in xfs_failure_pgcnt()
76 struct xfs_failure_info *notify = data; in xfs_dax_failure_fn() local
85 if (notify->mf_flags & MF_MEM_PRE_REMOVE) in xfs_dax_failure_fn()
87 notify->want_shutdown = true; in xfs_dax_failure_fn()
98 notify->want_shutdown = true; in xfs_dax_failure_fn()
103 pgoff = xfs_failure_pgoff(mp, rec, notify); in xfs_dax_failure_fn()
104 pgcnt = xfs_failure_pgcnt(mp, rec, notify); in xfs_dax_failure_fn()
109 notify->mf_flags); in xfs_dax_failure_fn()
112 if (notify->mf_flags & MF_MEM_PRE_REMOVE) in xfs_dax_failure_fn()
163 struct xfs_failure_info notify = { .mf_flags = mf_flags }; in xfs_dax_notify_ddev_failure() local
220 notify.startblock = ri_low.rm_startblock; in xfs_dax_notify_ddev_failure()
221 notify.blockcount = range_agend + 1 - ri_low.rm_startblock; in xfs_dax_notify_ddev_failure()
224 xfs_dax_failure_fn, ¬ify); in xfs_dax_notify_ddev_failure()
244 else if (error || notify.want_shutdown) { in xfs_dax_notify_ddev_failure()