Home
last modified time | relevance | path

Searched refs:bpf_dynptr_data (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Ddynptr_fail.c102 sample = bpf_dynptr_data(&ptr1, 0, sizeof(*sample)); in ringbuf_missing_release2()
178 sample = bpf_dynptr_data(&ptr, 0, sizeof(*sample)); in ringbuf_invalid_api()
238 data = bpf_dynptr_data(&ptr, 0, 8); in data_slice_out_of_bounds_ringbuf()
281 data = bpf_dynptr_data(&ptr, 0, sizeof(map_val)); in data_slice_out_of_bounds_map_value()
300 sample = bpf_dynptr_data(&ptr, 0, sizeof(*sample)); in data_slice_use_after_release1()
334 sample = bpf_dynptr_data(&ptr2, 0, sizeof(*sample)); in data_slice_use_after_release2()
365 data = bpf_dynptr_data(&ptr, 0, 8); in data_slice_missing_null_check1()
386 data1 = bpf_dynptr_data(&ptr, 0, 8); in data_slice_missing_null_check2()
387 data2 = bpf_dynptr_data(&ptr, 0, 8); in data_slice_missing_null_check2()
442 data = bpf_dynptr_data(&ptr, 0, 1); in invalid_write1()
[all …]
Ddynptr_success.c90 data = bpf_dynptr_data(&ptr, map_val_size + 1, 1); in test_dynptr_data()
97 data = bpf_dynptr_data(&ptr, 0, map_val_size + 1); in test_dynptr_data()
103 data = bpf_dynptr_data(&ptr, 0, sizeof(__u32)); in test_dynptr_data()
127 sample = bpf_dynptr_data(ptr, 0, sizeof(*sample)); in ringbuf_callback()
150 sample = err ? NULL : bpf_dynptr_data(&ptr, 0, sizeof(*sample)); in test_ringbuf()
203 data = bpf_dynptr_data(&ptr, 0, 1); in test_dynptr_skb_data()
Duser_ringbuf_fail.c34 sample = bpf_dynptr_data(dynptr - 1, 0, sizeof(*sample)); in bad_access1()
57 sample = bpf_dynptr_data(dynptr + 1, 0, sizeof(*sample)); in bad_access2()
Duser_ringbuf_success.c53 sample = bpf_dynptr_data(dynptr, 0, sizeof(*sample)); in record_sample()
93 msg = bpf_dynptr_data(dynptr, 0, sizeof(*msg)); in read_protocol_msg()
/linux-6.6.21/kernel/bpf/
Dhelpers.c1632 BPF_CALL_3(bpf_dynptr_data, const struct bpf_dynptr_kern *, ptr, u32, offset, u32, len) in BPF_CALL_3() argument
1664 .func = bpf_dynptr_data,