Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> ib_find_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.recv_handler | 1-u64max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.rmpp_version | 1-255 |
| PARAM_VALUE | 1 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->mad_seg_size | 256,2048 |
| PARAM_VALUE | 1 | wc->recv_buf.grh | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.mad | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.mad->mad_hdr.mgmt_class | 3,6,16,18,48-79 |
| PARAM_VALUE | 1 | wc->recv_buf.mad->rmpp_hdr.rmpp_type | 1 |
| PARAM_VALUE | 1 | wc->recv_buf.opa_mad | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->wc | 4096-ptr_max |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| DATA_SOURCE | 1 | wc | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &mad_agent_priv->lock | |
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> ib_find_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.recv_handler | 1-u64max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.rmpp_version | 1-255 |
| PARAM_VALUE | 1 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.mad | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev->prev | 4096-ptr_max |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| DATA_SOURCE | 1 | wc | $1 [m] |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &mad_agent_priv->lock | |
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad_rmpp.c abort_send() -> ib_find_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.recv_handler | 1-u64max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.rmpp_version | 1-255 |
| PARAM_VALUE | 1 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->mad_seg_size | 256,2048 |
| PARAM_VALUE | 1 | wc->recv_buf.grh | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.mad | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.mad->mad_hdr.attr_mod | 1-u32max |
| PARAM_VALUE | 1 | wc->recv_buf.mad->rmpp_hdr.rmpp_rtime_flags | 1-255 |
| PARAM_VALUE | 1 | wc->recv_buf.mad->rmpp_hdr.rmpp_version | 0-255 |
| PARAM_VALUE | 1 | wc->recv_buf.opa_mad | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->wc | 4096-ptr_max |
| BUF_SIZE | 1 | wc->recv_buf.grh | 40 |
| BUF_SIZE | 1 | wc->wc | 72 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| DATA_SOURCE | 1 | wc | $1 |
| BIT_INFO | 1 | wc->mad_seg_size | 0x0,0x900 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &mad_agent_priv->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad_rmpp.c process_rmpp_ack() -> ib_find_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.recv_handler | 1-u64max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.rmpp_version | 1-255 |
| PARAM_VALUE | 1 | wc | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->mad_seg_size | 256,2048 |
| PARAM_VALUE | 1 | wc->recv_buf.grh | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.mad | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->recv_buf.mad->mad_hdr.attr_mod | 1-u32max |
| PARAM_VALUE | 1 | wc->recv_buf.mad->rmpp_hdr.rmpp_rtime_flags | 1-255 |
| PARAM_VALUE | 1 | wc->recv_buf.mad->rmpp_hdr.rmpp_version | 1 |
| PARAM_VALUE | 1 | wc->recv_buf.opa_mad | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->rmpp_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | wc->wc | 4096-ptr_max |
| BUF_SIZE | 1 | wc->recv_buf.grh | 40 |
| BUF_SIZE | 1 | wc->wc | 72 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| DATA_SOURCE | 1 | wc | $1 |
| BIT_INFO | 1 | wc->mad_seg_size | 0x0,0x900 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &mad_agent_priv->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |