Searched refs:bpf_dynptr_slice_rdwr (Results 1 – 8 of 8) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_dynptr.c | 125 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 D | test_cls_redirect_dynptr.c | 399 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 D | test_l4lb_noinline_dynptr.c | 470 eth = bpf_dynptr_slice_rdwr(&ptr, 0, buffer, sizeof(buffer)); in balancer_ingress()
|
/linux/tools/testing/selftests/bpf/ |
H A D | bpf_kfuncs.h | 37 extern void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *ptr, __u32 offset,
|
/linux/kernel/bpf/ |
H A D | helpers.c | 2761 __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 D | verifier.c | 12285 BTF_ID(func, bpf_dynptr_slice_rdwr) in BTF_ID()
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 3559 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 D | bpf.h | 1370 void *bpf_dynptr_slice_rdwr(const struct bpf_dynptr *p, u32 offset,
|