Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_alloc_channels() -> xgbe_free_channels()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->dev | 4096-ptr_max |
| 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 |
| NOSPEC | 0 | pdata->tx_ring_count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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] |
drivers/net/ethernet/amd/xgbe/xgbe-drv.c xgbe_free_memory() -> xgbe_free_channels()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | pdata->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | pdata->i2c.op_state.op->cmd | 0-1 |
| PARAM_VALUE | 0 | pdata->i2c.op_state.op->len | 1-3,5,128,256 |
| PARAM_VALUE | 0 | pdata->netdev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | pdata->vdata->ecc_support | 0-1 |
| PARAM_VALUE | 0 | pdata->vdata->enable_rrc | 0-1 |
| PARAM_VALUE | 0 | pdata->vdata->rx_desc_prefetch | 0,5 |
| PARAM_VALUE | 0 | pdata->vdata->tstamp_ptp_clock_freq | 0-1 |
| PARAM_VALUE | 0 | pdata->vdata->tx_desc_prefetch | 0,5 |
| PARAM_VALUE | 0 | pdata->vdata->xpcs_access | 0-2 |
| PARAM_VALUE | 0 | *pdata->netdev->name | 0-255 |
| PARAM_VALUE | 0 | *pdata->pfcq | 0-4294967295 |
| PARAM_VALUE | 0 | *pdata->prio2q_map | 0-4294967295 |
| PARAM_VALUE | 0 | *pdata->q2tc_map | 0-4294967295 |
| PARAM_VALUE | 0 | *pdata->rss_table | 0-4294967295 |
| PARAM_VALUE | 0 | *pdata->rx_rfa | 0-4294967295 |
| PARAM_VALUE | 0 | *pdata->rx_rfd | 0-4294967295 |
| BUF_SIZE | 0 | pdata->an_workqueue | (-1),512,528-8720 |
| BUF_SIZE | 0 | pdata->dev_workqueue | (-1),512,528-8720 |
| CAPPED_DATA | 0 | pdata->channel_count | 1 |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | pdata->channel_count | 1-s32max[c] |
| USER_DATA | 0 | pdata->new_tx_ring_count | 0-u32max[c] |
| USER_DATA | 0 | pdata->tx_q_count | 1-u32max[c] |
| USER_DATA | 0 | pdata->tx_ring_count | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | pdata->num_tcs |