Searched refs:make_it_fail (Results 1 – 6 of 6) sorted by relevance
60 return in_task() && task->make_it_fail; in fail_task()
1363 int make_it_fail; in proc_fault_inject_read() local1367 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() local1390 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()
73 int make_it_fail; member
1336 int make_it_fail; member
1400 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()
671 return part->make_it_fail && should_fail(&fail_make_request, bytes); in should_fail_request()