Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/infiniband/hw/mlx4/main.c mlx4_ib_alloc_ucontext() -> mlx4_uar_alloc()

Type Parameter Key Value
PARAM_VALUE 1 uar 4096-ptr_max
LOCK2 &file->hw_destroy_rwsem
LOCK2 &file->ucontext_lock
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->ucontext_lock

drivers/infiniband/hw/mlx4/main.c mlx4_ib_probe() -> mlx4_uar_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.num_ports s32min-2147483646
PARAM_VALUE 0 dev->caps.port_mask 4096-ptr_max
PARAM_VALUE 1 uar 4096-ptr_max
CAPPED_DATA 0 dev->caps.num_ports 1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_setup_hca() -> mlx4_uar_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.num_uars 1-s32max
PARAM_VALUE 1 uar 4096-ptr_max
CAPPED_DATA 0 dev->caps.num_uars 1
DATA_SOURCE 0 dev $0

drivers/net/ethernet/mellanox/mlx4/en_main.c mlx4_en_probe() -> mlx4_uar_alloc()

Type Parameter Key Value
PARAM_VALUE 1 uar 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx4/pd.c mlx4_bf_alloc() -> mlx4_uar_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 0 dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->persist->device_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->persist->pdev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->persist->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 dev->persist->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->qp_table_tree.xa_head 0,4098-18446744073709547522
PARAM_VALUE 1 uar 1-u64max
BUF_SIZE 1 uar 56
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
CAPPED_DATA 0 dev->persist->pdev->dev.iommu_group->default_domain 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->bf_mutex
HALF_LOCKED2 &mdev->state_lock
TYPE_LOCK (struct mlx4_priv)->bf_mutex