Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_init_netdev() -> mlx4_en_alloc_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->cee_config.dcb_pfc | 0 |
| PARAM_VALUE | 0 | priv->cee_config.pfc_state | 0 |
| PARAM_VALUE | 0 | priv->cqe_factor | 0-1 |
| PARAM_VALUE | 0 | priv->ctrl_flags | 14 |
| PARAM_VALUE | 0 | priv->current_mac | 0 |
| PARAM_VALUE | 0 | priv->dcbx_cap | 0,13 |
| PARAM_VALUE | 0 | priv->ddev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->ets.prio_tc | 0 |
| PARAM_VALUE | 0 | priv->ets.tc_tsa | 0 |
| PARAM_VALUE | 0 | priv->filters.next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->filters.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->filters.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->filters.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->filters.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mac_index | (-1) |
| PARAM_VALUE | 0 | priv->max_mtu | 0-u16max |
| PARAM_VALUE | 0 | priv->mdev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->LSO_support | 0-1 |
| PARAM_VALUE | 0 | priv->mdev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->device_up | 1 |
| PARAM_VALUE | 0 | priv->mdev->dma_device | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->mlx_nb.notifier_call | 3252453909601665024 |
| PARAM_VALUE | 0 | priv->mdev->mr.access | 3072 |
| PARAM_VALUE | 0 | priv->mdev->mr.enabled | 1 |
| PARAM_VALUE | 0 | priv->mdev->mr.iova | 0 |
| PARAM_VALUE | 0 | priv->mdev->mr.mtt.offset | 0-4294967294 |
| PARAM_VALUE | 0 | priv->mdev->mr.mtt.order | (-1)-s32max |
| PARAM_VALUE | 0 | priv->mdev->mr.mtt.page_shift | 0-64 |
| PARAM_VALUE | 0 | priv->mdev->mr.pd | 0-4294967294 |
| PARAM_VALUE | 0 | priv->mdev->mr.size | u64max |
| PARAM_VALUE | 0 | priv->mdev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->priv_pdn | 0-4294967294 |
| PARAM_VALUE | 0 | priv->mdev->priv_uar.index | s32min-(-2),0-s32max |
| PARAM_VALUE | 0 | priv->mdev->priv_uar.map | 0 |
| PARAM_VALUE | 0 | priv->mdev->priv_uar.pfn | 0-4503601774854142 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | priv->mdev->state_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | priv->mdev->workqueue | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->msg_enable | 20 |
| PARAM_VALUE | 0 | priv->pflags | 1 |
| PARAM_VALUE | 0 | priv->port | 1-2147483646 |
| PARAM_VALUE | 0 | priv->port_up | 0 |
| PARAM_VALUE | 0 | priv->prof | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->rss_key | 0 |
| PARAM_VALUE | 0 | priv->tx_cq | 0 |
| PARAM_VALUE | 0 | priv->tx_ring | 0 |
| PARAM_VALUE | 0 | priv->tx_work_limit | 256 |
| BUF_SIZE | 0 | priv->ddev | 1616 |
| BUF_SIZE | 0 | priv->mdev | 1184 |
| CAPPED_DATA | 0 | priv->dev->dev_port | 1 |
| CAPPED_DATA | 0 | priv->port | 1 |
| FUZZY_MAX | 0 | priv->cqe_factor | 1 |
| FUZZY_MAX | 0 | priv->dcbx_cap | 13 |
| POWER_OF_TWO | 0 | *priv | |
| HARD_MAX | 0 | priv->cqe_factor | 1 |
| HARD_MAX | 0 | priv->dcbx_cap | 13 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | priv->mdev->clock.cycle_last | 0-u64max |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_try_alloc_resources() -> mlx4_en_alloc_resources()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | priv->mdev->state_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | priv->prof | 11560345668075520,1236414981855416320,2878649339466862592,4715939051659575296,6801831202754191360 |
| PARAM_VALUE | 0 | *priv->tx_ring_num | 0-4294967295 |
| BUF_SIZE | 0 | priv | 78568 |
| DATA_SOURCE | 0 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->hwtstamp_config.flags | s32min-s32max |
| USER_DATA | 0 | priv->hwtstamp_config.rx_filter | 0 |
| USER_DATA | 0 | priv->hwtstamp_config.tx_type | 0-1 |
| USER_DATA | 0 | priv->prof->hwtstamp_config.flags | s32min-s32max |
| USER_DATA | 0 | priv->prof->hwtstamp_config.rx_filter | 0 |
| USER_DATA | 0 | priv->prof->hwtstamp_config.tx_type | 0-1 |
| LOCK2 | &mdev->state_lock | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |