Lines Matching full:notify
41 const struct xfs_failure_info *notify) in xfs_failure_pgoff() argument
45 if (notify->startblock > rec->rm_startblock) in xfs_failure_pgoff()
47 notify->startblock - rec->rm_startblock); in xfs_failure_pgoff()
55 const struct xfs_failure_info *notify) in xfs_failure_pgcnt() argument
62 start_cross = max(rec->rm_startblock, notify->startblock); in xfs_failure_pgcnt()
65 end_notify = notify->startblock + notify->blockcount; in xfs_failure_pgcnt()
79 struct xfs_failure_info *notify = data; in xfs_dax_failure_fn() local
88 if (notify->mf_flags & MF_MEM_PRE_REMOVE) in xfs_dax_failure_fn()
90 notify->want_shutdown = true; in xfs_dax_failure_fn()
101 notify->want_shutdown = true; in xfs_dax_failure_fn()
106 pgoff = xfs_failure_pgoff(mp, rec, notify); in xfs_dax_failure_fn()
107 pgcnt = xfs_failure_pgcnt(mp, rec, notify); in xfs_dax_failure_fn()
112 notify->mf_flags); in xfs_dax_failure_fn()
115 if (notify->mf_flags & MF_MEM_PRE_REMOVE) in xfs_dax_failure_fn()
148 xfs_emerg(mp, "still frozen after notify failure, err=%d", in xfs_dax_notify_failure_thaw()
171 /* Notify failure on the whole device. */ in xfs_dax_translate_range()
240 struct xfs_failure_info notify = { .mf_flags = mf_flags }; in xfs_dax_notify_dev_failure() local
323 notify.startblock = ri_low.rm_startblock; in xfs_dax_notify_dev_failure()
324 notify.blockcount = min(xg->xg_block_count, in xfs_dax_notify_dev_failure()
329 xfs_dax_failure_fn, ¬ify); in xfs_dax_notify_dev_failure()
346 * CORRUPT flag if error occured or notify.want_shutdown was set during in xfs_dax_notify_dev_failure()
351 else if (error || notify.want_shutdown) { in xfs_dax_notify_dev_failure()