Home
last modified time | relevance | path

Searched refs:testmem (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/mce-test/tsrc/
Dtsimpleinj.c39 void testmem(char *msg, char *page, int write) in testmem() function
91 testmem("dirty", page, 1); in main()
94 testmem("mlocked", page, 1); in main()
101 testmem("clean file", page, 0); in main()
113 testmem("file dirty", page, 0); in main()
125 testmem("hole file dirty", page, 0); in main()
150 testmem("rfp file dirty", page, 0); in main()
Dtinjpage.c290 void testmem(char *msg, char *page, enum rmode mode) in testmem() function
359 testmem("dirty", page, MWRITE); in dirty_anonymous()
366 testmem("dirty", page, MWRITE); in dirty_anonymous_unmap()
374 testmem("mlocked", page, MWRITE); in mlocked_anonymous()
390 testmem(name, page, MREAD_OK); in do_file_clean()
393 testmem(name, page, MWRITE_OK); in do_file_clean()
422 testmem(ndesc(nbuf, name, "initial"), page, MREAD); in do_file_dirty()
474 testmem("hole file dirty", page, MREAD); in file_hole()
503 testmem("rfp file dirty", page, MREAD); in nonlinear()
753 testmem("ipv shared page", shared_page, MWRITE); in do_shared()
[all …]
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
Dpage-poisoning.c303 static void testmem(char *msg, char *page, enum rmode mode) in testmem() function
365 testmem("dirty", page, MWRITE); in dirty_anonymous()
381 testmem("dirty", page, MWRITE); in dirty_anonymous_unmap()
398 testmem("mlocked", page, MWRITE); in mlocked_anonymous()
417 testmem(name, page, MREAD_OK); in do_file_clean()
420 testmem(name, page, MWRITE_OK); in do_file_clean()
465 testmem(ndesc(nbuf, name, "initial"), page, MREAD); in do_file_dirty()
566 testmem("clean", page, MWRITE_OK); in clean_anonymous()
624 testmem("shm dirty", (char *)shmptr, MWRITE); in shm_test()
/third_party/lz4/programs/
Dbench.c531 BYTE* testmem=NULL; in BMK_findMaxMem() local
537 while (!testmem) { in BMK_findMaxMem()
540 testmem = (BYTE*) malloc ((size_t)requiredMem); in BMK_findMaxMem()
542 free (testmem); in BMK_findMaxMem()
/third_party/lz4/tests/
Dfullbench.c137 BYTE* testmem = NULL; in BMK_findMaxMem() local
143 while (!testmem) { in BMK_findMaxMem()
146 testmem = (BYTE*) malloc ((size_t)requiredMem); in BMK_findMaxMem()
148 free (testmem); in BMK_findMaxMem()