Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/mthca/mthca_srq.c mthca_free_srq() -> get_srq_refcount()
| 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 | 0-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->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->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 |
| PARAM_VALUE | 0 | dev->srq_table.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->srq_table.srq.page_list | 4096-ptr_max |
| PARAM_VALUE | 1 | srq | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->cmd.pool->size | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | srq | $1 |
| NOSPEC | 1 | srq->max_gs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | srq->db_index | s32min-s32max |
| USER_DATA | 1 | srq->max_gs | 1-s32max[c] |
| USER_DATA | 1 | srq->mr.ibmr.lkey | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | srq->max |
drivers/infiniband/hw/mthca/mthca_srq.c mthca_free_srq() -> get_srq_refcount()
| 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 | 0-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->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->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 |
| PARAM_VALUE | 0 | dev->srq_table.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->srq_table.srq.page_list | 4096-ptr_max |
| PARAM_VALUE | 1 | srq | 4096-ptr_max |
| PARAM_VALUE | 1 | srq->refcount | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | srq->wait.lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | dev->cmd.pool->size | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | srq | $1 |
| NOSPEC | 1 | srq->max_gs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | srq->db_index | s32min-s32max |
| USER_DATA | 1 | srq->max_gs | 1-s32max[c] |
| USER_DATA | 1 | srq->mr.ibmr.lkey | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | srq->max |
drivers/infiniband/hw/mthca/mthca_srq.c mthca_free_srq() -> get_srq_refcount()
| 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 | 0-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->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->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 |
| PARAM_VALUE | 0 | dev->srq_table.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->srq_table.srq.page_list | 4096-ptr_max |
| PARAM_VALUE | 1 | srq | 4096-ptr_max |
| PARAM_VALUE | 1 | srq->refcount | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | srq->wait.lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | dev->cmd.pool->size | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | srq | $1 |
| NOSPEC | 1 | srq->max_gs | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | srq->db_index | s32min-s32max |
| USER_DATA | 1 | srq->max_gs | 1-s32max[c] |
| USER_DATA | 1 | srq->mr.ibmr.lkey | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | srq->max |