Home
last modified time | relevance | path

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

/Linux-v5.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()
596 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() argument
604 ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); in mprotect_pkey()
606 ptr, size, orig_prot, pkey, ret); in mprotect_pkey()
622 ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); in mprotect_pkey()
624 ptr, size, orig_prot, pkey, ret); in mprotect_pkey()
Dpkey-helpers.h84 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot,
/Linux-v5.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()