Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A 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()
/linux/drivers/s390/crypto/
A Dpkey_api.c1282 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl()
1284 kkey = _copy_key_from_user(ktp.key, ktp.keylen); in pkey_unlocked_ioctl()
1292 if (copy_to_user(utp, &ktp, sizeof(ktp))) in pkey_unlocked_ioctl()
1408 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl()
1413 kkey = _copy_key_from_user(ktp.key, ktp.keylen); in pkey_unlocked_ioctl()
1419 kkey, ktp.keylen, &ktp.protkey); in pkey_unlocked_ioctl()
1425 if (copy_to_user(utp, &ktp, sizeof(ktp))) in pkey_unlocked_ioctl()
1527 if (copy_from_user(&ktp, utp, sizeof(ktp))) in pkey_unlocked_ioctl()
1544 ktp.keylen, &ktp.pkeytype, in pkey_unlocked_ioctl()
1553 if (ktp.pkey && ktp.pkeylen) { in pkey_unlocked_ioctl()
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
A Db43legacy.h732 u16 ktp; /* Key table pointer */ member
A Dmain.c2386 dev->ktp = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, in b43legacy_security_init()
2391 dev->ktp *= 2; in b43legacy_security_init()
/linux/drivers/net/wireless/broadcom/b43/
A Db43.h878 u16 ktp; /* Key table pointer */ member
A 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()

Completed in 33 milliseconds