Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c461 int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey() argument
467 ptr, size, orig_prot, pkey); in sys_mprotect_pkey()
470 sret = syscall(__NR_pkey_mprotect, ptr, size, orig_prot, pkey); in sys_mprotect_pkey()
473 dprintf2("SYS_mprotect_key prot: 0x%lx\n", orig_prot); in sys_mprotect_pkey()
587 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey() argument
595 ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); in mprotect_pkey()
597 ptr, size, orig_prot, pkey, ret); in mprotect_pkey()
613 ret = sys_mprotect_pkey(ptr, size, orig_prot, pkey); in mprotect_pkey()
615 ptr, size, orig_prot, pkey, ret); in mprotect_pkey()
H A Dpkey-helpers.h86 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot,
/openbmc/linux/net/xfrm/
H A Despintcp.c448 const struct proto *orig_prot,
566 const struct proto *orig_prot, in build_protos() argument
569 memcpy(espintcp_prot, orig_prot, sizeof(struct proto)); in build_protos()