Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/mtest05/
H A Dmmstress.c112 #define COW_FAULT 2 /* instructs routine to simulate copy-on-write fault */ macro
336 map_type = (fault_type == COW_FAULT) ? MAP_PRIVATE : MAP_SHARED; in map_and_thread()
338 /* Map the file, if the required fault type is COW_FAULT map the file */ in map_and_thread()
501 return map_and_thread("./tmp.file.3", thread_fault, COW_FAULT, NUMTHREAD); in test3()
519 return map_and_thread("/dev/zero", thread_fault, COW_FAULT, NUMTHREAD); in test4()

Completed in 2 milliseconds