Home
last modified time | relevance | path

Searched refs:bpf_key (Results 1 – 10 of 10) 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;
59 struct bpf_key *trusted_keyring; in BPF_PROG()
H A Drcu_read_lock.c33 struct bpf_key *bpf_lookup_user_key(__s32 serial, __u64 flags) __ksym; in get_cgroup_id()
34 void bpf_key_put(struct bpf_key *key) __ksym; in get_cgroup_id()
259 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/include/linux/
H A Dbpf.h3621 struct bpf_key *bpf_lookup_user_key(s32 serial, u64 flags);
3622 struct bpf_key *bpf_lookup_system_key(u64 id);
3623 void bpf_key_put(struct bpf_key *bkey);
3626 struct bpf_key *trusted_keyring);
3629 static inline struct bpf_key *bpf_lookup_user_key(u32 serial, u64 flags) in bpf_lookup_user_key()
3634 static inline struct bpf_key *bpf_lookup_system_key(u64 id) in bpf_lookup_system_key()
3639 static inline void bpf_key_put(struct bpf_key *bkey) in bpf_key_put()
3645 struct bpf_key *trusted_keyring) in bpf_verify_pkcs7_signature()
3926 struct bpf_key { struct
/linux/kernel/bpf/
H A Dhelpers.c3980 __bpf_kfunc struct bpf_key *bpf_lookup_user_key(s32 serial, u64 flags) in bpf_lookup_user_key()
3983 struct bpf_key *bkey; in bpf_lookup_user_key()
4029 __bpf_kfunc struct bpf_key *bpf_lookup_system_key(u64 id) in bpf_lookup_system_key()
4031 struct bpf_key *bkey; in bpf_lookup_system_key()
4053 __bpf_kfunc void bpf_key_put(struct bpf_key *bkey) in bpf_key_put()
4074 struct bpf_key *trusted_keyring) in bpf_verify_pkcs7_signature()
H A Dsyscall.c2813 struct bpf_key *key = NULL; in bpf_prog_verify_signature()