Lines Matching refs:ringbuf
28 } ringbuf SEC(".maps");
48 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(write_data), 0, &ptr); in test_read_write()
150 err = bpf_ringbuf_reserve_dynptr(&ringbuf, val, 0, &ptr); in test_ringbuf()
225 err = bpf_ringbuf_reserve_dynptr(&ringbuf, bytes, 0, &ptr); in test_adjust()
277 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 0, &ptr)) { in test_adjust_err()
334 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 0, &ptr)) { in test_zero_size_dynptr()
385 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 123, &ptr1) != -EINVAL) { in test_dynptr_is_null()
397 if (bpf_ringbuf_reserve_dynptr(&ringbuf, size, 0, &ptr2)) { in test_dynptr_is_null()
447 if (bpf_ringbuf_reserve_dynptr(&ringbuf, 64, 0, &ptr3)) { in test_dynptr_is_rdonly()
591 bpf_ringbuf_reserve_dynptr(&ringbuf, sz, 0, &src); in test_dynptr_copy()
592 bpf_ringbuf_reserve_dynptr(&ringbuf, sz, 0, &dst); in test_dynptr_copy()
622 bpf_ringbuf_reserve_dynptr(&ringbuf, len * chunks, 0, &ptr_buf); in test_dynptr_copy_xdp()
890 err = bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(buf), 0, &ptr_buf); in test_dynptr_probe()
920 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(buf), 0, &ptr_buf); in test_dynptr_probe_str()