Searched refs:MADV_POISON (Results 1 – 7 of 7) sorted by relevance
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | tkillpoison.c | 8 #define MADV_POISON 100 macro 15 madvise(ptr, PS, MADV_POISON); in main()
|
D | tprctl.c | 15 #define MADV_POISON 100 macro 51 if (madvise(ptr, PS, MADV_POISON) < 0) in test()
|
D | tsimpleinj.c | 19 #define MADV_POISON 100 macro 44 if (madvise(page, PS, MADV_POISON) != 0) { in testmem()
|
D | ttranshuge.c | 74 #define MADV_POISON 100 macro 252 if (madvise((void *)corrupt_page_addr, DEFAULT_PS, MADV_POISON) != 0) { in do_injection()
|
D | README | 43 tinjpage requires a kernel with MADV_POISON injection support and the
|
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/ |
D | page-poisoning.c | 45 #define MADV_POISON 100 macro 240 if (madvise(page, PS, MADV_POISON) != 0) { in poison()
|