Home
last modified time | relevance | path

Searched refs:mprotect_pkey (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/mm/
Dprotection_keys.c589 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() function
709 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect()
733 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_anon_huge()
812 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_hugetlb()
834 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_mmap_dax()
1361 mprotect_pkey(ptr, size, prot, 0); in test_mprotect_with_pkey_0()
1364 mprotect_pkey(ptr, size, prot, pkey); in test_mprotect_with_pkey_0()
1476 ret = mprotect_pkey(p1, PAGE_SIZE, PROT_EXEC, (u64)pkey); in test_executing_on_unreadable_memory()
1492 ret = mprotect_pkey(p1, PAGE_SIZE, PROT_EXEC | PROT_READ, (u64)pkey); in test_executing_on_unreadable_memory()
Dpkey-powerpc.h125 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect_subpage()
Dpkey-helpers.h97 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot,