Searched refs:make_it_fail (Results 1 – 3 of 3) sorted by relevance
1345 int make_it_fail; in proc_fault_inject_read() local1349 make_it_fail = task->make_it_fail; in proc_fault_inject_read()1352 len = snprintf(buffer, sizeof(buffer), "%i\n", make_it_fail); in proc_fault_inject_read()1362 int make_it_fail; in proc_fault_inject_write() local1372 rv = kstrtoint(strstrip(buffer), 0, &make_it_fail); in proc_fault_inject_write()1375 if (make_it_fail < 0 || make_it_fail > 1) in proc_fault_inject_write()1381 task->make_it_fail = make_it_fail; in proc_fault_inject_write()
60 return in_task() && task->make_it_fail; in fail_task()
1338 int make_it_fail; member