Home
last modified time | relevance | path

Searched refs:write_buf (Results 1 – 1 of 1) sorted by relevance

/system/extras/tests/directiotest/
Ddirectiotest.c175 void *read_buf = NULL, *write_buf = NULL; in main() local
212 write_buf = pagealign_alloc(test_size); in main()
213 if (!read_buf || !write_buf) { in main()
238 init_test_buf(write_buf, cur_blk, test_size); in main()
240 if (do_write(fd, write_buf, cur_blk * blk_size, test_size) != in main()
251 if (memcmp(write_buf, read_buf, test_size)) { in main()
255 dump_hex(write_buf, test_size); in main()
268 if (write_buf) in main()
269 pagealign_free(write_buf, test_size); in main()