Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/core/net-sysfs.c register_queue_kobjects() -> netdev_queue_update_kobjects()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 dev->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 dev->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 dev->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 dev->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.flags 4096-ptr_max
PARAM_VALUE 0 dev->dev.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 dev->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 dev->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 dev->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 dev->dev.fwnode->suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 dev->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 dev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 dev->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 dev->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 dev->dev.physical_location->panel 0-7
PARAM_VALUE 0 dev->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 dev->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.prev 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->uevent_ops 0
PARAM_VALUE 0 dev->sysfs_groups 4096-ptr_max
PARAM_VALUE 0 *dev->sysfs_rx_queue_group->attrs 0
PARAM_VALUE 0 *dev->sysfs_rx_queue_group->bin_attrs 0
PARAM_VALUE 1 old_num 0
DATA_SOURCE 0 dev $0

net/core/net-sysfs.c register_queue_kobjects() -> netdev_queue_update_kobjects()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 dev->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 dev->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 dev->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 dev->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.flags 4096-ptr_max
PARAM_VALUE 0 dev->dev.fwnode->dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 0 dev->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 0 dev->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 0 dev->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 0 dev->dev.fwnode->suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 dev->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.kobj.sd->active.counter (-2147483647)
PARAM_VALUE 0 dev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 0 dev->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 0 dev->dev.p->knode_bus.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->dev.p->knode_class.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->dev.p->knode_parent.n_ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->dev.physical_location->horizontal_position 0-3
PARAM_VALUE 0 dev->dev.physical_location->panel 0-7
PARAM_VALUE 0 dev->dev.physical_location->vertical_position 0-3
PARAM_VALUE 0 dev->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.prev 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->uevent_ops 0
PARAM_VALUE 0 dev->sysfs_groups 4096-ptr_max
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 1 old_num 0
PARAM_VALUE 2 new_num 0
DATA_SOURCE 0 dev $0
NOCHECK_CALL

net/core/net-sysfs.c remove_queue_kobjects() -> netdev_queue_update_kobjects()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->addr_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->dev.p->dead 0-1
PARAM_VALUE 0 dev->dev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->ethtool 4096-ptr_max
PARAM_VALUE 0 dev->ethtool->rss_ctx.xa_head 0
PARAM_VALUE 0 dev->ethtool->rss_ctx.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ethtool->rss_lock.magic 0
PARAM_VALUE 0 dev->ethtool->rss_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mc.count 0
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_uninit 0,4096-ptr_max
PARAM_VALUE 0 dev->offload_xstats_l3 0
PARAM_VALUE 0 dev->qdisc 7935956897246715904
PARAM_VALUE 0 dev->tcx_egress 0,4096-ptr_max
PARAM_VALUE 0 dev->uc.count 0
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 2 new_num 0
CAPPED_DATA 0 dev->ingress_queue 1
CAPPED_DATA 0 dev->nd_net.net 1
CAPPED_DATA 0 dev->num_tx_queues 1
CAPPED_DATA 0 dev->real_num_rx_queues 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &ovs_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &dev->lock

net/core/dev.c netif_set_real_num_tx_queues() -> netdev_queue_update_kobjects()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->num_tx_queues 1-u32max
PARAM_VALUE 0 dev->reg_state 1-2
PARAM_VALUE 2 new_num s32min-(-1),1-s32max
CAPPED_DATA 0 dev->real_num_tx_queues 1
CAPPED_DATA 1 old_num 1
CAPPED_DATA 2 new_num 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 new_num $1
FUZZY_MAX 0 dev->reg_state 2
PARAM_COMPARE 0 dev->num_tx_queues >= $2
PARAM_COMPARE 2 new_num <= $0->num_tx_queues
UNITS 2 new_num unit_array_size