Searched refs:should_fault_inject (Results 1 – 3 of 3) sorted by relevance
48 if (should_fault_inject(OTAIO_READ)) { in ota_set_fault_files()51 if (should_fault_inject(OTAIO_WRITE)) { in ota_set_fault_files()54 if (should_fault_inject(OTAIO_FSYNC)) { in ota_set_fault_files()113 if (should_fault_inject(OTAIO_READ)) { in ota_fread()134 if (should_fault_inject(OTAIO_READ)) { in ota_read()154 if (should_fault_inject(OTAIO_WRITE)) { in ota_fwrite()174 if (should_fault_inject(OTAIO_WRITE)) { in ota_write()194 if (should_fault_inject(OTAIO_FSYNC)) { in ota_fsync()
43 bool should_fault_inject(const char* io_type) { in should_fault_inject() function61 return should_fault_inject(OTAIO_CACHE); in should_hit_cache()
58 bool should_fault_inject(const char* io_type);