Home
last modified time | relevance | path

Searched refs:bpf_cast_to_kern_ctx (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Ddecap_sanity.c11 void *bpf_cast_to_kern_ctx(void *) __ksym;
54 kskb = bpf_cast_to_kern_ctx(skb); in decap_sanity()
H A Dtype_cast.c26 struct xdp_buff *kctx = bpf_cast_to_kern_ctx(ctx); in md_xdp()
40 struct sk_buff *kskb = bpf_cast_to_kern_ctx(skb); in md_skb()
H A Drecvmsg_unix_prog.c16 struct bpf_sock_addr_kern *sa_kern = bpf_cast_to_kern_ctx(ctx); in recvmsg_unix_prog()
H A Dgetsockname_unix_prog.c16 struct bpf_sock_addr_kern *sa_kern = bpf_cast_to_kern_ctx(ctx); in getsockname_unix_prog()
H A Dgetpeername_unix_prog.c16 struct bpf_sock_addr_kern *sa_kern = bpf_cast_to_kern_ctx(ctx); in getpeername_unix_prog()
H A Dconnect_unix_prog.c16 struct bpf_sock_addr_kern *sa_kern = bpf_cast_to_kern_ctx(ctx); in connect_unix_prog()
H A Dsendmsg_unix_prog.c16 struct bpf_sock_addr_kern *sa_kern = bpf_cast_to_kern_ctx(ctx); in sendmsg_unix_prog()
H A Dverifier_bpf_fastcall.c848 : __imm(bpf_cast_to_kern_ctx) in kfunc_bpf_cast_to_kern_ctx()
879 bpf_cast_to_kern_ctx(0); in kfunc_root()
H A Dnet_timestamping.c132 skops_kern = bpf_cast_to_kern_ctx(skops); in bpf_test_delay()
/linux/tools/perf/util/bpf_skel/
H A Dsample_filter.bpf.c48 void *bpf_cast_to_kern_ctx(void *) __ksym;
215 kctx = bpf_cast_to_kern_ctx(ctx); in perf_sample_filter()
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h64 void *bpf_cast_to_kern_ctx(void *) __ksym;
/linux/kernel/bpf/
H A Dhelpers.c2960 __bpf_kfunc void *bpf_cast_to_kern_ctx(void *obj) in bpf_cast_to_kern_ctx() function
3773 BTF_ID_FLAGS(func, bpf_cast_to_kern_ctx, KF_FASTCALL)
H A Dverifier.c12271 BTF_ID(func, bpf_cast_to_kern_ctx) in BTF_ID()