Searched refs:fail_nth (Results 1 – 4 of 4) sorted by relevance
/linux/lib/ |
H A D | fault-inject.c | 109 unsigned int fail_nth = READ_ONCE(current->fail_nth); in should_fail_ex() local 111 if (fail_nth) { in should_fail_ex() 116 fail_nth--; in should_fail_ex() 117 WRITE_ONCE(current->fail_nth, fail_nth); in should_fail_ex() 118 if (!fail_nth) in should_fail_ex()
|
/linux/Documentation/fault-injection/ |
H A D | fault-injection.rst | 570 int i, err, res, fail_nth, fds[2]; 575 fail_nth = open(buf, O_RDWR); 578 write(fail_nth, buf, strlen(buf)); 581 pread(fail_nth, buf, sizeof(buf), 0);
|
/linux/include/linux/ |
H A D | sched.h | 1400 unsigned int fail_nth; member
|
/linux/kernel/ |
H A D | fork.c | 1172 tsk->fail_nth = 0; in dup_task_struct()
|