Home
last modified time | relevance | path

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

/Linux-v6.6/tools/lib/bpf/
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()
/Linux-v6.6/kernel/bpf/
Dringbuf.c481 new_len |= BPF_RINGBUF_DISCARD_BIT; in bpf_ringbuf_commit()
676 flags = hdr_len & (BPF_RINGBUF_BUSY_BIT | BPF_RINGBUF_DISCARD_BIT); in __bpf_user_ringbuf_peek()
693 if (flags & BPF_RINGBUF_DISCARD_BIT) { in __bpf_user_ringbuf_peek()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h6016 BPF_RINGBUF_DISCARD_BIT = (1U << 30), enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h6016 BPF_RINGBUF_DISCARD_BIT = (1U << 30), enumerator