Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx4/main.c __mlx4_init_one() -> mlx4_load_one()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->dev.dma_mask 4096-ptr_max
PARAM_VALUE 0 pdev->dev.dma_parms 0,4096-ptr_max
PARAM_VALUE 0 pdev->dev.dma_parms->max_segment_size 1073741824
PARAM_VALUE 0 pdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 pdev->driver 4096-ptr_max
PARAM_VALUE 0 pdev->driver->err_handler 0,4096-ptr_max
PARAM_VALUE 0 pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 pdev->is_busmaster 1
PARAM_VALUE 0 pdev->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 pdev->pcie_cap 0-1
PARAM_VALUE 0 pdev->resource 4096-ptr_max
PARAM_VALUE 0 pdev->subordinate->self->link_bwctrl->cdev (-4095)-s64max
PARAM_VALUE 0 *pdev->saved_config_space 0-4294967295
PARAM_VALUE 2 total_vfs 0-126
PARAM_VALUE 3 nvfs 4096-ptr_max
PARAM_VALUE 4 priv 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist->catas_wq 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist->crdump.region_crspace 4096-ptr_max,(-17),(-12)
PARAM_VALUE 4 priv->dev.persist->crdump.region_crspace->ops->destructor 3904155659306606592
PARAM_VALUE 4 priv->dev.persist->crdump.region_crspace->ops->snapshot 0
PARAM_VALUE 4 priv->dev.persist->crdump.region_crspace->snapshot_lock.dep_map->name 0-255
PARAM_VALUE 4 priv->dev.persist->crdump.region_crspace->snapshot_lock.first_waiter 0
PARAM_VALUE 4 priv->dev.persist->crdump.region_crspace->snapshot_lock.osq.tail.counter 0
PARAM_VALUE 4 priv->dev.persist->crdump.region_crspace->snapshot_lock.owner.counter 0
PARAM_VALUE 4 priv->dev.persist->crdump.region_fw_health 4096-ptr_max,(-17),(-12)
PARAM_VALUE 4 priv->dev.persist->crdump.region_fw_health->ops->destructor 3904155659306606592
PARAM_VALUE 4 priv->dev.persist->crdump.region_fw_health->ops->snapshot 0
PARAM_VALUE 4 priv->dev.persist->crdump.region_fw_health->snapshot_lock.dep_map->name 0-255
PARAM_VALUE 4 priv->dev.persist->crdump.region_fw_health->snapshot_lock.first_waiter 0
PARAM_VALUE 4 priv->dev.persist->crdump.region_fw_health->snapshot_lock.osq.tail.counter 0
PARAM_VALUE 4 priv->dev.persist->crdump.region_fw_health->snapshot_lock.owner.counter 0
PARAM_VALUE 4 priv->dev.persist->crdump.snapshot_enable 0
PARAM_VALUE 4 priv->dev.persist->dev 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist->dev->persist 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 4 priv->dev.persist->device_state_mutex.magic 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist->interface_state_mutex.dep_map->name 0-255
PARAM_VALUE 4 priv->dev.persist->interface_state_mutex.magic 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist->pci_status 1-u32max
PARAM_VALUE 4 priv->dev.persist->pci_status_mutex.dep_map->name 0-255
PARAM_VALUE 4 priv->dev.persist->pci_status_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 4 priv->dev.persist->pci_status_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 4 priv->dev.persist->pci_status_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 4 priv->dev.persist->pci_status_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 4 priv->dev.persist->pci_status_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 4 priv->dev.persist->pci_status_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 4 priv->dev.persist->pci_status_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 4 priv->dev.persist->pdev 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist->pdev->driver 4096-ptr_max
PARAM_VALUE 4 priv->dev.persist->pdev->is_virtfn 0
PARAM_VALUE 5 reset_flow 0
BUF_SIZE 0 pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
BUF_SIZE 0 pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
BUF_SIZE 3 nvfs 12
CAPPED_DATA 0 pdev 1
CAPPED_DATA 4 priv->dev.persist->pdev 1
DATA_SOURCE 0 pdev $0
DATA_SOURCE 1 pci_dev_data $1
DATA_SOURCE 4 priv $2
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 pdev->current_state 0-3[c]
HOST_DATA 4 priv->dev.persist->pdev->current_state 0-3[c]
UNITS 1 pci_dev_data unit_array_size
LOCK2 &devlink->lock
HALF_LOCKED2 0 &pdev->dev.mutex
TYPE_LOCK (struct devlink)->lock

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_pci_resume() -> mlx4_load_one()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 pdev->driver->err_handler 0,4096-ptr_max
PARAM_VALUE 0 pdev->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 pdev->subordinate->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 *pdev->saved_config_space 0-4294967295
PARAM_VALUE 3 nvfs 4096-ptr_max
PARAM_VALUE 4 priv 4096-ptr_max
PARAM_VALUE 5 reset_flow 1
BUF_SIZE 0 pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064
BUF_SIZE 0 pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064
BUF_SIZE 3 nvfs 12
DATA_SOURCE 0 pdev $0
DATA_SOURCE 4 priv r mlx4_priv
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pci_dev_data unit_array_size
UNITS 2 total_vfs unit_array_size
LOCK2 &devlink->lock
LOCK2 &persist->interface_state_mutex
HALF_LOCKED2 0 &pdev->dev.mutex
TYPE_LOCK (struct devlink)->lock
TYPE_LOCK (struct mlx4_dev_persistent)->interface_state_mutex

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_restart_one_up() -> mlx4_load_one()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 0 pdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 3 nvfs 4096-ptr_max
PARAM_VALUE 4 priv 4096-ptr_max
PARAM_VALUE 5 reset_flow 1
BUF_SIZE 3 nvfs 12
DATA_SOURCE 0 pdev $0
DATA_SOURCE 4 priv r mlx4_priv
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pci_dev_data unit_array_size
UNITS 2 total_vfs unit_array_size
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &persist->interface_state_mutex

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_resume() -> mlx4_load_one()

Type Parameter Key Value
PARAM_VALUE 0 pdev 4096-ptr_max
PARAM_VALUE 3 nvfs 4096-ptr_max
PARAM_VALUE 4 priv 4096-ptr_max
PARAM_VALUE 5 reset_flow 1
BUF_SIZE 3 nvfs 12
DATA_SOURCE 4 priv r mlx4_priv
RX_PATH
TASK_NOT_RUNNING
UNITS 1 pci_dev_data unit_array_size
UNITS 2 total_vfs unit_array_size
LOCK2 &devlink->lock
LOCK2 &persist->interface_state_mutex
TYPE_LOCK (struct devlink)->lock
TYPE_LOCK (struct mlx4_dev_persistent)->interface_state_mutex