Searched refs:bpf_ringbuf_reserve_dynptr (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | dynptr_fail.c | 85 bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in ringbuf_missing_release1() 120 bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in missing_release_callback_fn() 200 bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in add_dynptr_to_map1() 236 bpf_ringbuf_reserve_dynptr(&ringbuf, 8, 0, &ptr); in data_slice_out_of_bounds_ringbuf() 363 bpf_ringbuf_reserve_dynptr(&ringbuf, 8, 0, &ptr); in data_slice_missing_null_check1() 485 bpf_ringbuf_reserve_dynptr(&ringbuf, 8, 0, &ptr); in invalid_write3() 710 : __imm(bpf_ringbuf_reserve_dynptr), in dynptr_pruning_overwrite() 741 : __imm(bpf_ringbuf_reserve_dynptr), in dynptr_pruning_stacksafe() 811 __imm(bpf_ringbuf_reserve_dynptr), in dynptr_pruning_type_confusion() 853 : __imm(bpf_ringbuf_reserve_dynptr), in dynptr_var_off_overwrite() [all …]
|
H A D | dynptr_success.c | 46 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()
|
H A D | user_ringbuf_fail.c | 205 bpf_ringbuf_reserve_dynptr(&ringbuf, 8, 0, dynptr); in try_reinit_dynptr_ringbuf()
|
/openbmc/linux/kernel/bpf/ |
H A D | ringbuf.c | 579 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4() argument 611 .func = bpf_ringbuf_reserve_dynptr,
|