Home
last modified time | relevance | path

Searched refs:ring_buffer (Results 1 – 7 of 7) sorted by relevance

/tools/lib/bpf/
Dringbuf.c34 struct ring_buffer { struct
42 static void ringbuf_unmap_ring(struct ring_buffer *rb, struct ring *r) in ringbuf_unmap_ring() argument
55 int ring_buffer__add(struct ring_buffer *rb, int map_fd, in ring_buffer__add()
147 void ring_buffer__free(struct ring_buffer *rb) in ring_buffer__free()
164 struct ring_buffer *
168 struct ring_buffer *rb; in ring_buffer__new()
257 int ring_buffer__consume(struct ring_buffer *rb) in ring_buffer__consume()
279 int ring_buffer__poll(struct ring_buffer *rb, int timeout_ms) in ring_buffer__poll()
303 int ring_buffer__epoll_fd(const struct ring_buffer *rb) in ring_buffer__epoll_fd()
Dlibbpf.h644 struct ring_buffer;
654 LIBBPF_API struct ring_buffer *
657 LIBBPF_API void ring_buffer__free(struct ring_buffer *rb);
658 LIBBPF_API int ring_buffer__add(struct ring_buffer *rb, int map_fd,
660 LIBBPF_API int ring_buffer__poll(struct ring_buffer *rb, int timeout_ms);
661 LIBBPF_API int ring_buffer__consume(struct ring_buffer *rb);
662 LIBBPF_API int ring_buffer__epoll_fd(const struct ring_buffer *rb);
/tools/testing/selftests/bpf/prog_tests/
Dtest_ima.c46 struct ring_buffer *ringbuf = NULL; in test_test_ima()
Dringbuf_multi.c44 struct ring_buffer *ringbuf = NULL; in test_ringbuf_multi()
Dringbuf.c62 static struct ring_buffer *ringbuf;
/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c124 struct ring_buffer *ringbuf;
/tools/memory-model/Documentation/
Drecipes.txt330 perf_output_put_handle() in kernel/events/ring_buffer.c:
383 perf_output_put_handle() in kernel/events/ring_buffer.c, showing a