Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/infiniband/hw/mthca/mthca_main.c __mthca_remove_one() -> mthca_CLOSE_IB()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->catas_err.timer.entry.pprev 0
PARAM_VALUE 0 dev->catas_err.timer.flags 0-4194302
PARAM_VALUE 0 dev->catas_err.timer.function 0
PARAM_VALUE 0 dev->cmd.event_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.poll_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->ib_dev.client_data.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.client_data_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev->ib_dev.client_data_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dev->ib_dev.compat_devs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.compat_devs_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.compat_devs_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.compat_devs_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.compat_devs_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ib_dev.compat_devs_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ib_dev.compat_devs_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.coredev.ports_kobj->release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.coredev.ports_kobj->release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.dev->driver_data->cis_virt (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->ib_dev.dev.devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->callback->add 5235430000054906880
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->callback->early_resume 6956900869090054144
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->callback->remove 1719268733136482304
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->callback->requery 4713442613417914368
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->callback->resume 5068206944467017728
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->callback->suspend 2738892915008757760
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->callback->validate 4934365872137547776
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->cdev 0
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->cdev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->cdev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->cdev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->cdev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->cis_mem.flags 0,2-254
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->cis_virt 0
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->d_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->detaching.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->device_count 0-1
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->ops_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->ops_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->ops_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->ops_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->sfd_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->sfd_lock.raw_lock.cnts.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->skt_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->skt_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->skt_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->skt_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->skt_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->skt_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->skt_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.dev.driver_data->skt_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ib_dev.dev.fwnode->secondary 0,4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.dev.kobj->release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.dev.kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.dev.kobj.parent 0
PARAM_VALUE 0 dev->ib_dev.dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.dev.kobj.sd 0
PARAM_VALUE 0 dev->ib_dev.dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 dev->ib_dev.dev.p->dead 0-1
PARAM_VALUE 0 dev->ib_dev.dev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 dev->ib_dev.dev.p->knode_class->n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->ib_dev.dev.p->knode_class.n_klist 0
PARAM_VALUE 0 dev->ib_dev.dev.p->knode_parent->n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->ib_dev.dev.power.can_wakeup 0
PARAM_VALUE 0 dev->ib_dev.dev.power.completion.done u32max
PARAM_VALUE 0 dev->ib_dev.dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.dev.power.in_dpm_list 0
PARAM_VALUE 0 dev->ib_dev.dev.power.irq_safe 0
PARAM_VALUE 0 dev->ib_dev.dev.power.last_status s32min-0,2,4-s32max
PARAM_VALUE 0 dev->ib_dev.dev.power.qos 0,(-19)
PARAM_VALUE 0 dev->ib_dev.dev.power.request_pending 0
PARAM_VALUE 0 dev->ib_dev.dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->ib_dev.dev.power.runtime_status 2
PARAM_VALUE 0 dev->ib_dev.dev.power.timer_expires 0
PARAM_VALUE 0 dev->ib_dev.dev.power.usage_count.counter 0-s32max
PARAM_VALUE 0 dev->ib_dev.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->ib_dev.dev.type 0,4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.subdev_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.subdev_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.subdev_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.subdev_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.subdev_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.subdev_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ib_dev.subdev_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ib_dev.subdev_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->ib_dev.subdev_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.subdev_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ib_dev.unreg_completion.done 0-4294967293,u32max
PARAM_VALUE 0 dev->ib_dev.unreg_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.unreg_completion.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->ib_dev.unregistration_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.unregistration_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.unregistration_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->ib_dev.unregistration_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ib_dev.unregistration_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ib_dev.unregistration_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ib_dev.unregistration_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ib_dev.unregistration_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->limits.num_ports 1-s32max
PARAM_VALUE 1 port 1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
CAPPED_DATA 0 dev->catas_err.map 1
CAPPED_DATA 0 dev->limits.num_ports 1
CAPPED_DATA 1 port 1
PARAM_COMPARE 0 dev->limits.num_ports >= $1
PARAM_COMPARE 1 port <= $0->limits.num_ports
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
UNITS 1 port unit_array_size
LOCK2 global &mthca_device_mutex

drivers/infiniband/hw/mthca/mthca_qp.c __mthca_modify_qp() -> mthca_CLOSE_IB()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cmd.context_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.event_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.event_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.event_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.event_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.event_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.hcr_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.hcr_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->cmd.hcr_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->cmd.hcr_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->cmd.hcr_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.hcr_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->cmd.hcr_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->cmd.hcr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->cmd.hcr_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->cmd.hcr_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->cmd.poll_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.poll_sem.last_holder 0
PARAM_VALUE 0 dev->cmd.poll_sem.lock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.poll_sem.lock.owner (-1)
PARAM_VALUE 0 dev->cmd.poll_sem.lock.owner_cpu u32max
PARAM_VALUE 0 dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->cmd.pool->dev->cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->cmd.pool->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 dev->cmd.pool->dev->dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.pool->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 dev->cmd.pool->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 dev->cmd.pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->cmd.pool->size 0-s32max
CAPPED_DATA 0 dev->cmd.pool->size 1
CAPPED_DATA 0 dev->qp_table.sqp_start 1
DATA_SOURCE 0 dev r to_mdev
NOSPEC 1 port
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 port 0-255
UNITS 1 port unit_array_size
LOCK2 &qp->mutex
HALF_LOCKED2 &ibqp->qp_sec->mutex
TYPE_LOCK (struct mthca_qp)->mutex