Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/bpf/bpf_struct_ops.c bpf_struct_ops_link_create() -> (struct bpf_struct_ops)->reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | link->attach_type | 44 |
| PARAM_VALUE | 1 | link->id | 0 |
| PARAM_VALUE | 1 | link->ops | 8299489902341242880 |
| PARAM_VALUE | 1 | link->prog | 0 |
| PARAM_VALUE | 1 | link->refcnt.counter | 1 |
| PARAM_VALUE | 1 | link->sleepable | 0 |
| PARAM_VALUE | 1 | link->type | 9 |
| CONTAINER | 0 | *(-32-0-520+64+832) | $(-1) |
| LOCK2 | global &update_mutex |
kernel/bpf/bpf_struct_ops.c bpf_struct_ops_map_update_elem() -> (struct bpf_struct_ops)->reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kdata | 4096-ptr_max |
| PARAM_VALUE | 1 | link | 0 |
| LOCK2 | &st_map->lock | ||
| TYPE_LOCK | (struct bpf_struct_ops_map)->lock |