Searched refs:fail_nth (Results 1 – 5 of 5) sorted by relevance
/linux/lib/ |
A D | fault-inject.c | 106 unsigned int fail_nth = READ_ONCE(current->fail_nth); in should_fail() local 108 if (fail_nth) { in should_fail() 109 fail_nth--; in should_fail() 110 WRITE_ONCE(current->fail_nth, fail_nth); in should_fail() 111 if (!fail_nth) in should_fail()
|
/linux/Documentation/fault-injection/ |
A D | fault-injection.rst | 432 int i, err, res, fail_nth, fds[2]; 437 fail_nth = open(buf, O_RDWR); 440 write(fail_nth, buf, strlen(buf)); 443 pread(fail_nth, buf, sizeof(buf), 0);
|
/linux/include/linux/ |
A D | sched.h | 1311 unsigned int fail_nth; member
|
/linux/fs/proc/ |
A D | base.c | 1408 task->fail_nth = n; in proc_fail_nth_write() 1424 len = snprintf(numbuf, sizeof(numbuf), "%u\n", task->fail_nth); in proc_fail_nth_read()
|
/linux/kernel/ |
A D | fork.c | 961 tsk->fail_nth = 0; in dup_task_struct()
|
Completed in 22 milliseconds