Lines Matching refs:bpf_ringbuf
20 (offsetof(struct bpf_ringbuf, consumer_pos) >> PAGE_SHIFT)
27 struct bpf_ringbuf { struct
81 struct bpf_ringbuf *rb; argument
90 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc()
98 struct bpf_ringbuf *rb; in bpf_ringbuf_area_alloc()
153 struct bpf_ringbuf *rb = container_of(work, struct bpf_ringbuf, work); in bpf_ringbuf_notify()
169 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc()
171 struct bpf_ringbuf *rb; in bpf_ringbuf_alloc()
217 static void bpf_ringbuf_free(struct bpf_ringbuf *rb) in bpf_ringbuf_free()
296 static unsigned long ringbuf_avail_data_sz(struct bpf_ringbuf *rb) in ringbuf_avail_data_sz()
305 static u32 ringbuf_total_data_sz(const struct bpf_ringbuf *rb) in ringbuf_total_data_sz()
338 struct bpf_ringbuf *rb; in ringbuf_map_mem_usage()
387 static size_t bpf_ringbuf_rec_pg_off(struct bpf_ringbuf *rb, in bpf_ringbuf_rec_pg_off()
396 static struct bpf_ringbuf *
405 static void *__bpf_ringbuf_reserve(struct bpf_ringbuf *rb, u64 size) in __bpf_ringbuf_reserve()
486 struct bpf_ringbuf *rb; in bpf_ringbuf_commit()
566 struct bpf_ringbuf *rb; in BPF_CALL_2()
669 static int __bpf_user_ringbuf_peek(struct bpf_ringbuf *rb, void **sample, u32 *size) in __bpf_user_ringbuf_peek()
724 static void __bpf_user_ringbuf_sample_release(struct bpf_ringbuf *rb, size_t size, u64 flags) in __bpf_user_ringbuf_sample_release()
741 struct bpf_ringbuf *rb; in BPF_CALL_4()