Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dringbuf.c439 tmp_size = hdr_len & ~BPF_RINGBUF_DISCARD_BIT; in __bpf_ringbuf_reserve()
500 new_len |= BPF_RINGBUF_DISCARD_BIT; in bpf_ringbuf_commit()
695 flags = hdr_len & (BPF_RINGBUF_BUSY_BIT | BPF_RINGBUF_DISCARD_BIT); in __bpf_user_ringbuf_peek()
712 if (flags & BPF_RINGBUF_DISCARD_BIT) { in __bpf_user_ringbuf_peek()
/openbmc/linux/tools/lib/bpf/
H A Dringbuf.c251 if ((len & BPF_RINGBUF_DISCARD_BIT) == 0) { in ringbuf_process_ring()
464 new_len |= BPF_RINGBUF_DISCARD_BIT; in user_ringbuf_commit()
490 if (size & (BPF_RINGBUF_BUSY_BIT | BPF_RINGBUF_DISCARD_BIT)) in user_ring_buffer__reserve()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6041 BPF_RINGBUF_DISCARD_BIT = (1U << 30), enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6036 BPF_RINGBUF_DISCARD_BIT = (1U << 30), enumerator