Lines Matching refs:PAGE_SIZE
178 __attribute__((__aligned__(PAGE_SIZE)))
761 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect()
1076 iov.iov_len = PAGE_SIZE; in test_kernel_gup_of_access_disabled_region()
1120 err = sys_mprotect_pkey(ptr, PAGE_SIZE, PROT_READ, i); in test_pkey_syscalls_on_non_allocated_pkey()
1132 err = sys_mprotect_pkey(ptr, PAGE_SIZE, PROT_READ, bad_pkey); in test_pkey_syscalls_bad_args()
1249 int *plain_ptr = ALIGN_PTR_UP(plain_ptr_unaligned, PAGE_SIZE); in test_ptrace_of_child()
1317 p1 = ALIGN_PTR_UP(&lots_o_noops_around_write, PAGE_SIZE); in get_pointer_to_instructions()
1323 p1 += PAGE_SIZE; in get_pointer_to_instructions()
1329 madvise(p1, PAGE_SIZE, MADV_DONTNEED); in get_pointer_to_instructions()
1346 ret = mprotect_pkey(p1, PAGE_SIZE, PROT_EXEC, (u64)pkey); in test_executing_on_unreadable_memory()
1355 madvise(p1, PAGE_SIZE, MADV_DONTNEED); in test_executing_on_unreadable_memory()
1378 ret = mprotect(p1, PAGE_SIZE, PROT_EXEC); in test_implicit_mprotect_exec_only_memory()
1384 madvise(p1, PAGE_SIZE, MADV_DONTNEED); in test_implicit_mprotect_exec_only_memory()
1397 ret = mprotect(p1, PAGE_SIZE, PROT_NONE); in test_implicit_mprotect_exec_only_memory()
1400 ret = mprotect(p1, PAGE_SIZE, PROT_READ|PROT_EXEC); in test_implicit_mprotect_exec_only_memory()
1408 int size = PAGE_SIZE; in test_mprotect_pkey_on_unsupported_cpu()
1453 ptr = malloc_pkey(PAGE_SIZE, prot, pkey); in run_tests_once()
1488 int size = PAGE_SIZE; in main()