Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_alloc_ucontext() -> ocrdma_add_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctx | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->ah_tbl.len | 8192 |
| PARAM_VALUE | 0 | uctx->ah_tbl.va | 1-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.owner.counter | 0 |
| PARAM_VALUE | 2 | len | 8192 |
| BUF_SIZE | 0 | uctx->ah_tbl.va | 8192 |
| CAPPED_DATA | 0 | uctx->ah_tbl.va | 1 |
| CAPPED_DATA | 1 | phy_addr | 1 |
| CAPPED_DATA | 1 | phy_addr | 1 |
| DATA_SOURCE | 0 | uctx | r get_ocrdma_ucontext |
| DATA_SOURCE | 1 | phy_addr | r virt_to_phys |
| MEM_ZERO | 0 | uctx->ah_tbl.va | |
| LOCK2 | &file->hw_destroy_rwsem | ||
| LOCK2 | &file->ucontext_lock | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem | ||
| TYPE_LOCK | (struct ib_uverbs_file)->ucontext_lock |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_copy_cq_uresp() -> ocrdma_add_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctx | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->cntxt_pd | 4096-ptr_max |
| DATA_SOURCE | 1 | phy_addr | r ocrdma_get_db_addr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_copy_cq_uresp() -> ocrdma_add_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctx | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->cntxt_pd | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | len | 0,4096-1048576 |
| BIT_INFO | 2 | len | 0x0,0x1ff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_copy_pd_uresp() -> ocrdma_add_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | phy_addr | r ocrdma_get_db_addr |
| RX_PATH | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_copy_pd_uresp() -> ocrdma_add_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctx->mm_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | len | 4096 |
| RX_PATH | |||
| UNITS | 1 | phy_addr | unit_byte |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_copy_qp_uresp() -> ocrdma_add_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 0,4096-u32max |
| BIT_INFO | 2 | len | 0x0,0xfffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->dev_lock | ||
| TYPE_LOCK | (struct ocrdma_dev)->dev_lock |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_copy_qp_uresp() -> ocrdma_add_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctx->mm_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uctx->mm_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | len | 0,4096-u32max |
| BIT_INFO | 2 | len | 0x0,0xfffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->dev_lock | ||
| TYPE_LOCK | (struct ocrdma_dev)->dev_lock |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_copy_srq_uresp() -> ocrdma_add_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devr->srq_lock | ||
| HALF_LOCKED2 | global &device_list_mutex |