Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/amd/xgbe/xgbe-desc.c xgbe_alloc_ring_resources() -> xgbe_init_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->channel | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->channel_count | 1-u32max |
| PARAM_VALUE | 0 | pdata->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->new_rx_ring_count | 0 |
| PARAM_VALUE | 0 | pdata->new_tx_ring_count | 0 |
| PARAM_VALUE | 0 | pdata->rx_buf_size | 0,1536-4096 |
| PARAM_VALUE | 0 | pdata->vdata->ecc_support | 0-1 |
| PARAM_VALUE | 0 | pdata->vdata->tstamp_ptp_clock_freq | 0-1 |
| PARAM_VALUE | 0 | *pdata->netdev->name | 0-255 |
| BUF_SIZE | 0 | pdata->an_workqueue | (-1),512,528-8720 |
| BUF_SIZE | 0 | pdata->dev_workqueue | (-1),512,528-8720 |
| DATA_SOURCE | 0 | pdata | $0 |
| STR_LEN | 0 | pdata->an_name | (-1),46 |
| STR_LEN | 0 | pdata->ecc_name | (-1),46 |
| STR_LEN | 0 | pdata->i2c_name | (-1),46 |
| BIT_INFO | 0 | pdata->msg_enable | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | pdata->channel_count | 1-s32max[c] |
| USER_DATA | 0 | pdata->new_tx_ring_count | 0[c] |
| USER_DATA | 0 | pdata->tx_q_count | 1-u32max[c] |
| USER_DATA | 0 | pdata->tx_ring_count | 1-u32max[c] |
| UNITS | 2 | rdesc_count | unit_array_size |
drivers/net/ethernet/amd/xgbe/xgbe-desc.c xgbe_alloc_ring_resources() -> xgbe_init_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->channel | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->channel_count | 1-u32max |
| PARAM_VALUE | 0 | pdata->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->new_rx_ring_count | 0 |
| PARAM_VALUE | 0 | pdata->new_tx_ring_count | 0 |
| PARAM_VALUE | 0 | pdata->rx_buf_size | 0,1536-4096 |
| PARAM_VALUE | 0 | pdata->vdata->ecc_support | 0-1 |
| PARAM_VALUE | 0 | pdata->vdata->tstamp_ptp_clock_freq | 0-1 |
| PARAM_VALUE | 0 | *pdata->netdev->name | 0-255 |
| BUF_SIZE | 0 | pdata->an_workqueue | (-1),512,528-8720 |
| BUF_SIZE | 0 | pdata->dev_workqueue | (-1),512,528-8720 |
| DATA_SOURCE | 0 | pdata | $0 |
| STR_LEN | 0 | pdata->an_name | (-1),46 |
| STR_LEN | 0 | pdata->ecc_name | (-1),46 |
| STR_LEN | 0 | pdata->i2c_name | (-1),46 |
| BIT_INFO | 0 | pdata->msg_enable | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | pdata->channel_count | 1-s32max[c] |
| USER_DATA | 0 | pdata->new_tx_ring_count | 0[c] |
| USER_DATA | 0 | pdata->tx_q_count | 1-u32max[c] |
| USER_DATA | 0 | pdata->tx_ring_count | 1-u32max[c] |
| UNITS | 2 | rdesc_count | unit_array_size |