Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_mbx_create_qp() -> get_ocrdma_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibsrq | 1-u64max |
| BUF_SIZE | 0 | ibsrq | (-1)-s32max |
| BUF_SIZE | 0 | ibsrq | (-1)-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->dev_lock | ||
| TYPE_LOCK | (struct ocrdma_dev)->dev_lock |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_create_srq() -> get_ocrdma_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibsrq | 4096-ptr_max |
| BUF_SIZE | 0 | ibsrq->pd | (-1),1-s32max |
| BUF_SIZE | 0 | ibsrq->srq_context | (-1),280-s32max |
| DATA_SOURCE | 0 | ibsrq | $0 |
| STR_LEN | 0 | ibsrq->device | (-1),6-9,11-12 |
| STR_LEN | 0 | ibsrq->pd->device | (-1),6-9,11-12 |
| STR_LEN | 0 | ibsrq->pd->res.kern_name | (-1),7,10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ibsrq->srq_type | 0,3-u32max |
| NO_OVERFLOW_SIMPLE | 0 | ibsrq->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibsrq->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibsrq->device->phys_port_cnt | |
| HALF_LOCKED2 | &devr->srq_lock | ||
| HALF_LOCKED2 | global &device_list_mutex |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_destroy_srq() -> get_ocrdma_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibsrq | 4096-ptr_max |
| BUF_SIZE | 0 | ibsrq | (-1),1-s32max |
| BUF_SIZE | 0 | ibsrq | (-1),1-s32max |
| DATA_SOURCE | 0 | ibsrq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_modify_srq() -> get_ocrdma_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibsrq | 4096-ptr_max |
| BUF_SIZE | 0 | ibsrq | (-1),1-s32max |
| BUF_SIZE | 0 | ibsrq | (-1),1-s32max |
| DATA_SOURCE | 0 | ibsrq | $0 |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_post_srq_recv() -> get_ocrdma_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibsrq | 4096-ptr_max |
| BUF_SIZE | 0 | ibsrq | (-1),1-s32max |
| BUF_SIZE | 0 | ibsrq | (-1),1-s32max |
| DATA_SOURCE | 0 | ibsrq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_query_srq() -> get_ocrdma_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibsrq | 4096-ptr_max |
| BUF_SIZE | 0 | ibsrq | 1-s32max |
| BUF_SIZE | 0 | ibsrq | 1-s32max |
| DATA_SOURCE | 0 | ibsrq | $0 |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ocrdma_update_free_srq_cqe() -> get_ocrdma_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibsrq | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cq->cq_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ocrdma_cq)->cq_lock |