Lines Matching defs:test
424 * easy way to test if that worked (the pagemap does not export
517 static void do_test_ro_pin(char *mem, size_t size, enum ro_pin_test test,
543 switch (test) {
567 if (test == RO_PIN_TEST_PREVIOUSLY_SHARED) {
584 * easy way to test if that worked (the pagemap does not export
617 * test if we observed the modification.
631 switch (test) {
762 * Try to populate a THP. Touch the first sub-page and test if we get
981 * Basic test, but do an additional mprotect(PROT_READ)+
998 * vmsplice() test, but do an additional mprotect(PROT_READ)+
1136 enum anon_thp_collapse_test test)
1163 switch (test) {
1201 switch (test) {
1221 switch (test) {
1294 * Basic COW test for fork() without any GUP when collapsing a THP
1305 /* Basic COW test, but collapse after COW-sharing a full THP. */
1311 * Basic COW test, but collapse after COW-sharing the lower half of a
1319 * Basic COW test, but collapse after COW-sharing the upper half of a
1449 * the first sub-page and test if we get another sub-page populated
1474 fd = memfd_create("test", 0);
1574 fd = memfd_create("test", flags);
1624 * Basic COW test without any GUP. If we miss to break COW, changes are