Searched refs:user_ring_buffer (Results 1 – 2 of 2) sorted by relevance
/third_party/libbpf/src/ |
D | ringbuf.c | 43 struct user_ring_buffer { struct 385 static void user_ringbuf_unmap_ring(struct user_ring_buffer *rb) in user_ringbuf_unmap_ring() 397 void user_ring_buffer__free(struct user_ring_buffer *rb) in user_ring_buffer__free() 410 static int user_ringbuf_map(struct user_ring_buffer *rb, int map_fd) in user_ringbuf_map() 479 struct user_ring_buffer * 482 struct user_ring_buffer *rb; in user_ring_buffer__new() 512 static void user_ringbuf_commit(struct user_ring_buffer *rb, void *sample, bool discard) in user_ringbuf_commit() 531 void user_ring_buffer__discard(struct user_ring_buffer *rb, void *sample) in user_ring_buffer__discard() 536 void user_ring_buffer__submit(struct user_ring_buffer *rb, void *sample) in user_ring_buffer__submit() 541 void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size) in user_ring_buffer__reserve() [all …]
|
D | libbpf.h | 1248 struct user_ring_buffer; 1355 LIBBPF_API struct user_ring_buffer * 1377 LIBBPF_API void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size); 1420 LIBBPF_API void *user_ring_buffer__reserve_blocking(struct user_ring_buffer *rb, 1433 LIBBPF_API void user_ring_buffer__submit(struct user_ring_buffer *rb, void *sample); 1443 LIBBPF_API void user_ring_buffer__discard(struct user_ring_buffer *rb, void *sample); 1450 LIBBPF_API void user_ring_buffer__free(struct user_ring_buffer *rb);
|