Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/hw/mlx4/mr.c
- drivers/net/ethernet/mellanox/mlx4/en_main.c
- drivers/net/ethernet/mellanox/mlx4/mr.c, line 580
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/en_main.c mlx4_en_probe() -> mlx4_mr_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| PARAM_VALUE | 1 | mr->access | 3072 |
| PARAM_VALUE | 1 | mr->enabled | 0-1 |
| PARAM_VALUE | 1 | mr->iova | 0 |
| PARAM_VALUE | 1 | mr->mtt.offset | 0-4294967294 |
| PARAM_VALUE | 1 | mr->mtt.order | (-1)-s32max |
| PARAM_VALUE | 1 | mr->mtt.page_shift | 0-64 |
| PARAM_VALUE | 1 | mr->pd | 0-4294967294 |
| PARAM_VALUE | 1 | mr->size | u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/mellanox/mlx4/en_main.c mlx4_en_remove() -> mlx4_mr_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.num_ports | s32min-2147483646 |
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->caps.num_ports | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/infiniband/hw/mlx4/mr.c mlx4_ib_alloc_mr() -> mlx4_mr_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 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->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| PARAM_VALUE | 1 | mr->access | 0 |
| PARAM_VALUE | 1 | mr->enabled | 0 |
| PARAM_VALUE | 1 | mr->iova | 0 |
| PARAM_VALUE | 1 | mr->mtt.offset | 0-4294967294 |
| PARAM_VALUE | 1 | mr->mtt.order | (-1)-s32max |
| PARAM_VALUE | 1 | mr->mtt.page_shift | 0-64 |
| PARAM_VALUE | 1 | mr->size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cls_conn->ep_mutex | ||
| HALF_LOCKED2 | &clt_path->init_mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &srv->paths_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/infiniband/hw/mlx4/mr.c mlx4_ib_dereg_mr() -> mlx4_mr_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/mlx4/mr.c mlx4_ib_get_dma_mr() -> mlx4_mr_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| PARAM_VALUE | 1 | mr->access | 1024,3072,5120,7168,9216,11264,13312,15360 |
| PARAM_VALUE | 1 | mr->enabled | 0 |
| PARAM_VALUE | 1 | mr->iova | 0 |
| PARAM_VALUE | 1 | mr->mtt.offset | 0-4294967294 |
| PARAM_VALUE | 1 | mr->mtt.order | (-1)-s32max |
| PARAM_VALUE | 1 | mr->mtt.page_shift | 0-64 |
| PARAM_VALUE | 1 | mr->size | u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &devr->cq_lock | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &device_list_mutex | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &ig.device_list_mutex |
drivers/infiniband/hw/mlx4/mr.c mlx4_ib_reg_user_mr() -> mlx4_mr_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mr | 4096-ptr_max |
| PARAM_VALUE | 1 | mr->access | 1024-66559 |
| PARAM_VALUE | 1 | mr->enabled | 0 |
| PARAM_VALUE | 1 | mr->mtt.offset | 0-4294967294 |
| PARAM_VALUE | 1 | mr->mtt.order | (-1)-s32max |
| PARAM_VALUE | 1 | mr->mtt.page_shift | 0-64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | mr->access | 1024-66559[c] |
| USER_DATA | 1 | mr->iova | 0-u64max |
| USER_DATA | 1 | mr->size | 0-u64max[c] |