Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c dr_domain_init_resources() -> mlx5_get_uars_page()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->cmd.alloc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mdev->cmd.pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdev->cmd.pool->size 0-4294967295
PARAM_VALUE 0 mdev->cmd.state 1
PARAM_VALUE 0 mdev->cmd.token 1-255
PARAM_VALUE 0 mdev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.last_holder 0
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.lock.owner (-1)
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.lock.owner_cpu u32max
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.last_holder 0
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.lock.owner (-1)
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.lock.owner_cpu u32max
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 mdev->pdev 4096-ptr_max
PARAM_VALUE 0 mdev->pdev->error_state 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mdev unit_byte
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &esw->offloads.reps_lock

drivers/vfio/pci/mlx5/cmd.c mlx5vf_start_page_tracker() -> mlx5_get_uars_page()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->caps.hca 4096-ptr_max
LOCK2 &mvdev->state_mutex
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex

drivers/vdpa/mlx5/core/resources.c mlx5_vdpa_alloc_resources() -> mlx5_get_uars_page()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mdev unit_byte
LOCK2 global &vdpa_dev_lock
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/mellanox/mlx5/core/fpga/conn.c mlx5_fpga_conn_device_init() -> mlx5_get_uars_page()

Type Parameter Key Value
PARAM_VALUE 0 mdev 4096-ptr_max
PARAM_VALUE 0 mdev->clock->ptp 0,4096-s64max
PARAM_VALUE 0 mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 mdev->cmd.pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 mdev->cmd.state 1
PARAM_VALUE 0 mdev->cmd.token 1-255
PARAM_VALUE 0 mdev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.last_holder 0
PARAM_VALUE 0 mdev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.last_holder 0
PARAM_VALUE 0 mdev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 mdev->pdev->error_state 1
PARAM_VALUE 0 mdev->priv.eq_table->ctrl_irq 0-s64max
PARAM_VALUE 0 *mdev->caps.fpga 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex