Home
last modified time | relevance | path

Searched refs:bpf_key (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_lookup_key.c21 extern struct bpf_key *bpf_lookup_user_key(__s32 serial, __u64 flags) __ksym;
22 extern struct bpf_key *bpf_lookup_system_key(__u64 id) __ksym;
23 extern void bpf_key_put(struct bpf_key *key) __ksym;
28 struct bpf_key *bkey; in BPF_PROG()
H A Drcu_read_lock.c23 struct bpf_key *bpf_lookup_user_key(__s32 serial, __u64 flags) __ksym;
24 void bpf_key_put(struct bpf_key *key) __ksym;
249 struct bpf_key *bkey; in BPF_PROG()
H A Dtest_sig_in_xattr.c49 struct bpf_key *trusted_keyring; in BPF_PROG()
H A Dverifier_ref_tracking.c26 struct bpf_key {} __attribute__((preserve_access_index)); struct
28 extern void bpf_key_put(struct bpf_key *key) __ksym;
29 extern struct bpf_key *bpf_lookup_system_key(__u64 id) __ksym;
30 extern struct bpf_key *bpf_lookup_user_key(__s32 serial, __u64 flags) __ksym;
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h72 extern struct bpf_key *bpf_lookup_user_key(__s32 serial, __u64 flags) __ksym;
73 extern struct bpf_key *bpf_lookup_system_key(__u64 id) __ksym;
74 extern void bpf_key_put(struct bpf_key *key) __ksym;
77 struct bpf_key *trusted_keyring) __ksym;
/linux/kernel/trace/
H A Dbpf_trace.c1254 * return it in the bpf_key structure.
1256 * The bpf_key structure must be passed to bpf_key_put() when done
1258 * bpf_key structure is freed.
1269 * Return: a bpf_key pointer with a valid key pointer if the key is found, a
1272 __bpf_kfunc struct bpf_key *bpf_lookup_user_key(s32 serial, u64 flags) in bpf_lookup_user_key()
1275 struct bpf_key *bkey; in bpf_lookup_user_key()
1304 * Obtain a bpf_key structure with a key pointer set to the passed key ID.
1318 * Return: a bpf_key pointer with an invalid key pointer set from the
1321 __bpf_kfunc struct bpf_key *bpf_lookup_system_key(u64 id) in bpf_lookup_system_key()
1323 struct bpf_key *bke in bpf_lookup_system_key()
[all...]
/linux/include/linux/
H A Dbpf.h3679 struct bpf_key { struct
3680 keybpf_key global() argument
3681 has_refbpf_key global() argument