Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/bpf/ringbuf.c ____bpf_ringbuf_discard() -> bpf_ringbuf_commit()

Type Parameter Key Value
PARAM_VALUE 2 discard 1
DATA_SOURCE 0 sample $0
DATA_SOURCE 1 flags $1
NOCHECK_CALL

kernel/bpf/ringbuf.c ____bpf_ringbuf_discard_dynptr() -> bpf_ringbuf_commit()

Type Parameter Key Value
PARAM_VALUE 0 sample 1-u64max
PARAM_VALUE 2 discard 1
BUF_SIZE 0 sample 1-s32max
DATA_SOURCE 1 flags $1
NOCHECK_CALL

kernel/bpf/ringbuf.c ____bpf_ringbuf_output() -> bpf_ringbuf_commit()

Type Parameter Key Value
PARAM_VALUE 0 sample 1-u64max
PARAM_VALUE 1 flags 0-2
PARAM_VALUE 2 discard 0
DATA_SOURCE 0 sample r __bpf_ringbuf_reserve
DATA_SOURCE 1 flags $3
NOCHECK_CALL

kernel/bpf/ringbuf.c ____bpf_ringbuf_submit() -> bpf_ringbuf_commit()

Type Parameter Key Value
PARAM_VALUE 2 discard 0
DATA_SOURCE 0 sample $0
DATA_SOURCE 1 flags $1
NOCHECK_CALL

kernel/bpf/ringbuf.c ____bpf_ringbuf_submit_dynptr() -> bpf_ringbuf_commit()

Type Parameter Key Value
PARAM_VALUE 0 sample 1-u64max
PARAM_VALUE 2 discard 0
BUF_SIZE 0 sample 1-s32max
DATA_SOURCE 1 flags $1
NOCHECK_CALL