Searched refs:cfg (Results 1 – 3 of 3) sorted by relevance
449 struct xfs_error_cfg *cfg = to_error_cfg(kobject); in max_retries_show() local451 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() local477 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() local492 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 …]
1177 struct xfs_error_cfg *cfg) in xfs_buf_ioerror_permanent() argument1181 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() local1245 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()
74 const struct blk_crypto_config *cfg) in fscrypt_log_blk_crypto_impl() argument80 blk_crypto_config_supported_natively(devs[i], cfg)) { in fscrypt_log_blk_crypto_impl()