Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/mtest05/
H A Dmmstress.c286 char *empty_buf = NULL; /* empty buffer used to fill temp file */ in map_and_thread() local
309 empty_buf = malloc(pagesize * pages_num); in map_and_thread()
310 if (!empty_buf) { in map_and_thread()
324 bytes = write(fd, empty_buf + written, in map_and_thread()
328 free(empty_buf); in map_and_thread()
349 free(empty_buf); in map_and_thread()
393 free(empty_buf); in map_and_thread()
417 free(empty_buf); in map_and_thread()
427 free(empty_buf); in map_and_thread()
446 free(empty_buf); in map_and_thread()
[all...]

Completed in 2 milliseconds