Defined in 1 files as a function:
Referenced in 8 files:
- include/linux/filter.h, line 1061
- io_uring/bpf_filter.c, line 88
- kernel/seccomp.c, line 424
- net/bpf/test_run.c, line 1706
- net/core/flow_dissector.c, line 1024
- net/core/skmsg.c
- net/kcm/kcmsock.c, line 394
- net/netfilter/nf_bpf_link.c, line 20
Smatch caller information:
net/kcm/kcmsock.c kcm_parse_func_strparser() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | (-1)-0,240 |
| DATA_SOURCE | 1 | ctx | $1 |
net/packet/af_packet.c bpf_prog_run_clear_cb() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | (-1)-s32max |
| DATA_SOURCE | 0 | prog | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ctx | unit_byte |
| LOCK2 | rcu_read |
net/core/skmsg.c sk_psock_msg_verdict() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 1-u64max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | (-1),712 |
| DATA_SOURCE | 1 | ctx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &vq->mutex |
net/core/skmsg.c sk_psock_strp_parse() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 1-u64max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | (-1)-0,240 |
| DATA_SOURCE | 1 | ctx | $1 |
| LOCK2 | rcu_read |
net/core/skmsg.c sk_psock_strp_read() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 1-u64max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | (-1)-0,240 |
| DATA_SOURCE | 1 | ctx | $1 |
| LOCK2 | rcu_read |
net/core/skmsg.c sk_psock_verdict_recv() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 1-u64max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| DATA_SOURCE | 1 | ctx | $1 |
| LOCK2 | rcu_read |
net/bpf/test_run.c bpf_prog_test_run_syscall() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux->ops->test_run | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0-ptr_max |
| BUF_SIZE | 0 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | ctx | 0-u16max |
| BUF_SIZE | 1 | ctx | 0-u16max |
| CAPPED_DATA | 0 | prog->aux->max_ctx_offset | 1 |
| DATA_SOURCE | 0 | prog | $0 |
| USER_DATA | 1 | *ctx | s64min-s64max |
| USER_PTR | 1 | ctx |
net/netfilter/nf_bpf_link.c nf_hook_run_bpf() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 6935307809540841472 |
| BUF_SIZE | 0 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | ctx | 16 |
| DATA_SOURCE | 0 | prog | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/core/flow_dissector.c bpf_flow_dissect() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | prog->aux->ops->test_run | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 5747244982162644992 |
| BUF_SIZE | 0 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | prog | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | prog | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| LOCK2 | rcu_read |
drivers/net/tun.c bpf_prog_run_clear_cb() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | prog | 4096-ptr_max |
| BUF_SIZE | 1 | ctx | (-1)-s32max |
| DATA_SOURCE | 0 | prog | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
io_uring/bpf_filter.c __io_uring_run_bpf_filters() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 7463350493292011520 |
| BUF_SIZE | 1 | ctx | 40 |
| LOCK2 | &ctx->uring_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sqd->lock | ||
| TYPE_LOCK | (struct io_ring_ctx)->uring_lock |
kernel/seccomp.c seccomp_run_filters() -> bpf_prog_run_pin_on_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 1551933998003503104 |
| DATA_SOURCE | 1 | ctx | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |