Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Duser_ringbuf.c42 entry = user_ring_buffer__reserve(ringbuf, sizeof(*entry)); in write_samples()
319 sample = user_ring_buffer__reserve(ringbuf, c_ringbuf_size - BPF_RINGBUF_HDR_SZ); in test_user_ringbuf_sample_full_ring_buffer()
345 sample = user_ring_buffer__reserve(ringbuf, sizeof(*sample) + 1); in test_user_ringbuf_post_alignment_autoadjust()
390 token = user_ring_buffer__reserve(ringbuf, sizeof(*token)); in test_user_ringbuf_discards_properly_ignored()
409 token = user_ring_buffer__reserve(ringbuf, sizeof(*token)); in test_user_ringbuf_discards_properly_ignored()
464 msg = user_ring_buffer__reserve(ringbuf, sizeof(*msg)); in send_test_message()
622 token = user_ring_buffer__reserve(ringbuf, sizeof(*token)); in test_user_ringbuf_blocking_reserve()
/linux-6.1.9/tools/lib/bpf/
Dringbuf.c482 void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size) in user_ring_buffer__reserve() function
553 sample = user_ring_buffer__reserve(rb, size); in user_ring_buffer__reserve_blocking()
586 return user_ring_buffer__reserve(rb, size); in user_ring_buffer__reserve_blocking()
Dlibbpf.map377 user_ring_buffer__reserve;
Dlibbpf.h1071 LIBBPF_API void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size);