Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c, line 2914
- drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c, line 2238
- drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h
- drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c __mlx5_lag_dev_add_mdev() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->handler | 0,1957677859457052672,2095218095745884160,5778169820518674432,8104463043848658944 |
| PARAM_VALUE | 0 | devcom->comp->id | 0-4 |
| PARAM_VALUE | 0 | devcom->comp->key.flags | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 456052265934680064 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->intf_state_mutex | ||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mlx5e_sqs2vport_add_peers_rules() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 8314392302663995392 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &priv->netdev->lock | ||
| HALF_LOCKED2 | &priv->state_lock | ||
| HALF_LOCKED2 | &tx->ft.mutex |
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mlx5e_sqs2vport_add_peers_rules() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 8314392302663995392 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &priv->netdev->lock | ||
| HALF_LOCKED2 | &priv->state_lock | ||
| HALF_LOCKED2 | &tx->ft.mutex |
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c mlx5_esw_bridge_ingress_flow_peer_create() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 4682571990115737600 |
| PARAM_VALUE | 1 | *pos | 0 |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c mlx5_esw_bridge_ingress_flow_peer_create() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 4682571990115737600 |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c mlx5e_ipsec_disable_events() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 4280607591660593152 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_clock_unload() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pos | 2449873823039668224 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | 0 | &devcom->comp->sem | |
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_clock_unload() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pos | 2449873823039668224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | 0 | &devcom->comp->sem | |
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_shared_clock_register() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pos | 5138170370854973440 |
| PARAM_VALUE | 1 | *pos | 0 |
| BUF_SIZE | 0 | devcom | 40 |
| BUF_SIZE | 0 | devcom | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdev->intf_state_mutex | ||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_shared_clock_register() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pos | 5138170370854973440 |
| BUF_SIZE | 0 | devcom | 40 |
| BUF_SIZE | 0 | devcom | 40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdev->intf_state_mutex | ||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_shared_clock_unregister() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pos | 5248572093077291008 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | 0 | &devcom->comp->sem | |
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_shared_clock_unregister() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | pos | 5248572093077291008 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mdev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | 0 | &devcom->comp->sem | |
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_add_fdb_flow() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 7287869235552690176 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &priv->mdev->priv.eswitch->mode_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_add_fdb_flow() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 7287869235552690176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devcom->comp->sem | |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &priv->mdev->priv.eswitch->mode_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_clean_fdb_peer_flows() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pos | 388850783638425600 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &comp->sem | ||
| HALF_LOCKED2 | &devcom->comp->sem |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_clean_fdb_peer_flows() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | 388850783638425600 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &comp->sem | ||
| HALF_LOCKED2 | &devcom->comp->sem |
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c mlx5_esw_bridge_mcast_filter_flow_peer_create() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 4091139429428596736 |
| PARAM_VALUE | 1 | *pos | 0 |
| LOCK2 | 0 | &devcom->comp->sem |
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c mlx5_esw_bridge_mcast_filter_flow_peer_create() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | pos | 4091139429428596736 |
| LOCK2 | 0 | &devcom->comp->sem |
drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c ipsec_fs_roce_rx_mpv_create() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | 3915136808449896448 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &*ipsec_roce->devcom->comp->sem | ||
| HALF_LOCKED2 | &rx->ft.mutex | ||
| TYPE_LOCK | (struct mlx5e_ipsec_ft)->mutex |
drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c ipsec_fs_roce_tx_mpv_create() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | 379213232818208768 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &*ipsec_roce->devcom->comp->sem | ||
| HALF_LOCKED2 | &ipsec->tx->ft.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tx->ft.mutex | ||
| TYPE_LOCK | (struct mlx5e_ipsec_ft)->mutex |
drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c mlx5_ipsec_fs_roce_tx_destroy() -> mlx5_devcom_get_next_peer_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 1 | pos | 1531405947627454464 |
| PARAM_VALUE | 1 | *pos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &*ipsec_roce->devcom->comp->sem | ||
| HALF_LOCKED2 | &ipsec->tx->ft.mutex | ||
| HALF_LOCKED2 | &tx->ft.mutex | ||
| TYPE_LOCK | (struct mlx5e_ipsec_ft)->mutex |