Searched refs:fail_nth (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/lib/ |
| 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 if (!WRITE_ONCE(current->fail_nth, fail_nth - 1)) in should_fail()
|
| /Linux-v5.4/Documentation/fault-injection/ |
| D | fault-injection.rst | 405 int i, err, res, fail_nth, fds[2]; 410 fail_nth = open(buf, O_RDWR); 413 write(fail_nth, buf, strlen(buf)); 416 pread(fail_nth, buf, sizeof(buf), 0);
|
| /Linux-v5.4/include/linux/ |
| D | sched.h | 1150 unsigned int fail_nth; member
|
| /Linux-v5.4/fs/proc/ |
| D | base.c | 1381 task->fail_nth = n; in proc_fail_nth_write() 1397 len = snprintf(numbuf, sizeof(numbuf), "%u\n", task->fail_nth); in proc_fail_nth_read()
|
| /Linux-v5.4/kernel/ |
| D | fork.c | 936 tsk->fail_nth = 0; in dup_task_struct()
|