Home
last modified time | relevance | path

Searched refs:make_it_fail (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/lib/
Dfault-inject.c60 return in_task() && task->make_it_fail; in fail_task()
/kernel/linux/linux-5.10/fs/proc/
Dbase.c1363 int make_it_fail; in proc_fault_inject_read() local
1367 make_it_fail = task->make_it_fail; in proc_fault_inject_read()
1370 len = snprintf(buffer, sizeof(buffer), "%i\n", make_it_fail); in proc_fault_inject_read()
1380 int make_it_fail; in proc_fault_inject_write() local
1390 rv = kstrtoint(strstrip(buffer), 0, &make_it_fail); in proc_fault_inject_write()
1393 if (make_it_fail < 0 || make_it_fail > 1) in proc_fault_inject_write()
1399 task->make_it_fail = make_it_fail; in proc_fault_inject_write()
/kernel/linux/linux-5.10/include/linux/
Dgenhd.h73 int make_it_fail; member
Dsched.h1336 int make_it_fail; member
/kernel/linux/linux-5.10/block/
Dgenhd.c1400 return sprintf(buf, "%d\n", p->make_it_fail); in part_fail_show()
1411 p->make_it_fail = (i == 0) ? 0 : 1; in part_fail_store()
Dblk-core.c671 return part->make_it_fail && should_fail(&fail_make_request, bytes); in should_fail_request()