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 263 * (pages_num / NUMTHREAD) in thread_fault() 282 for (; pgnum_ndx < (pages_num / NUMTHREAD); pgnum_ndx++) { in thread_fault() 369 static pthread_t pthread_ids[NUMTHREAD]; in map_and_thread() 481 for (thrd_ndx = 0; thrd_ndx < NUMTHREAD; thrd_ndx++) { in map_and_thread() 547 map_and_thread("./tmp.file.1", thread_fault, READ_FAULT, NUMTHREAD, in test1() 574 map_and_thread("./tmp.file.2", thread_fault, WRITE_FAULT, NUMTHREAD, in test2() 601 map_and_thread("./tmp.file.3", thread_fault, COW_FAULT, NUMTHREAD, in test3() 629 map_and_thread("/dev/zero", thread_fault, COW_FAULT, NUMTHREAD, in test4() 677 } while (fork_ndx++ < NUMTHREAD); in test5() [all …]
|