Searched refs:mprotect_pkey (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | pkey-powerpc.h | 122 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect_subpage()
|
H A D | protection_keys.c | 587 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() function 707 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect() 731 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_anon_huge() 810 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_hugetlb() 832 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_mmap_dax() 1367 mprotect_pkey(ptr, size, prot, 0); in test_mprotect_with_pkey_0() 1370 mprotect_pkey(ptr, size, prot, pkey); in test_mprotect_with_pkey_0() 1482 ret = mprotect_pkey(p1, PAGE_SIZE, PROT_EXEC, (u64)pkey); in test_executing_on_unreadable_memory()
|
H A D | pkey-helpers.h | 86 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot,
|