Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 2 of 2) sorted by relevance

/fs/xfs/
Dxfs_sysfs.c352 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_show() local
354 if (cfg->max_retries == XFS_ERR_RETRY_FOREVER) in max_retries_show()
357 retries = cfg->max_retries; in max_retries_show()
368 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_store() local
380 cfg->max_retries = XFS_ERR_RETRY_FOREVER; in max_retries_store()
382 cfg->max_retries = val; in max_retries_store()
393 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_show() local
395 if (cfg->retry_timeout == XFS_ERR_RETRY_FOREVER) in retry_timeout_seconds_show()
398 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show()
409 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_store() local
[all …]
Dxfs_buf_item.c1076 struct xfs_error_cfg *cfg; in xfs_buf_iodone_callback_error() local
1099 cfg = xfs_error_get_cfg(mp, XFS_ERR_METADATA, bp->b_error); in xfs_buf_iodone_callback_error()
1112 if (cfg->retry_timeout != XFS_ERR_RETRY_FOREVER && in xfs_buf_iodone_callback_error()
1126 if (cfg->max_retries != XFS_ERR_RETRY_FOREVER && in xfs_buf_iodone_callback_error()
1127 ++bp->b_retries > cfg->max_retries) in xfs_buf_iodone_callback_error()
1129 if (cfg->retry_timeout != XFS_ERR_RETRY_FOREVER && in xfs_buf_iodone_callback_error()
1130 time_after(jiffies, cfg->retry_timeout + bp->b_first_retry_time)) in xfs_buf_iodone_callback_error()