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.c54 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;
34 void bpf_key_put(struct bpf_key *key) __ksym;
259 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;
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.h3813 struct bpf_key { struct
3820 struct bpf_key *bpf_lookup_user_key(s32 serial, u64 flags); argument
3821 struct bpf_key *bpf_lookup_system_key(u64 id);
3822 void bpf_key_put(struct bpf_key *bkey);
3825 struct bpf_key *trusted_keyring);
3827 static inline s32 bpf_key_serial(const struct bpf_key *key) in bpf_key_serial()
3832 static inline struct bpf_key *bpf_lookup_user_key(u32 serial, u64 flags) in bpf_lookup_user_key()
3837 static inline struct bpf_key *bpf_lookup_system_key(u64 id) in bpf_lookup_system_key()
3842 static inline void bpf_key_put(struct bpf_key *bkey) in bpf_key_put()
3848 struct bpf_key *trusted_keyring) in bpf_verify_pkcs7_signature()
[all …]
/linux/kernel/bpf/
H A Dhelpers.c4226 __bpf_kfunc struct bpf_key *bpf_lookup_user_key(s32 serial, u64 flags) in bpf_lookup_user_key()
4229 struct bpf_key *bkey; in bpf_lookup_user_key()
4275 __bpf_kfunc struct bpf_key *bpf_lookup_system_key(u64 id) in bpf_lookup_system_key()
4277 struct bpf_key *bkey; in bpf_lookup_system_key()
4299 __bpf_kfunc void bpf_key_put(struct bpf_key *bkey) in bpf_key_put()
4320 struct bpf_key *trusted_keyring) in bpf_verify_pkcs7_signature()
H A Dverifier.c20866 struct bpf_key *key = NULL; in bpf_prog_verify_signature()