Searched refs:bpf_rdonly_cast (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | type_cast.c | 23 void *bpf_rdonly_cast(void *, __u32) __ksym; 51 shared_info = bpf_rdonly_cast(kskb->head + kskb->end, in md_skb() 57 kskb2 = bpf_rdonly_cast(kskb, bpf_core_type_id_kernel(struct sk_buff)); in md_skb() 68 task_dup = bpf_rdonly_cast(task, bpf_core_type_id_kernel(struct task_struct)); in BPF_PROG() 76 u64 *kctx = bpf_rdonly_cast(ctx, bpf_core_type_id_kernel(u64)); in kctx_u64()
|
H A D | sk_storage_omem_uncharge.c | 15 void *bpf_rdonly_cast(void *, __u32) __ksym; 32 sk = bpf_rdonly_cast(sk_ptr, bpf_core_type_id_kernel(struct sock)); in BPF_PROG()
|
/openbmc/linux/kernel/bpf/ |
H A D | helpers.c | 2517 __bpf_kfunc void *bpf_rdonly_cast(void *obj__ign, u32 btf_id__k) in bpf_rdonly_cast() function 2577 BTF_ID_FLAGS(func, bpf_rdonly_cast)
|
H A D | verifier.c | 10707 BTF_ID(func, bpf_rdonly_cast) in BTF_ID() 10727 BTF_ID(func, bpf_rdonly_cast) in BTF_ID()
|