Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_sysfs.c449 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_show() local
451 if (cfg->max_retries == XFS_ERR_RETRY_FOREVER) in max_retries_show()
454 retries = cfg->max_retries; in max_retries_show()
465 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_store() local
477 cfg->max_retries = XFS_ERR_RETRY_FOREVER; in max_retries_store()
479 cfg->max_retries = val; in max_retries_store()
490 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_show() local
492 if (cfg->retry_timeout == XFS_ERR_RETRY_FOREVER) in retry_timeout_seconds_show()
495 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show()
506 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in retry_timeout_seconds_store() local
[all …]
Dxfs_buf.c1177 struct xfs_error_cfg *cfg) in xfs_buf_ioerror_permanent() argument
1181 if (cfg->max_retries != XFS_ERR_RETRY_FOREVER && in xfs_buf_ioerror_permanent()
1182 ++bp->b_retries > cfg->max_retries) in xfs_buf_ioerror_permanent()
1184 if (cfg->retry_timeout != XFS_ERR_RETRY_FOREVER && in xfs_buf_ioerror_permanent()
1185 time_after(jiffies, cfg->retry_timeout + bp->b_first_retry_time)) in xfs_buf_ioerror_permanent()
1217 struct xfs_error_cfg *cfg; in xfs_buf_ioend_handle_error() local
1245 cfg = xfs_error_get_cfg(mp, XFS_ERR_METADATA, bp->b_error); in xfs_buf_ioend_handle_error()
1249 if (cfg->retry_timeout != XFS_ERR_RETRY_FOREVER && in xfs_buf_ioend_handle_error()
1259 if (xfs_buf_ioerror_permanent(bp, cfg)) { in xfs_buf_ioend_handle_error()
/fs/crypto/
Dinline_crypt.c74 const struct blk_crypto_config *cfg) in fscrypt_log_blk_crypto_impl() argument
80 blk_crypto_config_supported_natively(devs[i], cfg)) { in fscrypt_log_blk_crypto_impl()