Lines Matching refs:safemode_delay
2972 int msec = (mddev->safemode_delay*1000)/HZ; in safe_delay_show()
2983 mddev->safemode_delay = 0; in safe_delay_store()
2985 unsigned long old_delay = mddev->safemode_delay; in safe_delay_store()
2986 mddev->safemode_delay = (msec*HZ)/1000; in safe_delay_store()
2987 if (mddev->safemode_delay == 0) in safe_delay_store()
2988 mddev->safemode_delay = 1; in safe_delay_store()
2989 if (mddev->safemode_delay < old_delay) in safe_delay_store()
3133 mddev->safemode_delay = 0; in level_store()
4600 mddev->safemode_delay = (200 * HZ)/1000 +1; /* 200 msec delay */ in md_run()
6659 else if (mddev->safemode_delay) in md_write_end()
6660 mod_timer(&mddev->safemode_timer, jiffies + mddev->safemode_delay); in md_write_end()
6687 if (mddev->safemode_delay && in md_allow_write()