Lines Matching refs:bpf_ringbuf
17 (offsetof(struct bpf_ringbuf, consumer_pos) >> PAGE_SHIFT)
32 struct bpf_ringbuf { struct
52 struct bpf_ringbuf *rb; argument
61 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc()
69 struct bpf_ringbuf *rb; in bpf_ringbuf_area_alloc()
126 struct bpf_ringbuf *rb = container_of(work, struct bpf_ringbuf, work); in bpf_ringbuf_notify()
131 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc()
133 struct bpf_ringbuf *rb; in bpf_ringbuf_alloc()
177 sizeof(struct bpf_ringbuf) + in ringbuf_map_alloc()
198 static void bpf_ringbuf_free(struct bpf_ringbuf *rb) in bpf_ringbuf_free()
243 static size_t bpf_ringbuf_mmap_page_cnt(const struct bpf_ringbuf *rb) in bpf_ringbuf_mmap_page_cnt()
266 static unsigned long ringbuf_avail_data_sz(struct bpf_ringbuf *rb) in ringbuf_avail_data_sz()
309 static size_t bpf_ringbuf_rec_pg_off(struct bpf_ringbuf *rb, in bpf_ringbuf_rec_pg_off()
318 static struct bpf_ringbuf *
327 static void *__bpf_ringbuf_reserve(struct bpf_ringbuf *rb, u64 size) in __bpf_ringbuf_reserve()
393 struct bpf_ringbuf *rb; in bpf_ringbuf_commit()
473 struct bpf_ringbuf *rb; in BPF_CALL_2()