Searched refs:ktp (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/s390/crypto/ |
D | pkey_api.c | 1486 struct pkey_kblob2pkey ktp; in pkey_unlocked_ioctl() local 1489 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl() 1491 kkey = _copy_key_from_user(ktp.key, ktp.keylen); in pkey_unlocked_ioctl() 1494 ktp.protkey.len = sizeof(ktp.protkey.protkey); in pkey_unlocked_ioctl() 1495 rc = pkey_keyblob2pkey(kkey, ktp.keylen, ktp.protkey.protkey, in pkey_unlocked_ioctl() 1496 &ktp.protkey.len, &ktp.protkey.type); in pkey_unlocked_ioctl() 1498 memzero_explicit(kkey, ktp.keylen); in pkey_unlocked_ioctl() 1502 if (copy_to_user(utp, &ktp, sizeof(ktp))) in pkey_unlocked_ioctl() 1615 struct pkey_kblob2pkey2 ktp; in pkey_unlocked_ioctl() local 1618 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_sock_fields.c | 129 struct tcp_sock *ktp; in egress_read_sock_fields() local 174 ktp = bpf_skc_to_tcp_sock(sk); in egress_read_sock_fields() 176 if (!ktp) in egress_read_sock_fields() 179 lsndtime = ktp->lsndtime; in egress_read_sock_fields() 181 child_cg_id = bpf_sk_cgroup_id(ktp); in egress_read_sock_fields() 185 parent_cg_id = bpf_sk_ancestor_cgroup_id(ktp, 2); in egress_read_sock_fields() 190 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, ktp, 0, 0); in egress_read_sock_fields() 191 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, ktp, in egress_read_sock_fields()
|
/linux-6.6.21/drivers/net/wireless/broadcom/b43legacy/ |
D | b43legacy.h | 732 u16 ktp; /* Key table pointer */ member
|
D | main.c | 2386 dev->ktp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, in b43legacy_security_init() 2391 dev->ktp *= 2; in b43legacy_security_init()
|
/linux-6.6.21/drivers/net/wireless/broadcom/b43/ |
D | b43.h | 878 u16 ktp; /* Key table pointer */ member
|
D | main.c | 840 offset = dev->ktp + (index * B43_SEC_KEYSIZE); in key_write() 1112 offset = dev->ktp + (index * B43_SEC_KEYSIZE); in b43_dump_keymemory() 3522 dev->ktp = b43_shm_read16(dev, B43_SHM_SHARED, B43_SHM_SH_KTP); in b43_security_init() 3526 dev->ktp *= 2; in b43_security_init()
|