Searched refs:user_ring_buffer (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | user_ringbuf.c | 32 static int write_samples(struct user_ring_buffer *ringbuf, uint32_t num_samples) in write_samples() 145 struct user_ring_buffer **user_ringbuf_out) in load_skel_create_ringbufs() 149 struct user_ring_buffer *user_ringbuf = NULL; in load_skel_create_ringbufs() 197 struct user_ring_buffer **ringbuf_out) in load_skel_create_user_ringbuf() 239 struct user_ring_buffer *ringbuf; in test_user_ringbuf_post_misaligned() 255 struct user_ring_buffer *ringbuf; in test_user_ringbuf_post_producer_wrong_offset() 271 struct user_ring_buffer *ringbuf; in test_user_ringbuf_post_larger_than_ringbuf_sz() 287 struct user_ring_buffer *ringbuf; in test_user_ringbuf_basic() 310 struct user_ring_buffer *ringbuf; in test_user_ringbuf_sample_full_ring_buffer() 335 struct user_ring_buffer *ringbuf; in test_user_ringbuf_post_alignment_autoadjust() [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | ringbuf.c | 43 struct user_ring_buffer { struct 326 static void user_ringbuf_unmap_ring(struct user_ring_buffer *rb) in user_ringbuf_unmap_ring() 338 void user_ring_buffer__free(struct user_ring_buffer *rb) in user_ring_buffer__free() 351 static int user_ringbuf_map(struct user_ring_buffer *rb, int map_fd) in user_ringbuf_map() 420 struct user_ring_buffer * 423 struct user_ring_buffer *rb; in user_ring_buffer__new() 453 static void user_ringbuf_commit(struct user_ring_buffer *rb, void *sample, bool discard) in user_ringbuf_commit() 472 void user_ring_buffer__discard(struct user_ring_buffer *rb, void *sample) in user_ring_buffer__discard() 477 void user_ring_buffer__submit(struct user_ring_buffer *rb, void *sample) in user_ring_buffer__submit() 482 void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size) in user_ring_buffer__reserve() [all …]
|
H A D | libbpf.h | 1232 struct user_ring_buffer; 1267 LIBBPF_API struct user_ring_buffer * 1289 LIBBPF_API void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size); 1332 LIBBPF_API void *user_ring_buffer__reserve_blocking(struct user_ring_buffer *rb, 1345 LIBBPF_API void user_ring_buffer__submit(struct user_ring_buffer *rb, void *sample); 1355 LIBBPF_API void user_ring_buffer__discard(struct user_ring_buffer *rb, void *sample); 1362 LIBBPF_API void user_ring_buffer__free(struct user_ring_buffer *rb);
|