Defined in 1 files as a function:
Defined in 1 files as a enum:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_vcap.c ocelot_vcap_init_one() -> vcap_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ocelot->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ocelot->mact_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ocelot->mact_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->num_frame_refs | 0-u16max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops->cut_through_fwd | 0,134436361864966144 |
| PARAM_VALUE | 0 | ocelot->ops->netdev_to_port | 354382583942664192,2603890120038211584 |
| PARAM_VALUE | 0 | ocelot->ops->port_to_netdev | 1868687026581008384,4068653960461438976 |
| PARAM_VALUE | 0 | ocelot->ops->psfp_filter_add | 0,2575513632020865024 |
| PARAM_VALUE | 0 | ocelot->ops->psfp_filter_del | 0,4169167152863686656 |
| PARAM_VALUE | 0 | ocelot->ops->psfp_init | 0,1409741019055468544 |
| PARAM_VALUE | 0 | ocelot->ops->psfp_stats_get | 0,3080636728029327360 |
| PARAM_VALUE | 0 | ocelot->ops->reset | 1169718447352270848,6517286199491842048,9025871550166650880 |
| PARAM_VALUE | 0 | ocelot->ops->tas_clock_adjust | 0,2404181389992845312 |
| PARAM_VALUE | 0 | ocelot->ops->tas_guard_bands_update | 0,1557221551399227392 |
| PARAM_VALUE | 0 | ocelot->ops->update_stats | 0,3965357686628552704 |
| PARAM_VALUE | 0 | ocelot->ops->wm_dec | 5206403586227449856,6299630570137227264,6341601623281524736 |
| PARAM_VALUE | 0 | ocelot->ops->wm_enc | 875761983826563072,4220618777197907968,7497006183106965504 |
| PARAM_VALUE | 0 | ocelot->ops->wm_stat | 457015398809972736,5260409414354550784,7378957043723149312 |
| PARAM_VALUE | 0 | ocelot->owq | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->packet_buffer_size | 0-15728400 |
| PARAM_VALUE | 0 | ocelot->pgids.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->pgids.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->pgids.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->pgids.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->pgids.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ocelot->stats | 1-u64max |
| PARAM_VALUE | 0 | ocelot->stats_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_queue->flags | 0-4294967295 |
| PARAM_VALUE | 0 | ocelot->stats_queue->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->stats_queue->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->stats_queue->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->stats_queue->wq_dev | 0-s64max |
| PARAM_VALUE | 0 | ocelot->stats_regions.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_regions.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_regions.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_regions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_regions.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_work->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_work.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->targets | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vcap | 4096-ptr_max |
| PARAM_VALUE | 2 | ix | 0 |
| PARAM_VALUE | 3 | cmd | 4 |
| PARAM_VALUE | 4 | sel | 1 |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot->dev | (-1),1616 |
| BUF_SIZE | 0 | ocelot->owq | (-1),512,528-8720 |
| BUF_SIZE | 0 | ocelot->vcap | (-1),168 |
| CAPPED_DATA | 0 | ocelot->num_phys_ports | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | vcap | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ocelot | unit_byte |
drivers/net/ethernet/mscc/ocelot_vcap.c ocelot_vcap_init_one() -> vcap_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | ocelot->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->fwd_domain_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->lag_fdbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ocelot->mact_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ocelot->mact_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->multicast.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->num_frame_refs | 0-u16max |
| PARAM_VALUE | 0 | ocelot->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ops->cut_through_fwd | 0,134436361864966144 |
| PARAM_VALUE | 0 | ocelot->ops->netdev_to_port | 354382583942664192,2603890120038211584 |
| PARAM_VALUE | 0 | ocelot->ops->port_to_netdev | 1868687026581008384,4068653960461438976 |
| PARAM_VALUE | 0 | ocelot->ops->psfp_filter_add | 0,2575513632020865024 |
| PARAM_VALUE | 0 | ocelot->ops->psfp_filter_del | 0,4169167152863686656 |
| PARAM_VALUE | 0 | ocelot->ops->psfp_init | 0,1409741019055468544 |
| PARAM_VALUE | 0 | ocelot->ops->psfp_stats_get | 0,3080636728029327360 |
| PARAM_VALUE | 0 | ocelot->ops->reset | 1169718447352270848,6517286199491842048,9025871550166650880 |
| PARAM_VALUE | 0 | ocelot->ops->tas_clock_adjust | 0,2404181389992845312 |
| PARAM_VALUE | 0 | ocelot->ops->tas_guard_bands_update | 0,1557221551399227392 |
| PARAM_VALUE | 0 | ocelot->ops->update_stats | 0,3965357686628552704 |
| PARAM_VALUE | 0 | ocelot->ops->wm_dec | 5206403586227449856,6299630570137227264,6341601623281524736 |
| PARAM_VALUE | 0 | ocelot->ops->wm_enc | 875761983826563072,4220618777197907968,7497006183106965504 |
| PARAM_VALUE | 0 | ocelot->ops->wm_stat | 457015398809972736,5260409414354550784,7378957043723149312 |
| PARAM_VALUE | 0 | ocelot->owq | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->packet_buffer_size | 0-15728400 |
| PARAM_VALUE | 0 | ocelot->pgids.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->pgids.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->pgids.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->pgids.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->pgids.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ocelot->stat_view_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ocelot->stats | 1-u64max |
| PARAM_VALUE | 0 | ocelot->stats_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_queue->flags | 0-4294967295 |
| PARAM_VALUE | 0 | ocelot->stats_queue->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->stats_queue->nr_drainers | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->stats_queue->work_color | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->stats_queue->wq_dev | 0-s64max |
| PARAM_VALUE | 0 | ocelot->stats_regions.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_regions.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_regions.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_regions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_regions.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_work->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_work.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->stats_work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->targets | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vlans.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | vcap | 4096-ptr_max |
| PARAM_VALUE | 1 | vcap->action_type_width | 0-1 |
| PARAM_VALUE | 2 | ix | 0 |
| PARAM_VALUE | 3 | cmd | 4 |
| PARAM_VALUE | 4 | sel | 6 |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot->dev | (-1),1616 |
| BUF_SIZE | 0 | ocelot->owq | (-1),512,528-8720 |
| BUF_SIZE | 0 | ocelot->vcap | (-1),168 |
| CAPPED_DATA | 0 | ocelot->num_phys_ports | 1 |
| CAPPED_DATA | 1 | vcap->counter_words | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | vcap | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ocelot | unit_byte |
drivers/net/ethernet/mscc/ocelot_vcap.c vcap_row_cmd() -> vcap_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap | 4096-ptr_max |
| PARAM_VALUE | 1 | vcap | 4096-ptr_max |
| PARAM_VALUE | 1 | vcap->action_type_width | 0-1 |
| PARAM_VALUE | 1 | vcap->keys | 4096-ptr_max |
| PARAM_VALUE | 3 | cmd | 0-1 |
| PARAM_VALUE | 4 | sel | 4,7 |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | vcap | $1 |
| DATA_SOURCE | 3 | cmd | $3 |
| DATA_SOURCE | 4 | sel | $4 |
| HARD_MAX | 3 | cmd | 1 |
| HARD_MAX | 4 | sel | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ocelot | unit_byte |
| HALF_LOCKED2 | 0 | &ocelot->fwd_domain_lock |