Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/mellanox/mlx4/alloc.c, line 786
- drivers/net/ethernet/mellanox/mlx4/en_cq.c, line 72
- drivers/net/ethernet/mellanox/mlx4/en_netdev.c, line 3301
- drivers/net/ethernet/mellanox/mlx4/en_rx.c, line 296
- drivers/net/ethernet/mellanox/mlx4/en_tx.c, line 95
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/en_cq.c mlx4_en_create_cq() -> mlx4_alloc_hwq_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | wqres | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_create_rx_ring() -> mlx4_alloc_hwq_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | wqres | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_tx.c mlx4_en_create_tx_ring() -> mlx4_alloc_hwq_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | wqres | 4096-ptr_max |
| PARAM_VALUE | 2 | size | s32min-0,4096-s32max |
| BIT_INFO | 2 | size | 0x0,0xfffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_init_netdev() -> mlx4_alloc_hwq_res()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.def_mac | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.eth_mtu_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.num_ports | s32min-2147483646 |
| PARAM_VALUE | 0 | dev->caps.rx_checksum_flags_port | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | wqres | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 4096 |
| CAPPED_DATA | 0 | dev->caps.num_ports | 1 |
| MEM_ZERO | 1 | wqres | |
| RX_PATH | |||
| TASK_NOT_RUNNING |