Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c fbnic_set_channels() -> fbnic_clone_swap()

Type Parameter Key Value
PARAM_VALUE 0 orig 4096-ptr_max
PARAM_VALUE 0 orig->fbd 4096-ptr_max
PARAM_VALUE 0 orig->fbd->fw_cap.need_bmc_macda_sync 1
PARAM_VALUE 0 orig->fbd->netdev 4096-ptr_max
PARAM_VALUE 0 orig->fbd->netdev->addr_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 orig->fbd->netdev->mc.tree.rb_node 4096-ptr_max
PARAM_VALUE 0 orig->fbd->netdev->priv->macvlan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 orig->fbd->netdev->priv->macvlan_task.cpu s32min-s32max
PARAM_VALUE 0 orig->fbd->netdev->priv->macvlan_task.timer.flags 0-4294967295
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.dep_map->name 0-255
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 orig->fbd->netdev->uc.tree.rb_node 4096-ptr_max
PARAM_VALUE 0 orig->fbd->service_task.work.entry.next 1-u64max
PARAM_VALUE 0 orig->fbd->service_task.work.entry.prev 1-u64max
PARAM_VALUE 0 orig->fbd->uc_addr0 0
PARAM_VALUE 0 orig->fbd->uc_addr4 0
PARAM_VALUE 0 orig->netdev 4096-ptr_max
PARAM_VALUE 0 orig->netdev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 clone 4096-ptr_max
PARAM_VALUE 1 clone->netdev 4096-ptr_max
PARAM_VALUE 1 clone->netdev->dev.parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 clone->netdev->real_num_rx_queues 1-u32max
PARAM_VALUE 1 clone->netdev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736
PARAM_VALUE 1 clone->netdev->threaded 0
PARAM_VALUE 1 clone->num_napi 0
PARAM_VALUE 1 clone->num_rx_queues 0
PARAM_VALUE 1 clone->num_tx_queues 0
PARAM_VALUE 1 *clone->netdev->name 0-255
PARAM_VALUE 1 *clone->netdev->prio_tc_map 0-255
BUF_SIZE 1 clone s32min-s32max
CAPPED_DATA 0 orig->netdev->num_tx_queues 1
CAPPED_DATA 0 orig->num_napi 1
DATA_SOURCE 1 clone r fbnic_clone_create
NOSPEC 1 clone->num_napi
RX_PATH
NOCHECK_CALL
USER_DATA 1 clone->netdev->real_num_rx_queues 1-s32max[c]
USER_DATA 1 clone->num_napi 0[c]
USER_DATA 1 clone->num_rx_queues 0[c]
USER_DATA 1 clone->num_tx_queues 0[c]
NO_OVERFLOW_SIMPLE 1 clone->txq_size

drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c fbnic_set_ringparam() -> fbnic_clone_swap()

Type Parameter Key Value
PARAM_VALUE 0 orig 4096-ptr_max
PARAM_VALUE 0 orig->fbd 4096-ptr_max
PARAM_VALUE 0 orig->fbd->fw_cap.need_bmc_macda_sync 1
PARAM_VALUE 0 orig->fbd->netdev 4096-ptr_max
PARAM_VALUE 0 orig->fbd->netdev->addr_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 orig->fbd->netdev->mc.tree.rb_node 4096-ptr_max
PARAM_VALUE 0 orig->fbd->netdev->priv->macvlan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 orig->fbd->netdev->priv->macvlan_task.cpu s32min-s32max
PARAM_VALUE 0 orig->fbd->netdev->priv->macvlan_task.timer.flags 0-4294967295
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.dep_map->name 0-255
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 orig->fbd->netdev->priv->sparx5->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 orig->fbd->netdev->uc.tree.rb_node 4096-ptr_max
PARAM_VALUE 0 orig->fbd->service_task.work.entry.next 1-u64max
PARAM_VALUE 0 orig->fbd->service_task.work.entry.prev 1-u64max
PARAM_VALUE 0 orig->fbd->uc_addr0 0
PARAM_VALUE 0 orig->fbd->uc_addr4 0
PARAM_VALUE 0 orig->netdev 4096-ptr_max
PARAM_VALUE 0 orig->netdev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 orig->xdp_prog 0,4096-ptr_max
PARAM_VALUE 1 clone 4096-ptr_max
PARAM_VALUE 1 clone->hds_thresh 0
PARAM_VALUE 1 clone->hpq_size 64-u32max
PARAM_VALUE 1 clone->netdev 4096-ptr_max
PARAM_VALUE 1 clone->netdev->dev.parent->cma_area->nranges s32min-s32max
PARAM_VALUE 1 clone->netdev->dev.parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 1 clone->netdev->num_rx_queues 1-u32max
PARAM_VALUE 1 clone->netdev->num_tx_queues 1-u32max
PARAM_VALUE 1 clone->netdev->real_num_rx_queues 1-u32max
PARAM_VALUE 1 clone->netdev->real_num_tx_queues 1-u32max
PARAM_VALUE 1 clone->netdev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736
PARAM_VALUE 1 clone->netdev->threaded 0
PARAM_VALUE 1 clone->num_rx_queues 1-u16max
PARAM_VALUE 1 clone->num_tx_queues 1-u16max
PARAM_VALUE 1 clone->ppq_size 64-u32max
PARAM_VALUE 1 clone->rcq_size 64-u32max
PARAM_VALUE 1 clone->txq_size 64-u32max
PARAM_VALUE 1 *clone->netdev->name 0-255
PARAM_VALUE 1 *clone->netdev->prio_tc_map 0-255
BUF_SIZE 1 clone s32min-s32max
CAPPED_DATA 0 orig->netdev->num_tx_queues 1
CAPPED_DATA 0 orig->num_napi 1
CAPPED_DATA 1 clone->netdev->num_tx_queues 1
CAPPED_DATA 1 clone->num_napi 1
CAPPED_DATA 1 clone->num_rx_queues 1
CAPPED_DATA 1 clone->num_tx_queues 1
DATA_SOURCE 1 clone r fbnic_clone_create
PARAM_COMPARE 1 clone->netdev->num_rx_queues >= $1->num_rx_queues
PARAM_COMPARE 1 clone->netdev->num_tx_queues >= $1->num_tx_queues
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 clone->num_tx_queues
NO_OVERFLOW_SIMPLE 1 clone->txq_size