Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dringbuf.c410 unsigned long cons_pos, prod_pos, new_prod_pos, pend_pos, flags; in __bpf_ringbuf_reserve() local
432 new_prod_pos = prod_pos + len; in __bpf_ringbuf_reserve()
451 if (new_prod_pos - cons_pos > rb->mask || in __bpf_ringbuf_reserve()
452 new_prod_pos - pend_pos > rb->mask) { in __bpf_ringbuf_reserve()
463 smp_store_release(&rb->producer_pos, new_prod_pos); in __bpf_ringbuf_reserve()