Searched refs:mprotect_pkey (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | protection_keys.c | 18 * do a plain mprotect() to a mprotect_pkey() area and make sure the pkey sticks 595 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() function 622 dprintf1("mprotect_pkey(%p, %zx, prot=0x%lx, pkey=%ld) ret: %d\n", in mprotect_pkey() 715 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect() 739 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_anon_huge() 818 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_hugetlb() 840 mprotect_pkey(ptr, size, prot, pkey); in malloc_pkey_mmap_dax() 1303 mprotect_pkey(ptr, size, prot, 0); in test_mprotect_with_pkey_0() 1306 mprotect_pkey(ptr, size, prot, pkey); in test_mprotect_with_pkey_0() 1418 ret = mprotect_pkey(p in test_executing_on_unreadable_memory() [all...] |
H A D | pkey-powerpc.h | 125 ret = mprotect_pkey((void *)ptr, PAGE_SIZE, prot, pkey); in malloc_pkey_with_mprotect_subpage()
|
H A D | pkey-helpers.h | 84 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot,
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 18 * do a plain mprotect() to a mprotect_pkey() area and make sure the pkey sticks 587 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() function 614 dprintf1("mprotect_pkey(%p, %zx, prot=0x%lx, pkey=%ld) ret: %d\n", in mprotect_pkey() 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(p in test_executing_on_unreadable_memory() [all...] |
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 | pkey-helpers.h | 86 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot,
|
Completed in 6 milliseconds