Home
last modified time | relevance | path

Searched refs:ktp (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/s390/crypto/
Dpkey_api.c368 struct pkey_kblob2pkey ktp; in pkey_ioctl_kblob2protk() local
372 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_ioctl_kblob2protk()
374 kkey = _copy_key_from_user(ktp.key, ktp.keylen); in pkey_ioctl_kblob2protk()
377 ktp.protkey.len = sizeof(ktp.protkey.protkey); in pkey_ioctl_kblob2protk()
378 rc = key2protkey(NULL, 0, kkey, ktp.keylen, in pkey_ioctl_kblob2protk()
379 ktp.protkey.protkey, &ktp.protkey.len, in pkey_ioctl_kblob2protk()
380 &ktp.protkey.type); in pkey_ioctl_kblob2protk()
383 if (!rc && copy_to_user(utp, &ktp, sizeof(ktp))) in pkey_ioctl_kblob2protk()
385 memzero_explicit(&ktp, sizeof(ktp)); in pkey_ioctl_kblob2protk()
530 struct pkey_kblob2pkey2 ktp; in pkey_ioctl_kblob2protk2() local
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c132 struct tcp_sock *ktp; in egress_read_sock_fields() local
177 ktp = bpf_skc_to_tcp_sock(sk); in egress_read_sock_fields()
179 if (!ktp) in egress_read_sock_fields()
182 lsndtime = ktp->lsndtime; in egress_read_sock_fields()
184 child_cg_id = bpf_sk_cgroup_id(ktp); in egress_read_sock_fields()
188 parent_cg_id = bpf_sk_ancestor_cgroup_id(ktp, 2); in egress_read_sock_fields()
193 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, ktp, 0, 0); in egress_read_sock_fields()
194 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, ktp, in egress_read_sock_fields()
/linux-6.12.1/drivers/net/wireless/broadcom/b43legacy/
Db43legacy.h732 u16 ktp; /* Key table pointer */ member
Dmain.c2386 dev->ktp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, in b43legacy_security_init()
2391 dev->ktp *= 2; in b43legacy_security_init()
/linux-6.12.1/drivers/net/wireless/broadcom/b43/
Db43.h878 u16 ktp; /* Key table pointer */ member
Dmain.c840 offset = dev->ktp + (index * B43_SEC_KEYSIZE); in key_write()
1112 offset = dev->ktp + (index * B43_SEC_KEYSIZE); in b43_dump_keymemory()
3523 dev->ktp = b43_shm_read16(dev, B43_SHM_SHARED, B43_SHM_SH_KTP); in b43_security_init()
3527 dev->ktp *= 2; in b43_security_init()