Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c, line 736
- drivers/gpu/drm/display/drm_dp_mst_topology.c
- drivers/gpu/drm/i915/display/intel_dp_mst.c, line 1836
- drivers/gpu/drm/nouveau/dispnv50/disp.c, line 1299
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c dm_dp_add_mst_connector() -> drm_dp_mst_get_port_malloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->lock_bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->trylock_bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->unlock_bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->connector | 0 |
| PARAM_VALUE | 0 | port->mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->cbs | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->pdt | 0-7 |
| PARAM_VALUE | 0 | port->topology_ref_history.entries | 4096-ptr_max |
| BUF_SIZE | 0 | port | (-1),3104 |
| BUF_SIZE | 0 | port | (-1),3104 |
| DATA_SOURCE | 0 | port | $1 |
| FUZZY_MAX | 0 | port->pdt | 2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mgr->probe_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/display/drm_dp_mst_topology.c drm_dp_atomic_find_time_slots() -> drm_dp_mst_get_port_malloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->connector | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/display/drm_dp_mst_topology.c drm_dp_mst_duplicate_state() -> drm_dp_mst_get_port_malloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &obj->lock | ||
| HALF_LOCKED2 | &obj->lock.mutex |
drivers/gpu/drm/display/drm_dp_mst_topology.c drm_dp_port_set_pdt() -> drm_dp_mst_get_port_malloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->mcs | 1 |
| PARAM_VALUE | 0 | port->mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->mgr->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->mgr->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->mgr->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->mgr->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->mstb | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mstb->malloc_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | port->mstb->topology_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | port->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | port->pdt | 2 |
| PARAM_VALUE | 0 | port->topology_ref_history.entries | 4096-ptr_max |
| BUF_SIZE | 0 | port | (-1),3104 |
| BUF_SIZE | 0 | port | (-1),3104 |
| BUF_SIZE | 0 | port->mstb | 112 |
| DATA_SOURCE | 0 | port | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | port->aux.ddc.cad->state->u.pc | s64min-s64max |
| HOST_DATA | 0 | port->aux.ddc.cad->state->u.pc->ctr | 0-4294967295 |
| HOST_DATA | 0 | port->aux.ddc.cad->state->u.pc->ecr | 0-4294967295 |
| LOCK2 | &mgr->lock | ||
| HALF_LOCKED2 | &mgr->base.lock.mutex | ||
| HALF_LOCKED2 | &mgr->probe_lock | ||
| TYPE_LOCK | (struct drm_dp_mst_topology_mgr)->lock |
drivers/gpu/drm/i915/display/intel_dp_mst.c mst_topology_add_connector() -> drm_dp_mst_get_port_malloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->lock_bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->trylock_bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->unlock_bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->connector | 0 |
| PARAM_VALUE | 0 | port->mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->cbs | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->pdt | 0-7 |
| PARAM_VALUE | 0 | port->topology_ref_history.entries | 4096-ptr_max |
| BUF_SIZE | 0 | port | (-1),3104 |
| BUF_SIZE | 0 | port | (-1),3104 |
| DATA_SOURCE | 0 | port | $1 |
| FUZZY_MAX | 0 | port->pdt | 2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mgr->probe_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_mstc_new() -> drm_dp_mst_get_port_malloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | port->aux.ddc.debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.parent->kset->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.parent->kset->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.parent->kset->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | port->aux.ddc.dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | port->aux.ddc.dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->lock_bus | 4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->trylock_bus | 4096-ptr_max |
| PARAM_VALUE | 0 | port->aux.ddc.lock_ops->unlock_bus | 4096-ptr_max |
| PARAM_VALUE | 0 | port->connector | 0 |
| PARAM_VALUE | 0 | port->mgr | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->cbs | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | port->mgr->topology_ref_history_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | port->pdt | 0-7 |
| PARAM_VALUE | 0 | port->port_num | 0-15 |
| PARAM_VALUE | 0 | port->topology_ref_history.entries | 4096-ptr_max |
| BUF_SIZE | 0 | port | (-1),3104 |
| BUF_SIZE | 0 | port | (-1),3104 |
| CAPPED_DATA | 0 | port->port_num | 1 |
| DATA_SOURCE | 0 | port | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mgr->probe_lock | ||
| HALF_LOCKED2 | &pool->lock |