Home
last modified time | relevance | path

Searched refs:bpf_key (Results 1 – 9 of 9) 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 Dtest_kfunc_dynptr_param.c15 extern struct bpf_key *bpf_lookup_system_key(__u64 id) __ksym;
16 extern void bpf_key_put(struct bpf_key *key) __ksym;
19 struct bpf_key *trusted_keyring) __ksym;
60 struct bpf_key *trusted_keyring; 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 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;
H A Dtest_sig_in_xattr.c49 struct bpf_key *trusted_keyring; in BPF_PROG()
H A Dtest_verify_pkcs7_sig.c44 struct bpf_key *trusted_keyring; in BPF_PROG()
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h75 extern struct bpf_key *bpf_lookup_user_key(__s32 serial, __u64 flags) __ksym;
76 extern struct bpf_key *bpf_lookup_system_key(__u64 id) __ksym;
77 extern void bpf_key_put(struct bpf_key *key) __ksym;
80 struct bpf_key *trusted_keyring) __ksym;
/linux/kernel/bpf/
H A Dhelpers.c3884 __bpf_kfunc struct bpf_key *bpf_lookup_user_key(s32 serial, u64 flags) in bpf_lookup_user_key()
3887 struct bpf_key *bkey; in bpf_lookup_user_key()
3933 __bpf_kfunc struct bpf_key *bpf_lookup_system_key(u64 id) in bpf_lookup_system_key()
3935 struct bpf_key *bkey; in bpf_lookup_system_key()
3957 __bpf_kfunc void bpf_key_put(struct bpf_key *bkey) in bpf_key_put()
3978 struct bpf_key *trusted_keyring) in bpf_verify_pkcs7_signature()
H A Dsyscall.c2819 struct bpf_key *key = NULL; in bpf_prog_verify_signature()