Home
last modified time | relevance | path

Searched refs:bpf_ringbuf_reserve_dynptr (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Ddynptr_fail.c86 bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in ringbuf_missing_release1()
121 bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in missing_release_callback_fn()
201 bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in add_dynptr_to_map1()
237 bpf_ringbuf_reserve_dynptr(&ringbuf, 8, 0, &ptr); in data_slice_out_of_bounds_ringbuf()
364 bpf_ringbuf_reserve_dynptr(&ringbuf, 8, 0, &ptr); in data_slice_missing_null_check1()
486 bpf_ringbuf_reserve_dynptr(&ringbuf, 8, 0, &ptr); in invalid_write3()
711 : __imm(bpf_ringbuf_reserve_dynptr), in dynptr_pruning_overwrite()
742 : __imm(bpf_ringbuf_reserve_dynptr), in dynptr_pruning_stacksafe()
812 __imm(bpf_ringbuf_reserve_dynptr), in dynptr_pruning_type_confusion()
854 : __imm(bpf_ringbuf_reserve_dynptr), in dynptr_var_off_overwrite()
[all …]
H A Ddynptr_success.c46 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(write_data), 0, &ptr); in test_read_write()
148 err = bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in test_ringbuf()
223 err = bpf_ringbuf_reserve_dynptr(&ringbuf, bytes, 0, &ptr); in test_adjust()
275 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 0, &ptr)) { in test_adjust_err()
332 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 0, &ptr)) { in test_zero_size_dynptr()
383 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 123, &ptr1) != -EINVAL) { in test_dynptr_is_null()
395 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 0, &ptr2)) { in test_dynptr_is_null()
445 if (bpf_ringbuf_reserve_dynptr(&ringbuf, 64, 0, &ptr3)) { in test_dynptr_is_rdonly()
589 bpf_ringbuf_reserve_dynptr(&ringbuf, sz, 0, &src); in test_dynptr_copy()
590 bpf_ringbuf_reserve_dynptr(&ringbuf, sz, 0, &dst); in test_dynptr_copy()
[all …]
H A Duser_ringbuf_fail.c205 bpf_ringbuf_reserve_dynptr(&ringbuf, 8, 0, dynptr); in try_reinit_dynptr_ringbuf()
/linux-6.15/kernel/bpf/
H A Dringbuf.c591 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4() argument
623 .func = bpf_ringbuf_reserve_dynptr,