Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/netronome/nfp/abm/main.c
- drivers/net/ethernet/netronome/nfp/flower/main.c, line 285
- drivers/net/ethernet/netronome/nfp/nfp_net_repr.c
Smatch caller information:
drivers/net/ethernet/netronome/nfp/flower/main.c nfp_flower_reprs_reify() -> nfp_repr_get_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | app | 4096-ptr_max |
| PARAM_VALUE | 0 | app->pf | 4096-ptr_max |
| PARAM_VALUE | 0 | app->pf->cpp | 4096-ptr_max |
| PARAM_VALUE | 0 | app->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | app->reprs | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type->ctrl_msg_rx | 0,3673949805698449408,6215767600922685440 |
| PARAM_VALUE | 0 | app->type->init | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type->name | 3878066561407221760,4078096631801188352,6341578861942923264,6517822563391971328 |
| PARAM_VALUE | 0 | app->type->repr_clean | 0,4234668292826488832 |
| PARAM_VALUE | 0 | app->type->repr_init | 0 |
| PARAM_VALUE | 0 | app->type->setup_tc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | app->type->sriov_enable | 0,976354323888803840,2633142555697065984 |
| PARAM_VALUE | 0 | app->type->stop | 0,1511258362187714560 |
| PARAM_VALUE | 0 | app->type->vnic_alloc | 2450671683539951616,4985976587667779584,8327133135888568320,9139911411769856000 |
| PARAM_VALUE | 0 | app->type->vnic_init | 0,2633441523523055616,4222483928750702592,6533350314260557824 |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->num_reprs | 1-u32max |
| PARAM_VALUE | 2 | id | 0-s32max |
| CAPPED_DATA | 2 | id | 1 |
| DATA_SOURCE | 0 | app | $0 |
| PARAM_COMPARE | 2 | id | < $1->num_reprs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | app->ctrl->cap | 0-u32max[c] |
| HOST_DATA | 0 | app->ctrl->cap_w1 | 0-u32max |
| HOST_DATA | 0 | app->ctrl->dp.ctrl | 0-u32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.mtu | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_r_vecs | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_rx_rings | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_tx_rings | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.rx_offset | 0-64 |
| HOST_DATA | 0 | app->ctrl->max_mtu | 0-u32max |
| HOST_DATA | 0 | app->ctrl->max_r_vecs | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->max_rx_rings | 0-u32max |
| HOST_DATA | 0 | app->ctrl->max_tx_rings | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.crypto_enable_off | 0 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.crypto_ops | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_cmsg_types | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_len | 504 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_off | 6144 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.me_freq_mhz | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.repr_cap | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.tls_resync_ss | 0 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.vnic_stats_cnt | 0-6553[c] |
| HOST_DATA | 0 | app->ctrl->tlv_caps.vnic_stats_off | 0 |
| HOST_DATA | 0 | app->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | *app->priv | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | app->ctrl->max_r_vecs | |
| UNITS | 2 | id | unit_array_size |
| LOCK2 | &devlink->lock | ||
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c nfp_reprs_clean_and_free() -> nfp_repr_get_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | app | 4096-ptr_max |
| PARAM_VALUE | 0 | app->pf->ctrl_vnic->dp.ops->cap_mask | 4226137727,4226268927 |
| PARAM_VALUE | 0 | app->pf->rtbl->num | s32min-s32max |
| PARAM_VALUE | 0 | app->type | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type->clean | 0,1995701980485701632,5770351495476133888,7820565419032727552 |
| PARAM_VALUE | 0 | app->type->ctrl_msg_rx | 0,3673949805698449408,6215767600922685440 |
| PARAM_VALUE | 0 | app->type->init | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type->name | 3878066561407221760,4078096631801188352,6341578861942923264,6517822563391971328 |
| PARAM_VALUE | 0 | app->type->repr_clean | 0,4096-ptr_max |
| PARAM_VALUE | 0 | app->type->repr_init | 0 |
| PARAM_VALUE | 0 | app->type->setup_tc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | app->type->sriov_disable | 0,2834301288494211072,5110527832305561600 |
| PARAM_VALUE | 0 | app->type->sriov_enable | 0,976354323888803840,2633142555697065984 |
| PARAM_VALUE | 0 | app->type->stop | 0,1511258362187714560 |
| PARAM_VALUE | 0 | app->type->vnic_alloc | 2450671683539951616,4985976587667779584,8327133135888568320,9139911411769856000 |
| PARAM_VALUE | 0 | app->type->vnic_clean | 0,745183812931239936,1398335408715739136 |
| PARAM_VALUE | 0 | app->type->vnic_init | 0,2633441523523055616,4222483928750702592,6533350314260557824 |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->num_reprs | 1-u32max |
| BUF_SIZE | 0 | app->priv | (-1),104 |
| BUF_SIZE | 1 | set | (-1),8-s32max |
| BUF_SIZE | 1 | set | (-1),8-s32max |
| CAPPED_DATA | 2 | id | 1 |
| DATA_SOURCE | 0 | app | $0 |
| DATA_SOURCE | 1 | set | $1 |
| PARAM_COMPARE | 2 | id | < $1->num_reprs |
| CONSTRAINT | 2 | id | <3580 |
| NOSPEC | 1 | set->num_reprs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | app->ctrl->cap | 0-u32max[c] |
| HOST_DATA | 0 | app->ctrl->cap_w1 | 0-u32max |
| HOST_DATA | 0 | app->ctrl->dp.ctrl | 0-u32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.mtu | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_r_vecs | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_rx_rings | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_tx_rings | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.rx_offset | 0-64 |
| HOST_DATA | 0 | app->ctrl->max_mtu | 0-u32max |
| HOST_DATA | 0 | app->ctrl->max_r_vecs | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->max_rx_rings | 0-u32max |
| HOST_DATA | 0 | app->ctrl->max_tx_rings | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.crypto_enable_off | 0 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.crypto_ops | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_cmsg_types | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_len | 504 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_off | 6144 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.me_freq_mhz | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.repr_cap | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.tls_resync_ss | 0 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.vnic_stats_cnt | 0-6553[c] |
| HOST_DATA | 0 | app->ctrl->tlv_caps.vnic_stats_off | 0 |
| HOST_DATA | 0 | app->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | *app->priv | s64min-s64max |
| USER_DATA | 1 | set->num_reprs | 2-u16max[c] |
| NO_OVERFLOW_SIMPLE | 0 | app->ctrl->max_r_vecs | |
| NO_OVERFLOW_SIMPLE | 1 | set->num_reprs | |
| NO_OVERFLOW_SIMPLE | 2 | id | |
| UNITS | 2 | id | unit_array_size |
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c nfp_reprs_clean_and_free_by_type() -> nfp_repr_get_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | app | 4096-ptr_max |
| PARAM_VALUE | 0 | app->pf->ctrl_vnic->dp.ops->cap_mask | 4226137727,4226268927 |
| PARAM_VALUE | 0 | app->pf->rtbl->num | s32min-s32max |
| PARAM_VALUE | 0 | app->reprs | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type->clean | 0,1995701980485701632,5770351495476133888,7820565419032727552 |
| PARAM_VALUE | 0 | app->type->ctrl_msg_rx | 0,3673949805698449408,6215767600922685440 |
| PARAM_VALUE | 0 | app->type->init | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type->name | 3878066561407221760,4078096631801188352,6341578861942923264,6517822563391971328 |
| PARAM_VALUE | 0 | app->type->repr_init | 0 |
| PARAM_VALUE | 0 | app->type->sriov_disable | 0,2834301288494211072,5110527832305561600 |
| PARAM_VALUE | 0 | app->type->vnic_alloc | 2450671683539951616,4985976587667779584,8327133135888568320,9139911411769856000 |
| PARAM_VALUE | 0 | app->type->vnic_clean | 0,745183812931239936,1398335408715739136 |
| PARAM_VALUE | 0 | app->type->vnic_init | 0,2633441523523055616,4222483928750702592,6533350314260557824 |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->num_reprs | 1-u32max |
| PARAM_VALUE | 2 | id | 0-s32max |
| BUF_SIZE | 0 | app->pdev | (-1),1-s32max |
| BUF_SIZE | 0 | app->priv | (-1),104 |
| CAPPED_DATA | 2 | id | 1 |
| DATA_SOURCE | 0 | app | $0 |
| PARAM_COMPARE | 2 | id | < $1->num_reprs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | app->ctrl->cap | 0-u32max[c] |
| HOST_DATA | 0 | app->ctrl->cap_w1 | 0-u32max |
| HOST_DATA | 0 | app->ctrl->dp.ctrl | 0-u32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.mtu | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_r_vecs | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_rx_rings | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.num_tx_rings | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->dp.rx_offset | 0-64 |
| HOST_DATA | 0 | app->ctrl->max_mtu | 0-u32max |
| HOST_DATA | 0 | app->ctrl->max_r_vecs | 0-s32max[c] |
| HOST_DATA | 0 | app->ctrl->max_rx_rings | 0-u32max |
| HOST_DATA | 0 | app->ctrl->max_tx_rings | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.crypto_enable_off | 0 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.crypto_ops | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_cmsg_types | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_len | 504 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.mbox_off | 6144 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.me_freq_mhz | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.repr_cap | 0-u32max |
| HOST_DATA | 0 | app->ctrl->tlv_caps.tls_resync_ss | 0 |
| HOST_DATA | 0 | app->ctrl->tlv_caps.vnic_stats_cnt | 0-6553[c] |
| HOST_DATA | 0 | app->ctrl->tlv_caps.vnic_stats_off | 0 |
| HOST_DATA | 0 | app->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | *app->priv | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | app->ctrl->max_r_vecs | |
| UNITS | 2 | id | unit_array_size |
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/netronome/nfp/nfp_net_repr.c nfp_reprs_resync_phys_ports() -> nfp_repr_get_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | app | 4096-ptr_max |
| PARAM_VALUE | 1 | set | 4096-ptr_max |
| PARAM_VALUE | 1 | set->num_reprs | 1-u32max |
| PARAM_VALUE | 2 | id | 0-s32max |
| CAPPED_DATA | 2 | id | 1 |
| DATA_SOURCE | 0 | app | $0 |
| DATA_SOURCE | 1 | set | r nfp_reprs_get_locked |
| PARAM_COMPARE | 2 | id | < $1->num_reprs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | id | unit_array_size |
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/netronome/nfp/abm/main.c nfp_abm_kill_repr() -> nfp_repr_get_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | app | 4096-ptr_max |
| DATA_SOURCE | 0 | app | $0 |
| DATA_SOURCE | 1 | set | r nfp_reprs_get_locked |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/netronome/nfp/abm/main.c nfp_abm_spawn_repr() -> nfp_repr_get_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | app | 4096-ptr_max |
| PARAM_VALUE | 0 | app->pf | 4096-ptr_max |
| PARAM_VALUE | 0 | app->pf->ports.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | app->pf->ports.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | app->pf->ports.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | app->type->repr_clean | 0,4234668292826488832 |
| PARAM_VALUE | 0 | app->type->repr_init | 0 |
| PARAM_VALUE | 0 | app->type->setup_tc | 0,4096-ptr_max |
| PARAM_VALUE | 2 | id | 0-4294967294 |
| CAPPED_DATA | 2 | id | 1 |
| DATA_SOURCE | 0 | app | $0 |
| DATA_SOURCE | 1 | set | r nfp_reprs_get_locked |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |