• Home
  • Raw
  • Download

Lines Matching refs:val

86 	int			val;  in bug_on_assert_store()  local
88 ret = kstrtoint(buf, 0, &val); in bug_on_assert_store()
92 if (val == 1) in bug_on_assert_store()
94 else if (val == 0) in bug_on_assert_store()
118 int val; in log_recovery_delay_store() local
120 ret = kstrtoint(buf, 0, &val); in log_recovery_delay_store()
124 if (val < 0 || val > 60) in log_recovery_delay_store()
127 xfs_globals.log_recovery_delay = val; in log_recovery_delay_store()
148 int val; in mount_delay_store() local
150 ret = kstrtoint(buf, 0, &val); in mount_delay_store()
154 if (val < 0 || val > 60) in mount_delay_store()
157 xfs_globals.mount_delay = val; in mount_delay_store()
207 int val; in pwork_threads_store() local
209 ret = kstrtoint(buf, 0, &val); in pwork_threads_store()
213 if (val < -1 || val > num_possible_cpus()) in pwork_threads_store()
216 xfs_globals.pwork_threads = val; in pwork_threads_store()
278 int val; in stats_clear_store() local
281 ret = kstrtoint(buf, 0, &val); in stats_clear_store()
285 if (val != 1) in stats_clear_store()
438 int val; in max_retries_store() local
440 ret = kstrtoint(buf, 0, &val); in max_retries_store()
444 if (val < -1) in max_retries_store()
447 if (val == -1) in max_retries_store()
450 cfg->max_retries = val; in max_retries_store()
479 int val; in retry_timeout_seconds_store() local
481 ret = kstrtoint(buf, 0, &val); in retry_timeout_seconds_store()
486 if (val < -1 || val > 86400) in retry_timeout_seconds_store()
489 if (val == -1) in retry_timeout_seconds_store()
492 cfg->retry_timeout = msecs_to_jiffies(val * MSEC_PER_SEC); in retry_timeout_seconds_store()
493 ASSERT(msecs_to_jiffies(val * MSEC_PER_SEC) < LONG_MAX); in retry_timeout_seconds_store()
517 int val; in fail_at_unmount_store() local
519 ret = kstrtoint(buf, 0, &val); in fail_at_unmount_store()
523 if (val < 0 || val > 1) in fail_at_unmount_store()
526 mp->m_fail_unmount = val; in fail_at_unmount_store()