Searched refs:o_sync (Results 1 - 1 of 1) sorted by relevance

/system/extras/tests/ext4/
H A Drand_emmc_perf.c187 int o_sync = 0; local
211 o_sync = O_SYNC;
229 if (o_sync && !write_mode) {
230 /* Can only specify o_sync in write mode. Probably doesn't matter,
231 * but clear o_sync if in read mode */
232 o_sync = 0;
242 if ((fd = open(argv[optind + 1], O_RDWR | o_sync)) < 0) {

Completed in 113 milliseconds