Home
last modified time | relevance | path

Searched refs:bpf_dynptr_slice_rdwr (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_dynptr.c125 new_eth = bpf_dynptr_slice_rdwr(&new_xdp_ptr, 0, eth_buffer, sizeof(eth_buffer)); in handle_ipv4()
204 new_eth = bpf_dynptr_slice_rdwr(&new_xdp_ptr, 0, eth_buffer, sizeof(eth_buffer)); in handle_ipv6()
H A Dtest_cls_redirect_dynptr.c399 encap_gre = bpf_dynptr_slice_rdwr(dynptr, 0, encap_buffer, sizeof(encap_buffer)); in forward_with_gre()
868 encap = bpf_dynptr_slice_rdwr(&dynptr, 0, encap_buffer, sizeof(encap_buffer)); in cls_redirect()
H A Dtest_l4lb_noinline_dynptr.c470 eth = bpf_dynptr_slice_rdwr(&ptr, 0, buffer, sizeof(buffer)); in balancer_ingress()
/linux/tools/testing/selftests/bpf/
H A Dbpf_kfuncs.h37 extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *ptr, __u32 offset,
/linux/kernel/bpf/
H A Dhelpers.c2761 __bpf_kfunc void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset, in bpf_dynptr_slice_rdwr() function
2877 dst_slice = bpf_dynptr_slice_rdwr(dst_ptr, dst_off, NULL, size); in bpf_dynptr_copy()
2930 slice = bpf_dynptr_slice_rdwr(p, offset, NULL, size); in bpf_dynptr_memset()
3768 BTF_ID_FLAGS(func, bpf_dynptr_slice_rdwr, KF_RET_NULL)
H A Dverifier.c12285 BTF_ID(func, bpf_dynptr_slice_rdwr) in BTF_ID()
/linux/kernel/trace/
H A Dbpf_trace.c3559 dst_slice = bpf_dynptr_slice_rdwr(dptr, doff, NULL, size); in __bpf_dynptr_copy_str()
3595 dst_slice = bpf_dynptr_slice_rdwr(dptr, doff, NULL, size); in __bpf_dynptr_copy()
/linux/include/linux/
H A Dbpf.h1370 void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset,