Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/net_namespace.c netns_bpf_link_attach() -> flow_dissector_bpf_prog_attach_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| DATA_SOURCE | 0 | net | $0 |
| LOCK2 | global &netns_bpf_mutex |
kernel/bpf/net_namespace.c netns_bpf_prog_attach() -> flow_dissector_bpf_prog_attach_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| BUF_SIZE | 1 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | prog | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | prog->type | 1 |
| DATA_SOURCE | 1 | prog | $1 |
| LOCK2 | global &netns_bpf_mutex |