Searched refs:should_fault_inject (Results 1 – 3 of 3) sorted by relevance
40 if (should_fault_inject(OTAIO_READ)) { in ota_set_fault_files()43 if (should_fault_inject(OTAIO_WRITE)) { in ota_set_fault_files()46 if (should_fault_inject(OTAIO_FSYNC)) { in ota_set_fault_files()83 if (should_fault_inject(OTAIO_READ)) { in ota_fread()102 if (should_fault_inject(OTAIO_READ)) { in ota_read()121 if (should_fault_inject(OTAIO_WRITE)) { in ota_fwrite()140 if (should_fault_inject(OTAIO_WRITE)) { in ota_write()159 if (should_fault_inject(OTAIO_FSYNC)) { in ota_fsync()
43 bool should_fault_inject(const char* io_type) { in should_fault_inject() function59 return should_fault_inject(OTAIO_CACHE); in should_hit_cache()
60 bool should_fault_inject(const char* io_type);