Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dprotection_keys.c469 int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey() argument
475 ptr, size, orig_prot, pkey); in sys_mprotect_pkey()
478 sret = syscall(SYS_mprotect_key, ptr, size, orig_prot, pkey); in sys_mprotect_pkey()
481 dprintf2("SYS_mprotect_key prot: 0x%lx\n", orig_prot); in sys_mprotect_pkey()
595 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() argument
603 ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); in mprotect_pkey()
605 ptr, size, orig_prot, pkey, ret); in mprotect_pkey()
621 ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); in mprotect_pkey()
623 ptr, size, orig_prot, pkey, ret); in mprotect_pkey()
Dpkey-helpers.h84 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot,
/kernel/linux/linux-5.10/net/xfrm/
Despintcp.c441 const struct proto *orig_prot,
558 const struct proto *orig_prot, in build_protos() argument
561 memcpy(espintcp_prot, orig_prot, sizeof(struct proto)); in build_protos()