Home
last modified time | relevance | path

Searched refs:user_ring_buffer (Results 1 – 2 of 2) sorted by relevance

/third_party/libbpf/src/
Dringbuf.c43 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 …]
Dlibbpf.h1016 struct user_ring_buffer;
1050 LIBBPF_API struct user_ring_buffer *
1071 LIBBPF_API void *user_ring_buffer__reserve(struct user_ring_buffer *rb, __u32 size);
1113 LIBBPF_API void *user_ring_buffer__reserve_blocking(struct user_ring_buffer *rb,
1125 LIBBPF_API void user_ring_buffer__submit(struct user_ring_buffer *rb, void *sample);
1134 LIBBPF_API void user_ring_buffer__discard(struct user_ring_buffer *rb, void *sample);
1140 LIBBPF_API void user_ring_buffer__free(struct user_ring_buffer *rb);