Searched refs:fail_nth (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/lib/ |
A D | fault-inject.c | 108 unsigned int fail_nth = READ_ONCE(current->fail_nth); in should_fail_ex() local 110 if (fail_nth) { in should_fail_ex() 115 fail_nth--; in should_fail_ex() 116 WRITE_ONCE(current->fail_nth, fail_nth); in should_fail_ex() 117 if (!fail_nth) in should_fail_ex()
|
/linux-6.3-rc2/Documentation/fault-injection/ |
A D | fault-injection.rst | 502 int i, err, res, fail_nth, fds[2]; 507 fail_nth = open(buf, O_RDWR); 510 write(fail_nth, buf, strlen(buf)); 513 pread(fail_nth, buf, sizeof(buf), 0);
|
/linux-6.3-rc2/include/linux/ |
A D | sched.h | 1337 unsigned int fail_nth; member
|
/linux-6.3-rc2/fs/proc/ |
A 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-6.3-rc2/kernel/ |
A D | fork.c | 1040 tsk->fail_nth = 0; in dup_task_struct()
|
Completed in 25 milliseconds