Searched refs:consumer_pos (Results 1 – 3 of 3) sorted by relevance
28 unsigned long *consumer_pos; member44 if (r->consumer_pos) { in ringbuf_unmap_ring()45 munmap(r->consumer_pos, rb->page_size); in ringbuf_unmap_ring()46 r->consumer_pos = NULL; in ringbuf_unmap_ring()108 r->consumer_pos = tmp; in ring_buffer__add()214 cons_pos = smp_load_acquire(r->consumer_pos); in ringbuf_process_ring()234 smp_store_release(r->consumer_pos, in ringbuf_process_ring()241 smp_store_release(r->consumer_pos, cons_pos); in ringbuf_process_ring()
18 (offsetof(struct bpf_ringbuf, consumer_pos) >> PAGE_SHIFT)45 unsigned long consumer_pos __aligned(PAGE_SIZE);146 rb->consumer_pos = 0; in bpf_ringbuf_alloc()267 cons_pos = smp_load_acquire(&rb->consumer_pos); in ringbuf_avail_data_sz()337 cons_pos = smp_load_acquire(&rb->consumer_pos); in __bpf_ringbuf_reserve()409 cons_pos = smp_load_acquire(&rb->consumer_pos) & rb->mask; in bpf_ringbuf_commit()483 return smp_load_acquire(&rb->consumer_pos); in BPF_CALL_2()
204 __u64 *consumer_pos; member254 r->consumer_pos = tmp; in ringbuf_custom_setup()301 cons_pos = smp_load_acquire(r->consumer_pos); in ringbuf_custom_process_ring()319 smp_store_release(r->consumer_pos, cons_pos); in ringbuf_custom_process_ring()