/linux-master/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 178 static u32 hw_pkey_get(int pkey, unsigned long flags) argument 189 static int hw_pkey_set(int pkey, unsigne argument 210 pkey_disable_set(int pkey, int flags) argument 251 pkey_disable_clear(int pkey, int flags) argument 280 pkey_write_allow(int pkey) argument 284 pkey_write_deny(int pkey) argument 288 pkey_access_allow(int pkey) argument 292 pkey_access_deny(int pkey) argument 461 sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, unsigned long pkey) argument 535 sys_pkey_free(unsigned long pkey) argument 587 mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, unsigned long pkey) argument 696 malloc_pkey_with_mprotect(long size, int prot, u16 pkey) argument 716 malloc_pkey_anon_huge(long size, int prot, u16 pkey) argument 797 malloc_pkey_hugetlb(long size, int prot, u16 pkey) argument 818 malloc_pkey_mmap_dax(long size, int prot, u16 pkey) argument 853 malloc_pkey(long size, int prot, u16 pkey) argument 885 expected_pkey_fault(int pkey) argument 963 test_pkey_alloc_free_attach_pkey0(int *ptr, u16 pkey) argument 1015 test_read_of_write_disabled_region(int *ptr, u16 pkey) argument 1025 test_read_of_access_disabled_region(int *ptr, u16 pkey) argument 1037 test_read_of_access_disabled_region_with_page_already_mapped(int *ptr, u16 pkey) argument 1054 test_write_of_write_disabled_region_with_page_already_mapped(int *ptr, u16 pkey) argument 1065 test_write_of_write_disabled_region(int *ptr, u16 pkey) argument 1072 test_write_of_access_disabled_region(int *ptr, u16 pkey) argument 1080 test_write_of_access_disabled_region_with_page_already_mapped(int *ptr, u16 pkey) argument 1091 test_kernel_write_of_access_disabled_region(int *ptr, u16 pkey) argument 1103 test_kernel_write_of_write_disabled_region(int *ptr, u16 pkey) argument 1116 test_kernel_gup_of_access_disabled_region(int *ptr, u16 pkey) argument 1138 test_kernel_gup_write_to_write_disabled_region(int *ptr, u16 pkey) argument 1156 test_pkey_syscalls_on_non_allocated_pkey(int *ptr, u16 pkey) argument 1179 test_pkey_syscalls_bad_args(int *ptr, u16 pkey) argument 1205 test_pkey_alloc_exhaust(int *ptr, u16 pkey) argument 1311 test_pkey_init_state(int *ptr, u16 pkey) argument 1349 test_mprotect_with_pkey_0(int *ptr, u16 pkey) argument 1373 test_ptrace_of_child(int *ptr, u16 pkey) argument 1470 test_executing_on_unreadable_memory(int *ptr, u16 pkey) argument 1497 test_implicit_mprotect_exec_only_memory(int *ptr, u16 pkey) argument 1546 test_ptrace_modifies_pkru(int *ptr, u16 pkey) argument 1668 test_mprotect_pkey_on_unsupported_cpu(int *ptr, u16 pkey) argument 1714 int pkey; local [all...] |
/linux-master/net/ipv4/ |
H A D | route.c | 418 __be32 pkey; local 436 const __be32 *pkey = daddr; local
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 2317 struct ip_tunnel_key *pkey; local [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | mad.c | 475 mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u32 port, u16 index, u16 *pkey) argument
|
/linux-master/drivers/infiniband/core/ |
H A D | cm.c | 236 __be16 pkey; member in struct:cm_id_private 1761 u16 pkey; local [all...] |
H A D | device.c | 2382 ib_query_pkey(struct ib_device *device, u32 port_num, u16 index, u16 *pkey) argument 2497 ib_find_pkey(struct ib_device *device, u32 port_num, u16 pkey, u16 *index) argument 2540 ib_get_net_dev_by_params(struct ib_device *dev, u32 port, u16 pkey, const union ib_gid *gid, const struct sockaddr *addr) argument [all...] |
/linux-master/security/ |
H A D | security.c | 4996 int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey) argument
|
/linux-master/include/linux/ |
H A D | mman.h | 142 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) argument
|
H A D | security.h | 1805 static inline int security_ib_pkey_access(void *sec, u64 subnet_prefix, u16 pkey) argument
|
/linux-master/crypto/asymmetric_keys/ |
H A D | public_key.c | 67 software_key_determine_akcipher(const struct public_key *pkey, argument 164 struct public_key *pkey = params->key->payload.data[asym_crypto]; local 279 const struct public_key *pkey = params->key->payload.data[asym_crypto]; local 382 public_key_verify_signature(const struct public_key *pkey, const struct public_key_signature *sig) argument [all...] |
/linux-master/arch/x86/kernel/fpu/ |
H A D | xstate.c | 1001 int arch_set_user_pkey_access(struct task_struct *tsk, int pkey, argument
|
/linux-master/mm/ |
H A D | mmap.c | 1221 int pkey = 0; local
|
H A D | mprotect.c | 843 int pkey; local 680 do_mprotect_pkey(unsigned long start, size_t len, unsigned long prot, int pkey) argument [all...] |
/linux-master/include/rdma/ |
H A D | ib_verbs.h | 2174 struct ib_pkey_cache *pkey; member in struct:ib_port_cache
|
/linux-master/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 2147 srpt_cm_req_recv(struct srpt_device *const sdev, struct ib_cm_id *ib_cm_id, struct rdma_cm_id *rdma_cm_id, u8 port_num, __be16 pkey, const struct srp_login_req *req, const char *src_addr) argument [all...] |
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_verbs.c | 74 rxe_query_pkey(struct ib_device *ibdev, u32 port_num, u16 index, u16 *pkey) argument
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | verbs.c | 1133 irdma_query_pkey(struct ib_device *ibdev, u32 port, u16 index, u16 *pkey) argument
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 269 hns_roce_query_pkey(struct ib_device *ib_dev, u32 port, u16 index, u16 *pkey) argument
|
/linux-master/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 4134 u8 pkey[0x10]; member in struct:mlx5_ifc_pkey_bits 5879 struct mlx5_ifc_pkey_bits pkey[]; member in struct:mlx5_ifc_query_hca_vport_pkey_out_bits
|
/linux-master/include/crypto/ |
H A D | public_key.h | 118 int public_key_verify_signature(const struct public_key *pkey, argument
|
/linux-master/drivers/crypto/virtio/ |
H A D | virtio_crypto_akcipher_algs.c | 113 uint8_t *pkey; local
|
/linux-master/crypto/ |
H A D | rsa.c | 124 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); local 163 const struct rsa_mpi_key *pkey = rsa_get_key(tfm); local 368 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); local 375 struct rsa_mpi_key *pkey = akcipher_tfm_ctx(tfm); local [all...] |
/linux-master/kernel/ |
H A D | signal.c | 1797 int force_sig_pkuerr(void __user *addr, u32 pkey) argument
|
/linux-master/arch/x86/mm/ |
H A D | fault.c | 719 kernelmode_fixup_or_oops(struct pt_regs *regs, unsigned long error_code, unsigned long address, int signal, int si_code, u32 pkey) argument 808 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code, unsigned long address, u32 pkey, int si_code) argument 867 __bad_area(struct pt_regs *regs, unsigned long error_code, unsigned long address, u32 pkey, int si_code) argument 927 u32 pkey = vma_pkey(vma); local [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | pgtable.h | 1615 static inline bool __pkru_allows_pkey(u16 pkey, bool write) argument
|