Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/bpf/syscall.c bpf_tracing_prog_attach() -> bpf_trampoline_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tgt_info | 3014896408286572544 |
| PARAM_VALUE | 1 | tgt_info->tgt_addr | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_mod | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_name | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_type | 0 |
| LOCK2 | &prog->aux->dst_mutex | ||
| TYPE_LOCK | (struct bpf_prog_aux)->dst_mutex |
kernel/bpf/trampoline.c bpf_trampoline_link_cgroup_shim() -> bpf_trampoline_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tgt_info | 6271061367293353984 |
| PARAM_VALUE | 1 | tgt_info->tgt_addr | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_mod | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_name | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_type | 0 |
| DATA_SOURCE | 0 | key | r bpf_trampoline_compute_key |
| BIT_INFO | 0 | key | 0x80000000,0xffffffffffffffff |
| BIT_INFO | 0 | key | 0x80000000,0xffffffffffffffff |
| LOCK2 | global &cgroup_mutex |
kernel/bpf/trampoline.c bpf_trampoline_multi_attach() -> bpf_trampoline_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tgt_info | 8561823162184040448 |
| PARAM_VALUE | 1 | tgt_info->fmodel.nr_args | 0-12 |
| PARAM_VALUE | 1 | tgt_info->fmodel.ret_flags | 0,2 |
| PARAM_VALUE | 1 | tgt_info->tgt_addr | s64min-(-1),1-s64max |
| PARAM_VALUE | 1 | tgt_info->tgt_mod | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_name | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_type | 0 |
| DATA_SOURCE | 0 | key | r bpf_trampoline_compute_key |
| BIT_INFO | 0 | key | 0x80000000,0xffffffffffffffff |
| BIT_INFO | 0 | key | 0x80000000,0xffffffffffffffff |
kernel/bpf/verifier.c check_attach_btf_id() -> bpf_trampoline_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tgt_info | 8984184910329344000 |
| PARAM_VALUE | 1 | tgt_info->tgt_addr | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_mod | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_name | 0 |
| PARAM_VALUE | 1 | tgt_info->tgt_type | 0 |
| DATA_SOURCE | 0 | key | r bpf_trampoline_compute_key |