Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, line 11172
- drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
Smatch caller information:
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_promisc_ok() -> bnxt_is_trusted_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->flags | 2-u32max |
| PARAM_VALUE | 0 | bp->vf.vlan | 0 |
| PARAM_VALUE | 1 | vf | 4096-ptr_max |
| PARAM_VALUE | 1 | vf->vlan | 0 |
| DATA_SOURCE | 0 | bp | $0 |
| BIT_INFO | 0 | bp->flags | 0x2,0xffffffff |
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c bnxt_get_vf_config() -> bnxt_is_trusted_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pf.active_vfs | 1-u16max |
| PARAM_VALUE | 0 | bp->pf.vf | 4096-ptr_max |
| PARAM_VALUE | 1 | vf | 4096-ptr_max |
| PARAM_VALUE | 1 | vf->mac_addr | 4096-ptr_max |
| CAPPED_DATA | 0 | bp->pf.active_vfs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c bnxt_vf_configure_mac() -> bnxt_is_trusted_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->size | 0-4294967295 |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pf.vf | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pf.vf_event_bmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 1 | vf | 4096-ptr_max |
| PARAM_VALUE | 1 | vf->hwrm_cmd_req_addr | 4096-ptr_max |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | vf | $1 |
| NO_OVERFLOW_SIMPLE | 0 | bp->hwrm_dma_pool->allocation |
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c bnxt_vf_validate_set_mac() -> bnxt_is_trusted_vf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->size | 0-4294967295 |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pf.vf | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->pf.vf_event_bmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 1 | vf | 4096-ptr_max |
| PARAM_VALUE | 1 | vf->hwrm_cmd_req_addr | 4096-ptr_max |
| DATA_SOURCE | 0 | bp | $0 |
| DATA_SOURCE | 1 | vf | $1 |
| NO_OVERFLOW_SIMPLE | 0 | bp->hwrm_dma_pool->allocation |