Home
last modified time | relevance | path

Searched refs:fail_nth (Results 1 – 4 of 4) sorted by relevance

/linux/lib/
H A Dfault-inject.c109 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 Dfault-injection.rst570 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 Dsched.h1400 unsigned int fail_nth; member
/linux/kernel/
H A Dfork.c1172 tsk->fail_nth = 0; in dup_task_struct()