Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/freescale/enetc/enetc.c, line 3379
- drivers/net/ethernet/freescale/enetc/enetc4_pf.c, line 559
- drivers/net/ethernet/freescale/enetc/enetc_pf.c, line 456
- drivers/net/ethernet/freescale/enetc/enetc_vf.c, line 196
Smatch caller information:
drivers/net/ethernet/freescale/enetc/enetc4_pf.c enetc4_pf_set_features() -> enetc_set_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ndev->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->header_ops->cache | 0,4002040155852992512,6291592314023907328,9038097620534984704 |
| PARAM_VALUE | 0 | ndev->header_ops->cache_update | 0,4136776623896797184,7422325842290319360 |
| PARAM_VALUE | 0 | ndev->header_ops->create | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->header_ops->parse | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->header_ops->parse_protocol | 0,4927389631704563712,5013334982761803776,5267698508377800704 |
| PARAM_VALUE | 0 | ndev->header_ops->validate | 0 |
| PARAM_VALUE | 0 | ndev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_fix_features | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_set_features | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_uninit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->queues_kset->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->alloc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->changelink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->dellink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_linkxstats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_slave_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_xstats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_link_net | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_num_rx_queues | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_num_tx_queues | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_slave_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_xstats_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->kind | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->maxtype | 0-6,8-10,15-16,18,20,22,24,33-34,50 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->newlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->policy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_changelink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_maxtype | 0,12,45 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_policy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *ndev->name | 0-255 |
| BUF_SIZE | 0 | ndev->name_node | (-1),64 |
| BUF_SIZE | 0 | ndev->name_node->name | (-1),16 |
| DATA_SOURCE | 0 | ndev | $0 |
| DATA_SOURCE | 1 | features | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ndev->flags | 0-526337[c] |
| USER_DATA | 0 | ndev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | ndev->mtu | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ndev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->real_num_tx_queues | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &ndev->lock |
drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_pf_set_features() -> enetc_set_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ndev->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->header_ops->cache | 0,4002040155852992512,6291592314023907328,9038097620534984704 |
| PARAM_VALUE | 0 | ndev->header_ops->cache_update | 0,4136776623896797184,7422325842290319360 |
| PARAM_VALUE | 0 | ndev->header_ops->create | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->header_ops->parse | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->header_ops->parse_protocol | 0,4927389631704563712,5013334982761803776,5267698508377800704 |
| PARAM_VALUE | 0 | ndev->header_ops->validate | 0 |
| PARAM_VALUE | 0 | ndev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_fix_features | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_set_features | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_uninit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->queues_kset->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->alloc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->changelink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->dellink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_linkxstats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_slave_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_xstats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_link_net | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_num_rx_queues | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_num_tx_queues | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_slave_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_xstats_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->kind | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->maxtype | 0-6,8-10,15-16,18,20,22,24,33-34,50 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->newlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->policy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_changelink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_maxtype | 0,12,45 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_policy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *ndev->name | 0-255 |
| BUF_SIZE | 0 | ndev->name_node | (-1),64 |
| BUF_SIZE | 0 | ndev->name_node->name | (-1),16 |
| DATA_SOURCE | 0 | ndev | $0 |
| DATA_SOURCE | 1 | features | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ndev->flags | 0-526337[c] |
| USER_DATA | 0 | ndev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | ndev->mtu | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ndev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->real_num_tx_queues | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &ndev->lock |
drivers/net/ethernet/freescale/enetc/enetc_vf.c enetc_vf_set_features() -> enetc_set_features()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 0 | ndev->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->header_ops->cache | 0,4002040155852992512,6291592314023907328,9038097620534984704 |
| PARAM_VALUE | 0 | ndev->header_ops->cache_update | 0,4136776623896797184,7422325842290319360 |
| PARAM_VALUE | 0 | ndev->header_ops->create | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->header_ops->parse | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->header_ops->parse_protocol | 0,4927389631704563712,5013334982761803776,5267698508377800704 |
| PARAM_VALUE | 0 | ndev->header_ops->validate | 0 |
| PARAM_VALUE | 0 | ndev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_fix_features | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_init | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_set_features | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->netdev_ops->ndo_uninit | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->queues_kset->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->alloc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->changelink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->dellink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_linkxstats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_slave_info | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->fill_xstats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_link_net | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_num_rx_queues | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_num_tx_queues | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_slave_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->get_xstats_size | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->kind | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->maxtype | 0-6,8-10,15-16,18,20,22,24,33-34,50 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->newlink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->policy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_changelink | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_maxtype | 0,12,45 |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->slave_policy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *ndev->name | 0-255 |
| BUF_SIZE | 0 | ndev->name_node | (-1),64 |
| BUF_SIZE | 0 | ndev->name_node->name | (-1),16 |
| DATA_SOURCE | 0 | ndev | $0 |
| DATA_SOURCE | 1 | features | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | ndev->flags | 0-526337[c] |
| USER_DATA | 0 | ndev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | ndev->mtu | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ndev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | ndev->real_num_tx_queues | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &ndev->lock |