Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/syscall.c bpf_prog_load() -> find_prog_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 3-4,6,8-16,18-19,21-23,25,28,32 |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->aux | 4096-ptr_max |
| BUF_SIZE | 1 | prog | 0-s32max |
| BUF_SIZE | 1 | prog | 0-s32max |
| BUF_SIZE | 1 | prog->aux->attach_btf | s32min-(-2),0-s32max |
| BUF_SIZE | 1 | prog->aux->dst_prog | s32min-(-2),0-s32max |
| BUF_SIZE | 1 | prog->aux->token | s32min-(-2),0-s32max |
| CAPPED_DATA | 1 | prog->len | 1 |
| DATA_SOURCE | 1 | prog | r bpf_prog_alloc |
| USER_DATA | 1 | prog->insns->code | 0-u16max |
| USER_DATA | 1 | prog->insns->jf | 0-255 |
| USER_DATA | 1 | prog->insns->jt | 0-255 |
| USER_DATA | 1 | prog->insns->k | 0-u32max |
| USER_DATA | 1 | *prog->insns | s64min-s64max |
| USER_PTR | 1 | prog->insns |