Searched refs:bpf_rdonly_cast (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
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()
|
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()
|
/linux-6.6.21/kernel/bpf/ |
D | helpers.c | 2441 __bpf_kfunc void *bpf_rdonly_cast(void *obj__ign, u32 btf_id__k) in bpf_rdonly_cast() function 2501 BTF_ID_FLAGS(func, bpf_rdonly_cast)
|
D | verifier.c | 10696 BTF_ID(func, bpf_rdonly_cast) in BTF_ID() 10716 BTF_ID(func, bpf_rdonly_cast) in BTF_ID()
|