Searched refs:bpf_dynptr_data (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | dynptr_fail.c | 103 sample = bpf_dynptr_data(&ptr1, 0, sizeof(*sample)); in ringbuf_missing_release2() 179 sample = bpf_dynptr_data(&ptr, 0, sizeof(*sample)); in ringbuf_invalid_api() 239 data = bpf_dynptr_data(&ptr, 0, 8); in data_slice_out_of_bounds_ringbuf() 302 data = bpf_dynptr_data(&ptr, 0, sizeof(map_val)); in data_slice_use_after_release1() 321 sample = bpf_dynptr_data(&ptr, 0, sizeof(*sample)); 355 sample = bpf_dynptr_data(&ptr2, 0, sizeof(*sample)); 386 data = bpf_dynptr_data(&ptr, 0, 8); in data_slice_missing_null_check2() 407 data1 = bpf_dynptr_data(&ptr, 0, 8); in invalid_helper1() 408 data2 = bpf_dynptr_data(&ptr, 0, 8); in invalid_helper1() 463 data = bpf_dynptr_data( in invalid_write2() [all...] |
| H A D | user_ringbuf_fail.c | 34 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() 227 bpf_dynptr_data(dynptr, 0xA, 0xA); in global_call_bpf_dynptr_data()
|
| H A D | user_ringbuf_success.c | 53 sample = bpf_dynptr_data(dynptr, 0, sizeof(*sample)); in record_sample() 93 msg = bpf_dynptr_data(dynptr, 0, sizeof(*msg)); in read_protocol_msg()
|
| H A D | dynptr_success.c | 92 data = bpf_dynptr_data(&ptr, map_val_size + 1, 1); in test_dynptr_data() 99 data = bpf_dynptr_data(&ptr, 0, map_val_size + 1); in test_dynptr_data() 105 data = bpf_dynptr_data(&ptr, 0, sizeof(__u32)); in test_dynptr_data() 129 sample = bpf_dynptr_data(ptr, 0, sizeof(*sample)); in ringbuf_callback() 152 sample = err ? NULL : bpf_dynptr_data(&ptr, 0, sizeof(*sample)); in test_ringbuf() 205 data = bpf_dynptr_data(&ptr, 0, 1); in test_dynptr_skb_data() 228 md = bpf_dynptr_data(&meta, 0, sizeof(*md)); in test_adjust()
|
| H A D | verifier_global_subprogs.c | 365 d = bpf_dynptr_data(dptr, 0, sizeof(long)); in subprog_dynptr()
|
| /linux/kernel/bpf/ |
| H A D | helpers.c | 1921 BPF_CALL_3(bpf_dynptr_data, const struct bpf_dynptr_kern *, ptr, u64, offset, u64, len) in BPF_CALL_3() argument 1954 .func = bpf_dynptr_data,
|