Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/dsa/dsa.c dsa_port_setup() -> dsa_user_create()

Type Parameter Key Value
PARAM_VALUE 0 port 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.attrs.flavour 0-2,4-7
PARAM_VALUE 0 port->devlink_port.attrs.lanes 0
PARAM_VALUE 0 port->devlink_port.attrs.pci_pf.external 0
PARAM_VALUE 0 port->devlink_port.attrs.pci_pf.pf 0
PARAM_VALUE 0 port->devlink_port.attrs.pci_sf.external 0
PARAM_VALUE 0 port->devlink_port.attrs.pci_sf.pf 0-255
PARAM_VALUE 0 port->devlink_port.attrs.pci_sf.sf 0
PARAM_VALUE 0 port->devlink_port.attrs.pci_vf.external 0
PARAM_VALUE 0 port->devlink_port.attrs.pci_vf.pf 0-255
PARAM_VALUE 0 port->devlink_port.attrs.pci_vf.vf 0
PARAM_VALUE 0 port->devlink_port.attrs.phys.port_number 0
PARAM_VALUE 0 port->devlink_port.attrs.split 0
PARAM_VALUE 0 port->devlink_port.attrs.splittable 0
PARAM_VALUE 0 port->devlink_port.attrs.switch_id.id_len 0-32
PARAM_VALUE 0 port->devlink_port.attrs_set 1
PARAM_VALUE 0 port->devlink_port.desired_type 0
PARAM_VALUE 0 port->devlink_port.devlink 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.devlink->_net.net->netns_ids.idr_rt.xa_head->count 0-255
PARAM_VALUE 0 port->devlink_port.devlink->_net.net->netns_ids.idr_rt.xa_head->nr_values 0-255
PARAM_VALUE 0 port->devlink_port.devlink->_net.net->netns_ids.idr_rt.xa_head->offset 0-255
PARAM_VALUE 0 port->devlink_port.devlink->_net.net->netns_ids.idr_rt.xa_head->shift 0-255
PARAM_VALUE 0 port->devlink_port.devlink_rate 0
PARAM_VALUE 0 port->devlink_port.index 0
PARAM_VALUE 0 port->devlink_port.initialized 1
PARAM_VALUE 0 port->devlink_port.linecard 0
PARAM_VALUE 0 port->devlink_port.list.next 0
PARAM_VALUE 0 port->devlink_port.list.prev 0
PARAM_VALUE 0 port->devlink_port.ops 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.ops->port_del 0,5297280653917495296,7056166776116604928
PARAM_VALUE 0 port->devlink_port.ops->port_fn_hw_addr_get 0,1105552436811452416,2161372112124977152,2881830882648793088,3086837170211098624,5331084624549416960
PARAM_VALUE 0 port->devlink_port.ops->port_fn_hw_addr_set 0,3534299544314576896,4238284642390831104,6293962769029922816,7613046309317726208,8690544359101091840
PARAM_VALUE 0 port->devlink_port.ops->port_fn_ipsec_crypto_get 0,4902228933308452864
PARAM_VALUE 0 port->devlink_port.ops->port_fn_ipsec_crypto_set 0,5372495510538301440
PARAM_VALUE 0 port->devlink_port.ops->port_fn_ipsec_packet_get 0,1775539211769454592
PARAM_VALUE 0 port->devlink_port.ops->port_fn_ipsec_packet_set 0,758161232406708224
PARAM_VALUE 0 port->devlink_port.ops->port_fn_max_io_eqs_get 0,7025178205638221824
PARAM_VALUE 0 port->devlink_port.ops->port_fn_max_io_eqs_set 0,8597896118109675520
PARAM_VALUE 0 port->devlink_port.ops->port_fn_migratable_get 0,609373278646910976
PARAM_VALUE 0 port->devlink_port.ops->port_fn_migratable_set 0,3871053410285416448
PARAM_VALUE 0 port->devlink_port.ops->port_fn_roce_get 0,4455983247024910336
PARAM_VALUE 0 port->devlink_port.ops->port_fn_roce_set 0,1612805619800064000
PARAM_VALUE 0 port->devlink_port.ops->port_fn_state_get 0,6521951712662228992,7263765225596121088,7671851536357396480
PARAM_VALUE 0 port->devlink_port.ops->port_fn_state_set 0,784175470144167936,6855704840655306752,9130591050118823936
PARAM_VALUE 0 port->devlink_port.ops->port_split 0,5395478576842731520,5914476347301904384,7303769814657187840
PARAM_VALUE 0 port->devlink_port.ops->port_type_set 0,7366619749569720320
PARAM_VALUE 0 port->devlink_port.ops->port_unsplit 0,958128192443506688,5601030920313925632,7070045751322910720
PARAM_VALUE 0 port->devlink_port.region_list.next->next 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.region_list.prev->next 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.region_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.registered 1
PARAM_VALUE 0 port->devlink_port.rel_index 0
PARAM_VALUE 0 port->devlink_port.reporter_list.next 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.reporter_list.next->next 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.reporter_list.prev 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.reporter_list.prev->next 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.reporter_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.resource_list.next->next 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.resource_list.prev->next 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.resource_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.switch_port 0
PARAM_VALUE 0 port->devlink_port.type 0
PARAM_VALUE 0 port->devlink_port.type_eth.ifindex 0
PARAM_VALUE 0 port->devlink_port.type_eth.netdev 0
PARAM_VALUE 0 port->devlink_port.type_ib.ibdev 0
PARAM_VALUE 0 port->devlink_port.type_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->devlink_port.type_warn_dw->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.type_warn_dw.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 port->devlink_port.type_warn_dw.work.func 0
PARAM_VALUE 0 port->dn 0,4096-ptr_max
PARAM_VALUE 0 port->dn->properties 0,4096-ptr_max
PARAM_VALUE 0 port->ds 4096-ptr_max
PARAM_VALUE 0 port->ds->devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 port->ds->devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->ds->devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->ds->devlink->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 port->ds->devlink->ports.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 port->ds->ops 4096-ptr_max
PARAM_VALUE 0 port->ds->priv->alu_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->ds->priv->alu_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->ds->priv->alu_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->ds->priv->alu_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 port->ds->priv->alu_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 port->ds->priv->alu_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 port->ds->priv->alu_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 port->ds->priv->alu_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->ds->priv->alu_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->ds->priv->current_page 0-255
PARAM_VALUE 0 port->ds->priv->gswip->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 port->ds->priv->gswip->cache_dirty 0-1
PARAM_VALUE 0 port->ds->priv->mdiodev->bus->mdio_lock.dep_map->name 0-255
PARAM_VALUE 0 port->ds->priv->mdiodev->bus->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->ds->priv->mdiodev->bus->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->ds->priv->mdiodev->bus->mdio_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->ds->priv->mdiodev->bus->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->ds->priv->pce_table_lock.dep_map->name 0-255
PARAM_VALUE 0 port->ds->priv->pce_table_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->ds->priv->pce_table_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->ds->priv->pce_table_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 port->ds->priv->pce_table_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->ds->priv->reg_mutex.dep_map->name 0-255
PARAM_VALUE 0 port->ds->priv->reg_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 port->ds->priv->reg_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 port->ds->priv->reg_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 port->ds->priv->reg_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 port->ds->priv->reg_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 port->ds->priv->reg_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 port->ds->priv->reg_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 port->ds->priv->reg_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 port->setup 0
PARAM_VALUE 0 port->type 3
PARAM_VALUE 0 *port->devlink_port->devlink->_net.net->netns_ids.idr_rt.xa_head (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *port->ds->priv->gswip->cache->data 0-4294967295
CAPPED_DATA 0 port->ds 1
DATA_SOURCE 0 port $0
MEM_ZERO 0 &port->devlink_port
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 port->user->num_napi_configs
NO_OVERFLOW_SIMPLE 0 port->user->num_rx_queues
NO_OVERFLOW_SIMPLE 0 port->user->num_tx_queues
NO_OVERFLOW_SIMPLE 0 port->user->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 port->user->real_num_tx_queues
LOCK2 global &dsa2_mutex