Searched refs:fail_nth (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/lib/ |
D | fault-inject.c | 106 unsigned int fail_nth = READ_ONCE(current->fail_nth); in should_fail_ex() local 108 if (fail_nth) { in should_fail_ex() 109 fail_nth--; in should_fail_ex() 110 WRITE_ONCE(current->fail_nth, fail_nth); in should_fail_ex() 111 if (!fail_nth) in should_fail_ex()
|
/Linux-v6.1/Documentation/fault-injection/ |
D | fault-injection.rst | 439 int i, err, res, fail_nth, fds[2]; 444 fail_nth = open(buf, O_RDWR); 447 write(fail_nth, buf, strlen(buf)); 450 pread(fail_nth, buf, sizeof(buf), 0);
|
/Linux-v6.1/include/linux/ |
D | sched.h | 1337 unsigned int fail_nth; member
|
/Linux-v6.1/fs/proc/ |
D | base.c | 1407 task->fail_nth = n; in proc_fail_nth_write() 1423 len = snprintf(numbuf, sizeof(numbuf), "%u\n", task->fail_nth); in proc_fail_nth_read()
|
/Linux-v6.1/kernel/ |
D | fork.c | 1030 tsk->fail_nth = 0; in dup_task_struct()
|