Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_sock_fields.c128 struct tcp_sock *ktp; in egress_read_sock_fields() local
173 ktp = bpf_skc_to_tcp_sock(sk); in egress_read_sock_fields()
175 if (!ktp) in egress_read_sock_fields()
178 lsndtime = ktp->lsndtime; in egress_read_sock_fields()
180 child_cg_id = bpf_sk_cgroup_id(ktp); in egress_read_sock_fields()
184 parent_cg_id = bpf_sk_ancestor_cgroup_id(ktp, 2); in egress_read_sock_fields()
189 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, ktp, 0, 0); in egress_read_sock_fields()
190 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, ktp, in egress_read_sock_fields()
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dpkey_api.c1264 struct pkey_kblob2pkey ktp; in pkey_unlocked_ioctl() local
1267 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl()
1269 kkey = _copy_key_from_user(ktp.key, ktp.keylen); in pkey_unlocked_ioctl()
1272 rc = pkey_keyblob2pkey(kkey, ktp.keylen, &ktp.protkey); in pkey_unlocked_ioctl()
1277 if (copy_to_user(utp, &ktp, sizeof(ktp))) in pkey_unlocked_ioctl()
1389 struct pkey_kblob2pkey2 ktp; in pkey_unlocked_ioctl() local
1393 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl()
1395 apqns = _copy_apqns_from_user(ktp.apqns, ktp.apqn_entries); in pkey_unlocked_ioctl()
1398 kkey = _copy_key_from_user(ktp.key, ktp.keylen); in pkey_unlocked_ioctl()
1403 rc = pkey_keyblob2pkey2(apqns, ktp.apqn_entries, in pkey_unlocked_ioctl()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
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()