Searched refs:NUMTHREAD (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/mem/mtest05/ |
D | mmstress.c | 113 #define NUMTHREAD 32 /* number of threads to spawn default to 32 */ macro 201 * (pages_num / NUMTHREAD) in thread_fault() 219 for (; pgnum_ndx < (pages_num / NUMTHREAD); pgnum_ndx++) { in thread_fault() 289 static pthread_t pthread_ids[NUMTHREAD]; in map_and_thread() 396 for (thrd_ndx = 0; thrd_ndx < NUMTHREAD; thrd_ndx++) { in map_and_thread() 450 return map_and_thread("./tmp.file.1", thread_fault, READ_FAULT, NUMTHREAD); in test1() 466 return map_and_thread("./tmp.file.2", thread_fault, WRITE_FAULT, NUMTHREAD); in test2() 483 return map_and_thread("./tmp.file.3", thread_fault, COW_FAULT, NUMTHREAD); in test3() 501 return map_and_thread("/dev/zero", thread_fault, COW_FAULT, NUMTHREAD); in test4() 541 } while (fork_ndx++ < NUMTHREAD); in test5() [all …]
|