Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/hw/mlx4/mr.c, line 100
- drivers/net/ethernet/mellanox/mlx4/eq.c, line 1032
- drivers/net/ethernet/mellanox/mlx4/mr.c
Smatch caller information:
drivers/infiniband/hw/mlx4/mr.c mlx4_ib_umem_write_mtt() -> mlx4_write_mtt()
| 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 |
| PARAM_VALUE | 2 | start_index | 0-s32max |
| PARAM_VALUE | 3 | npages | 1 |
| PARAM_VALUE | 4 | page_list | 7911258412938035200 |
| DATA_SOURCE | 1 | mtt | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cq->resize_mutex |
drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_create_eq() -> mlx4_write_mtt()
| 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 |
| PARAM_VALUE | 2 | start_index | 0 |
| PARAM_VALUE | 3 | npages | 0-4 |
| PARAM_VALUE | 4 | page_list | 16,4096-ptr_max |
| BUF_SIZE | 4 | page_list | 8 |
| CAPPED_DATA | 0 | dev->caps.num_pds | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| CAPPED_DATA | 3 | npages | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 4 | page_list | r _kmalloc_array_noprof |
| NO_OVERFLOW_SIMPLE | 3 | npages | |
| UNITS | 3 | npages | unit_array_size |
drivers/net/ethernet/mellanox/mlx4/mr.c mlx4_buf_write_mtt() -> mlx4_write_mtt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.osq.tail.counter | 0-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 | 0 | dev->persist->pdev->dev.iommu->pci_32bit_workaround | 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 |
| PARAM_VALUE | 2 | start_index | 0 |
| PARAM_VALUE | 3 | npages | 1-4 |
| PARAM_VALUE | 4 | page_list | 4096-ptr_max |
| BUF_SIZE | 4 | page_list | 8 |
| CAPPED_DATA | 3 | npages | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | mtt | $1 |
| DATA_SOURCE | 4 | page_list | r _kmalloc_array_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | npages | |
| UNITS | 3 | npages | unit_array_size |