Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/microsoft/mana/mana_bpf.c, line 207
- drivers/net/ethernet/microsoft/mana/mana_en.c
- drivers/net/ethernet/microsoft/mana/mana_ethtool.c
Smatch caller information:
drivers/net/ethernet/microsoft/mana/mana_en.c mana_change_mtu() -> mana_pre_alloc_rxbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mpc | 4096-ptr_max |
| DATA_SOURCE | 1 | new_mtu | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new_mtu | 0-s32max[c] |
| UNITS | 2 | num_queues | unit_array_size |
drivers/net/ethernet/microsoft/mana/mana_en.c mana_per_port_queue_reset_work_handler() -> mana_pre_alloc_rxbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mpc | 4096-ptr_max |
| PARAM_VALUE | 0 | mpc->channel_changing | 1 |
| PARAM_VALUE | 0 | mpc->ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | mpc->vport_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.wait_lock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &mpc->vport_mutex | 1 |
| UNITS | 1 | new_mtu | unit_byte |
| UNITS | 2 | num_queues | unit_array_size |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/microsoft/mana/mana_bpf.c mana_xdp_set() -> mana_pre_alloc_rxbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mpc | 4096-ptr_max |
| PARAM_VALUE | 0 | mpc->ac | 4096-ptr_max |
| PARAM_VALUE | 0 | mpc->ac->gdma_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | mpc->port_is_up | 1 |
| BUF_SIZE | 0 | mpc->bpf_prog | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | new_mtu | unit_byte |
| UNITS | 2 | num_queues | unit_array_size |
| HALF_LOCKED2 | &ndev->lock |
drivers/net/ethernet/microsoft/mana/mana_ethtool.c mana_set_channels() -> mana_pre_alloc_rxbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mpc | 4096-ptr_max |
| PARAM_VALUE | 0 | mpc->channel_changing | 1 |
| PARAM_VALUE | 0 | mpc->vport_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | num_queues | 0 |
| CAPPED_DATA | 0 | &mpc->vport_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | num_queues | 0 |
| UNITS | 1 | new_mtu | unit_byte |
| UNITS | 2 | num_queues | unit_array_size |
drivers/net/ethernet/microsoft/mana/mana_ethtool.c mana_set_priv_flags() -> mana_pre_alloc_rxbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mpc | 4096-ptr_max |
| PARAM_VALUE | 0 | mpc->bpf_prog | 0 |
| PARAM_VALUE | 0 | mpc->channel_changing | 1 |
| PARAM_VALUE | 0 | mpc->port_is_up | 1 |
| PARAM_VALUE | 0 | mpc->priv_flags | 0 |
| PARAM_VALUE | 0 | mpc->vport_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mpc->vport_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | new_mtu | 0-1714 |
| CAPPED_DATA | 0 | &mpc->vport_mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mpc->priv_flags | 0 |
| UNITS | 1 | new_mtu | unit_byte |
| UNITS | 2 | num_queues | unit_array_size |
drivers/net/ethernet/microsoft/mana/mana_ethtool.c mana_set_ringparam() -> mana_pre_alloc_rxbufs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mpc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | new_mtu | unit_byte |
| UNITS | 2 | num_queues | unit_array_size |