Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dfault-inject.c111 unsigned int fail_nth = READ_ONCE(current->fail_nth); in should_fail() local
113 if (fail_nth) { in should_fail()
114 if (!WRITE_ONCE(current->fail_nth, fail_nth - 1)) in should_fail()
/Linux-v4.19/Documentation/fault-injection/
Dfault-injection.txt394 int i, err, res, fail_nth, fds[2];
399 fail_nth = open(buf, O_RDWR);
402 write(fail_nth, buf, strlen(buf));
405 pread(fail_nth, buf, sizeof(buf), 0);
/Linux-v4.19/include/linux/
Dsched.h1082 unsigned int fail_nth; member
/Linux-v4.19/fs/proc/
Dbase.c1366 task->fail_nth = n; in proc_fail_nth_write()
1382 len = snprintf(numbuf, sizeof(numbuf), "%u\n", task->fail_nth); in proc_fail_nth_read()
/Linux-v4.19/kernel/
Dfork.c866 tsk->fail_nth = 0; in dup_task_struct()