Defined in 1 files as a prototype:

Defined in 1 files as a member:

Defined in 2 files as a function:

Referenced in 25 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_ppgtt.c i915_vm_alloc_pt_stash() -> alloc_pd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->gt->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dev->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->pd_shift 1-255
PARAM_VALUE 0 dev->top 2-255
BUF_SIZE 0 dev (-1),1208
BUF_SIZE 0 dev (-1),1208
DATA_SOURCE 0 dev $0
FUZZY_MAX 0 dev->top 2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->total
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/gen8_ppgtt.c gen8_preallocate_top_level_pdp() -> alloc_pd()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->_resv.fences 0
PARAM_VALUE 0 dev->_resv.lock.base.first_waiter 0
PARAM_VALUE 0 dev->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 dev->_resv.lock.base.owner.counter 0
PARAM_VALUE 0 dev->_resv.lock.ctx 0
PARAM_VALUE 0 dev->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 dev->alloc_pt_dma 7129965401120251904,7213099128087154688
PARAM_VALUE 0 dev->alloc_scratch_dma 7129965401120251904
PARAM_VALUE 0 dev->allocate_va_range 447619139538841600
PARAM_VALUE 0 dev->bind_async_flags 2048
PARAM_VALUE 0 dev->bound_list.next 4096-ptr_max
PARAM_VALUE 0 dev->bound_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->cleanup 1400639761612652544
PARAM_VALUE 0 dev->clear_range 8624081147799605248
PARAM_VALUE 0 dev->foreach 1203398647122190336
PARAM_VALUE 0 dev->fpriv 0,4096-ptr_max
PARAM_VALUE 0 dev->gt 4096-ptr_max
PARAM_VALUE 0 dev->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->insert_entries 3642524793593610240
PARAM_VALUE 0 dev->insert_page 1453447246128152576,3171055425550987264
PARAM_VALUE 0 dev->lmem_pt_obj_flags 0,32
PARAM_VALUE 0 dev->mm.color_adjust 0
PARAM_VALUE 0 dev->mm.head_node.color u64max
PARAM_VALUE 0 dev->mm.head_node.flags 0
PARAM_VALUE 0 dev->mm.head_node.hole_size 1
PARAM_VALUE 0 dev->mm.head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 dev->mm.head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 dev->mm.head_node.mm 4096-ptr_max
PARAM_VALUE 0 dev->mm.head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 dev->mm.head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->mm.head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 dev->mm.head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 dev->mm.head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 dev->mm.head_node.start 1-u64max
PARAM_VALUE 0 dev->mm.head_node.subtree_max_hole 1
PARAM_VALUE 0 dev->mm.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 dev->mm.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 dev->mm.scan_active 0
PARAM_VALUE 0 dev->pte_encode 681987950473379840,1739072452464218112
PARAM_VALUE 0 dev->ref.refcount.refs.counter 1
PARAM_VALUE 0 dev->top 2-3
PARAM_VALUE 0 dev->unbound_list.next 4096-ptr_max
PARAM_VALUE 0 dev->unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->vma_ops.bind_vma 3390530168335085568
PARAM_VALUE 0 dev->vma_ops.unbind_vma 708504364704104448
BUF_SIZE 0 dev 1208
CAPPED_DATA 0 dev->top 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->actual_features 4294967296
PARAM_VALUE 0 dev->async_ctx.inflight_done.wait.lock.magic 3735899821
PARAM_VALUE 0 dev->async_ctx.inflight_done.wait.lock.owner (-1)
PARAM_VALUE 0 dev->async_ctx.inflight_done.wait.lock.owner_cpu u32max
PARAM_VALUE 0 dev->async_ctx.inflight_done.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 dev->async_ctx.inflight_done.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 dev->async_ctx.num_inflight.counter 1
PARAM_VALUE 0 dev->max_vqs 0-131070
PARAM_VALUE 0 dev->mdev 4096-ptr_max
PARAM_VALUE 0 dev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.flags 0-4294967295
PARAM_VALUE 0 dev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_hard 0-1
PARAM_VALUE 0 dev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_lazy 0-1
PARAM_VALUE 0 dev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_queued 0-1
PARAM_VALUE 0 dev->mdev->cmd.pool->dev->dma_io_tlb_mem->dyn_alloc.is_soft 0-1
PARAM_VALUE 0 dev->mdev->cmd.token_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->mdev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->mdev->cmd.vars.throttle_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mdev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->mdev->cmd.vars.unprivileged_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.list.next 4096-ptr_max
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.list.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->mdev->priv.bfregs.reg_head.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->mdev->priv.eq_table->ctrl_irq 0-s64max
PARAM_VALUE 0 dev->res.uar 0-ptr_max
PARAM_VALUE 0 dev->res.uar->list.next 4096-ptr_max
PARAM_VALUE 0 dev->res.uar->list.prev 4096-ptr_max
PARAM_VALUE 0 dev->res.valid 0
PARAM_VALUE 0 dev->vdev.vmap.dma_dev 4096-ptr_max
PARAM_VALUE 1 pdn 4096-ptr_max
DATA_SOURCE 0 dev $0
BIT_INFO 0 dev->mlx_features 0x300000000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->max_vqs
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