Searched refs:make_it_fail (Results 1 – 3 of 3) sorted by relevance
1404 int make_it_fail; in proc_fault_inject_read() local1408 make_it_fail = task->make_it_fail; in proc_fault_inject_read()1411 len = snprintf(buffer, sizeof(buffer), "%i\n", make_it_fail); in proc_fault_inject_read()1421 int make_it_fail; in proc_fault_inject_write() local1431 rv = kstrtoint(strstrip(buffer), 0, &make_it_fail); in proc_fault_inject_write()1434 if (make_it_fail < 0 || make_it_fail > 1) in proc_fault_inject_write()1440 task->make_it_fail = make_it_fail; in proc_fault_inject_write()
60 return in_task() && task->make_it_fail; in fail_task()
1344 int make_it_fail; member