Lines Matching refs:test
482 * easy way to test if that worked (the pagemap does not export
575 static void do_test_ro_pin(char *mem, size_t size, enum ro_pin_test test,
601 switch (test) {
625 if (test == RO_PIN_TEST_PREVIOUSLY_SHARED) {
642 * easy way to test if that worked (the pagemap does not export
675 * test if we observed the modification.
689 switch (test) {
824 * Try to populate a THP. Touch the first sub-page and test if
1053 * Basic test, but do an additional mprotect(PROT_READ)+
1070 * vmsplice() test, but do an additional mprotect(PROT_READ)+
1221 enum anon_thp_collapse_test test)
1248 switch (test) {
1286 switch (test) {
1306 switch (test) {
1387 * Basic COW test for fork() without any GUP when collapsing a THP
1398 /* Basic COW test, but collapse after COW-sharing a full THP. */
1404 * Basic COW test, but collapse after COW-sharing the lower half of a
1412 * Basic COW test, but collapse after COW-sharing the upper half of a
1542 * the first sub-page and test if we get another sub-page populated
1567 fd = memfd_create("test", 0);
1667 fd = memfd_create("test", flags);
1717 * Basic COW test without any GUP. If we miss to break COW, changes are