Searched refs:MADV_POISON (Results 1 - 11 of 11) sorted by relevance
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tkillpoison.c | 8 #define MADV_POISON 100 macro 15 madvise(ptr, PS, MADV_POISON); in main()
|
H A D | tprctl.c | 15 #define MADV_POISON 100 macro 51 if (madvise(ptr, PS, MADV_POISON) < 0) in test() 52 err("MADV_POISON"); in test()
|
H A D | tsimpleinj.c | 19 #define MADV_POISON 100 macro 44 if (madvise(page, PS, MADV_POISON) != 0) { in testmem()
|
H A D | ttranshuge.c | 74 #define MADV_POISON 100 macro 252 if (madvise((void *)corrupt_page_addr, DEFAULT_PS, MADV_POISON) != 0) { in do_injection()
|
H A D | tinjpage.c | 43 #define MADV_POISON 100 macro 166 if (madvise(page, PS, MADV_POISON) != 0) { in inject_madvise()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tkillpoison.c | 8 #define MADV_POISON 100 macro 15 madvise(ptr, PS, MADV_POISON); in main()
|
H A D | tprctl.c | 15 #define MADV_POISON 100 macro 51 if (madvise(ptr, PS, MADV_POISON) < 0) in test() 52 err("MADV_POISON"); in test()
|
H A D | ttranshuge.c | 74 #define MADV_POISON 100 macro 252 if (madvise((void *)corrupt_page_addr, DEFAULT_PS, MADV_POISON) != 0) { in do_injection()
|
H A D | tsimpleinj.c | 19 #define MADV_POISON 100 macro 44 if (madvise(page, PS, MADV_POISON) != 0) { in testmem()
|
H A D | tinjpage.c | 43 #define MADV_POISON 100 macro 166 if (madvise(page, PS, MADV_POISON) != 0) { in inject_madvise()
|
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
H A D | page-poisoning.c | 45 #define MADV_POISON 100 macro 240 if (madvise(page, PS, MADV_POISON) != 0) { in poison()
|
Completed in 6 milliseconds