Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_devlink.c ocelot_sb_pool_set() -> ocelot_setup_sharing_watermarks()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->map 4096-ptr_max
PARAM_VALUE 0 ocelot->ops 4096-ptr_max
PARAM_VALUE 0 ocelot->ops->wm_dec 4096-ptr_max
PARAM_VALUE 0 ocelot->pool_size 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
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

drivers/net/ethernet/mscc/ocelot_devlink.c ocelot_sb_port_pool_set() -> ocelot_setup_sharing_watermarks()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->map 4096-ptr_max
PARAM_VALUE 0 ocelot->ops 4096-ptr_max
PARAM_VALUE 0 ocelot->ops->wm_dec 4096-ptr_max
PARAM_VALUE 0 ocelot->ops->wm_enc 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
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

drivers/net/ethernet/mscc/ocelot_devlink.c ocelot_sb_tc_pool_bind_set() -> ocelot_setup_sharing_watermarks()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->map 4096-ptr_max
PARAM_VALUE 0 ocelot->ops 4096-ptr_max
PARAM_VALUE 0 ocelot->ops->wm_dec 4096-ptr_max
PARAM_VALUE 0 ocelot->ops->wm_enc 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
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

drivers/net/ethernet/mscc/ocelot_devlink.c ocelot_watermark_init() -> ocelot_setup_sharing_watermarks()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 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->devlink 4096-ptr_max
PARAM_VALUE 0 ocelot->devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ocelot->devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ocelot->devlink->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->dummy_rules.next 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.prev->prev 4096-ptr_max
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->mm 1-u64max
PARAM_VALUE 0 ocelot->mm->active_preemptible_tcs 0
PARAM_VALUE 0 ocelot->mm->preemptible_tcs 0
PARAM_VALUE 0 ocelot->mm->tx_active 0
PARAM_VALUE 0 ocelot->mm->tx_enabled 0
PARAM_VALUE 0 ocelot->mm->verify_status 0-5
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 4096-ptr_max
PARAM_VALUE 0 ocelot->ops->wm_stat 457015398809972736,5260409414354550784,7378957043723149312
PARAM_VALUE 0 ocelot->owq 4096-ptr_max
PARAM_VALUE 0 ocelot->owq->flags 0-4294967295
PARAM_VALUE 0 ocelot->owq->flush_color s32min-s32max
PARAM_VALUE 0 ocelot->owq->nr_drainers s32min-s32max
PARAM_VALUE 0 ocelot->owq->work_color s32min-s32max
PARAM_VALUE 0 ocelot->owq->wq_dev 0-s64max
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->pool_size 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->psfp.lock.first_waiter 0
PARAM_VALUE 0 ocelot->psfp.lock.magic 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.lock.osq.tail.counter 0
PARAM_VALUE 0 ocelot->psfp.lock.owner.counter 0
PARAM_VALUE 0 ocelot->psfp.sfi_list.next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sfi_list.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sfi_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sfi_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sfi_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.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.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->targets 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.next 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->prev 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
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->vcap (-1),168
CAPPED_DATA 0 ocelot->num_flooding_pgids 1
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ocelot->num_phys_ports
UNITS 0 ocelot unit_byte