Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/netkit.c netkit_link_prog_attach() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| BUF_SIZE | 0 | entry | (-1),520 |
| BUF_SIZE | 0 | entry | (-1),520 |
| CAPPED_DATA | 0 | entry | 1 |
| DATA_SOURCE | 0 | entry | r netkit_entry_fetch |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
drivers/net/netkit.c netkit_link_release() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| CAPPED_DATA | 0 | entry | 1 |
| DATA_SOURCE | 0 | entry | r netkit_entry_fetch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
drivers/net/netkit.c netkit_link_update() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| CAPPED_DATA | 0 | entry | 1 |
| DATA_SOURCE | 0 | entry | r netkit_entry_fetch |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
drivers/net/netkit.c netkit_prog_attach() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| BUF_SIZE | 0 | entry | (-1),520 |
| BUF_SIZE | 0 | entry | (-1),520 |
| CAPPED_DATA | 0 | entry | 1 |
| DATA_SOURCE | 0 | entry | r netkit_entry_fetch |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
drivers/net/netkit.c netkit_prog_detach() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| CAPPED_DATA | 0 | entry | 1 |
| DATA_SOURCE | 0 | entry | r netkit_entry_fetch |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
kernel/bpf/tcx.c tcx_link_prog_attach() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| BUF_SIZE | 0 | entry | (-1),520 |
| BUF_SIZE | 0 | entry | (-1),520 |
| CAPPED_DATA | 0 | entry | 1 |
| DATA_SOURCE | 0 | entry | r tcx_entry_fetch_or_create |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
kernel/bpf/tcx.c tcx_link_release() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| CAPPED_DATA | 0 | entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
kernel/bpf/tcx.c tcx_link_update() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| CAPPED_DATA | 0 | entry | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
kernel/bpf/tcx.c tcx_prog_attach() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| BUF_SIZE | 0 | entry | (-1),520 |
| BUF_SIZE | 0 | entry | (-1),520 |
| CAPPED_DATA | 0 | entry | 1 |
| DATA_SOURCE | 0 | entry | r tcx_entry_fetch_or_create |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
kernel/bpf/tcx.c tcx_prog_detach() -> bpf_mprog_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 1-u64max |
| PARAM_VALUE | 0 | entry->parent->count | 0-s32max |
| CAPPED_DATA | 0 | entry | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |