Defined in 1 files as a function:
Defined in 1 files as a externvar:
Referenced in 3 files:
Smatch caller information:
kernel/bpf/trampoline.c bpf_trampoline_get() -> trampoline_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->fops | 4197474181317255168 |
| PARAM_VALUE | 0 | tr->fops->direct_call | 0 |
| PARAM_VALUE | 0 | tr->fops->managed | 0 |
| PARAM_VALUE | 0 | tr->fops->ops_func | 4637417823910088704 |
| PARAM_VALUE | 0 | tr->fops->private | 0 |
| PARAM_VALUE | 0 | tr->hlist_ip->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_ip.next->pprev | 0 |
| PARAM_VALUE | 0 | tr->hlist_ip.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_key->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_key.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->progs_hlist | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->refcnt.refs.counter | 1 |
| BUF_SIZE | 0 | tr | (-1),184 |
| BUF_SIZE | 0 | tr | (-1),184 |
| CAPPED_DATA | 0 | tr | 1 |
| DATA_SOURCE | 0 | tr | r bpf_trampoline_lookup |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &prog->aux->dst_mutex | ||
| HALF_LOCKED2 | global &cgroup_mutex |
kernel/bpf/trampoline.c bpf_trampoline_link_cgroup_shim() -> trampoline_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->fops | 4197474181317255168 |
| PARAM_VALUE | 0 | tr->fops->direct_call | 0 |
| PARAM_VALUE | 0 | tr->fops->managed | 0 |
| PARAM_VALUE | 0 | tr->fops->ops_func | 4637417823910088704 |
| PARAM_VALUE | 0 | tr->fops->private | 0 |
| PARAM_VALUE | 0 | tr->hlist_ip->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_ip.next->pprev | 0 |
| PARAM_VALUE | 0 | tr->hlist_ip.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_key->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_key.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->progs_hlist | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->refcnt.refs.counter | 1 |
| BUF_SIZE | 0 | tr | (-1),184 |
| BUF_SIZE | 0 | tr | (-1),184 |
| CAPPED_DATA | 0 | tr | 1 |
| DATA_SOURCE | 0 | tr | r bpf_trampoline_get |
| BIT_INFO | 0 | tr->key | 0x80000000,0xffffffffffffffff |
| NOCHECK_CALL | |||
| LOCK2 | global &cgroup_mutex |
kernel/bpf/trampoline.c bpf_trampoline_link_prog() -> trampoline_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 1-u64max |
| BUF_SIZE | 0 | tr | (-1),184 |
| BUF_SIZE | 0 | tr | (-1),184 |
| CAPPED_DATA | 0 | tr | 1 |
| DATA_SOURCE | 0 | tr | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &prog->aux->dst_mutex | ||
| TYPE_LOCK | (struct bpf_prog_aux)->dst_mutex |
kernel/bpf/trampoline.c bpf_trampoline_set_flags() -> trampoline_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->fops | 4197474181317255168 |
| PARAM_VALUE | 0 | tr->fops->direct_call | 0 |
| PARAM_VALUE | 0 | tr->fops->managed | 0 |
| PARAM_VALUE | 0 | tr->fops->ops_func | 4637417823910088704 |
| PARAM_VALUE | 0 | tr->fops->private | 0 |
| PARAM_VALUE | 0 | tr->hlist_ip->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_ip.next->pprev | 0 |
| PARAM_VALUE | 0 | tr->hlist_ip.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_key->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_key.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->progs_hlist | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->refcnt.refs.counter | 1 |
| BUF_SIZE | 0 | tr | (-1),184 |
| BUF_SIZE | 0 | tr | (-1),184 |
| CAPPED_DATA | 0 | tr | 1 |
| DATA_SOURCE | 0 | tr | $0 |
| NOCHECK_CALL |
kernel/bpf/trampoline.c bpf_trampoline_unlink_cgroup_shim() -> trampoline_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tr | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->fops | 4197474181317255168 |
| PARAM_VALUE | 0 | tr->fops->direct_call | 0 |
| PARAM_VALUE | 0 | tr->fops->managed | 0 |
| PARAM_VALUE | 0 | tr->fops->ops_func | 4637417823910088704 |
| PARAM_VALUE | 0 | tr->fops->private | 0 |
| PARAM_VALUE | 0 | tr->hlist_ip->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_ip.next->pprev | 0 |
| PARAM_VALUE | 0 | tr->hlist_ip.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_key->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->hlist_key.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->progs_hlist | 4096-ptr_max |
| PARAM_VALUE | 0 | tr->refcnt.refs.counter | 1 |
| BUF_SIZE | 0 | tr | (-1),184 |
| BUF_SIZE | 0 | tr | (-1),184 |
| CAPPED_DATA | 0 | tr | 1 |
| DATA_SOURCE | 0 | tr | r bpf_trampoline_lookup |
| BIT_INFO | 0 | tr->key | 0x80000000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &cgroup_mutex |
kernel/bpf/trampoline.c bpf_trampoline_unlink_prog() -> trampoline_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | tr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |