Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/infiniband/hw/mlx4/cq.c
- drivers/infiniband/hw/mlx4/qp.c
- drivers/infiniband/hw/mlx4/srq.c
- drivers/net/ethernet/mellanox/mlx4/alloc.c
- drivers/net/ethernet/mellanox/mlx4/eq.c
- drivers/net/ethernet/mellanox/mlx4/mr.c
Smatch caller information:
drivers/infiniband/hw/mlx4/qp.c create_rq() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt->order | (-1)-s32max |
| PARAM_VALUE | 1 | mtt->page_shift | 0-64 |
| NOCHECK_CALL |
drivers/infiniband/hw/mlx4/qp.c destroy_qp_common() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx4/srq.c mlx4_ib_create_srq() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.max_srq_wqes | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt->order | (-1)-s32max |
| PARAM_VALUE | 1 | mtt->page_shift | s32min-44 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devr->srq_lock | ||
| HALF_LOCKED2 | global &device_list_mutex |
drivers/infiniband/hw/mlx4/srq.c mlx4_ib_destroy_srq() -> mlx4_mtt_cleanup()
| 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.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_create_eq() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.num_uars | 1-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt->order | (-1)-s32max |
| PARAM_VALUE | 1 | mtt->page_shift | 12 |
| CAPPED_DATA | 0 | dev->caps.num_pds | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_free_eq() -> mlx4_mtt_cleanup()
| 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.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| 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->nranges | s32min-s32max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_ports |
drivers/infiniband/hw/mlx4/cq.c mlx4_alloc_resize_umem() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.max_cqes | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt->order | (-1)-s32max |
| PARAM_VALUE | 1 | mtt->page_shift | 0-64 |
| NOCHECK_CALL | |||
| LOCK2 | &cq->resize_mutex | ||
| HALF_LOCKED2 | &file->device->disassociate_srcu | ||
| TYPE_LOCK | (struct mlx4_ib_cq)->resize_mutex |
drivers/infiniband/hw/mlx4/cq.c mlx4_ib_alloc_cq_buf() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.max_cqes | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt->offset | 0-4294967294 |
| PARAM_VALUE | 1 | mtt->order | 0-s32max |
| PARAM_VALUE | 1 | mtt->page_shift | s32min-44 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cq->resize_mutex |
drivers/infiniband/hw/mlx4/cq.c mlx4_ib_create_user_cq() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.max_cqes | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt->order | (-1)-s32max |
| PARAM_VALUE | 1 | mtt->page_shift | 0-64 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.cqe_size |
drivers/infiniband/hw/mlx4/cq.c mlx4_ib_destroy_cq() -> mlx4_mtt_cleanup()
| 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.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/mlx4/cq.c mlx4_ib_resize_cq() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.max_cqes | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| 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 | 1 | mtt | 141844618678878208 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &cq->resize_mutex | ||
| HALF_LOCKED2 | &file->device->disassociate_srcu | ||
| TYPE_LOCK | (struct mlx4_ib_cq)->resize_mutex |
drivers/infiniband/hw/mlx4/cq.c mlx4_ib_resize_cq() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.max_cqes | s32min-(-1),1-s32max |
| 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->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt->offset | 0-4294967294 |
| PARAM_VALUE | 1 | mtt->order | (-1)-s32max |
| PARAM_VALUE | 1 | mtt->page_shift | s32min-64 |
| NOCHECK_CALL | |||
| LOCK2 | &cq->resize_mutex | ||
| HALF_LOCKED2 | &file->device->disassociate_srcu | ||
| TYPE_LOCK | (struct mlx4_ib_cq)->resize_mutex |
drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_alloc_hwq_res() -> mlx4_mtt_cleanup()
| 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.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| 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 | 1 | mtt | 4096-ptr_max |
| PARAM_VALUE | 1 | mtt->offset | 0-4294967294 |
| PARAM_VALUE | 1 | mtt->order | 0-s32max |
| PARAM_VALUE | 1 | mtt->page_shift | s32min-44 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx4/alloc.c mlx4_free_hwq_res() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_mr_free_reserved() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_mr_rereg_mem_cleanup() -> mlx4_mtt_cleanup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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.dep_map->name | 0-255 |
| 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->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | mtt | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |