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 cancel_mads() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 5 |
| CAPPED_DATA | 0 | &mad_send_wr->agent_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &dev->cmd.poll_sem | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &file->port->file_mutex | ||
| HALF_LOCKED2 | &ib_device->client_data_rwsem | ||
| HALF_LOCKED2 | &port->file_mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &mthca_device_mutex | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c cancel_mads() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 6 |
| CAPPED_DATA | 0 | &mad_send_wr->agent_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &dev->cmd.poll_sem | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &file->port->file_mutex | ||
| HALF_LOCKED2 | &ib_device->client_data_rwsem | ||
| HALF_LOCKED2 | &port->file_mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &mthca_device_mutex | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c cancel_mads() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 6 |
| CAPPED_DATA | 0 | &mad_send_wr->agent_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &dev->cmd.poll_sem | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &file->port->file_mutex | ||
| HALF_LOCKED2 | &ib_device->client_data_rwsem | ||
| HALF_LOCKED2 | &port->file_mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &mthca_device_mutex | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c ib_mad_complete_send_wr() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad_agent | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->sg_list | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 0-5,7-u32max |
| PARAM_VALUE | 1 | new_state | 6 |
| DATA_SOURCE | 0 | mad_send_wr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c ib_mark_mad_done() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 1,3 |
| PARAM_VALUE | 0 | mad_send_wr->timeout | 0 |
| PARAM_VALUE | 1 | new_state | 6 |
| CAPPED_DATA | 0 | mad_send_wr->tid | 1 |
| DATA_SOURCE | 0 | mad_send_wr | $0 |
| BIT_INFO | 0 | mad_send_wr->state | 0x1,0x3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &agent->lock | ||
| HALF_LOCKED2 | &mad_agent_priv->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c ib_mark_mad_done() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 0,2,4,6-u32max |
| PARAM_VALUE | 0 | mad_send_wr->timeout | 0 |
| PARAM_VALUE | 1 | new_state | 4 |
| CAPPED_DATA | 0 | mad_send_wr->tid | 1 |
| DATA_SOURCE | 0 | mad_send_wr | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &agent->lock | ||
| HALF_LOCKED2 | &mad_agent_priv->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c ib_modify_mad() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 0-4,6-u32max |
| PARAM_VALUE | 1 | new_state | 5 |
| DATA_SOURCE | 0 | mad_send_wr | r find_send_wr |
| FUZZY_MAX | 0 | mad_send_wr->state | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c ib_post_send_mad() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->agent.device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->agent.device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->timeout | 0-536870912,4611686018427387902 |
| PARAM_VALUE | 1 | new_state | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mad_send_wr->max_retries | s32min-s32max |
| USER_DATA | 0 | mad_send_wr->retries_left | s32min-s32max |
| HALF_LOCKED2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | &dev->sm_lock | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &ib_nl_request_lock | ||
| HALF_LOCKED2 | irq |
drivers/infiniband/core/mad.c ib_post_send_mad() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->is_solicited_fc | 1 |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->agent.device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->agent.device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->sol_fc_max | 1-u32max |
| PARAM_VALUE | 0 | mad_send_wr->state | 0 |
| PARAM_VALUE | 0 | mad_send_wr->timeout | 1-u64max |
| PARAM_VALUE | 1 | new_state | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mad_send_wr->max_retries | s32min-s32max |
| USER_DATA | 0 | mad_send_wr->retries_left | s32min-s32max |
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | &dev->sm_lock | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &ib_nl_request_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c ib_post_send_mad() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->agent.device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->agent.device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 0 |
| PARAM_VALUE | 1 | new_state | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mad_send_wr->max_retries | s32min-s32max |
| USER_DATA | 0 | mad_send_wr->retries_left | s32min-s32max |
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | &dev->sm_lock | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &ib_nl_request_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c ib_post_send_mad() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->agent.device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->agent.device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.cqe.done | 1789182505201008640 |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.mad_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_wr.wr.wr_cqe->done | 1789182505201008640 |
| PARAM_VALUE | 0 | mad_send_wr->state | 2 |
| PARAM_VALUE | 1 | new_state | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mad_send_wr->max_retries | s32min-s32max |
| USER_DATA | 0 | mad_send_wr->retries_left | s32min-s32max |
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | &dev->sm_lock | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &ib_nl_request_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c process_backlog_mads() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c process_backlog_mads() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.cqe.done | 1789182505201008640 |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.mad_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad_agent | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_wr.wr.wr_cqe->done | 1789182505201008640 |
| PARAM_VALUE | 0 | mad_send_wr->sg_list | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 2 |
| PARAM_VALUE | 1 | new_state | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c retry_send() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->is_solicited_fc | 1 |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 0-4,6-u32max |
| PARAM_VALUE | 0 | mad_send_wr->timeout | 0-536870912,4611686018427387902 |
| PARAM_VALUE | 1 | new_state | 1 |
| CAPPED_DATA | 0 | &mad_send_wr->mad_agent_priv->backlog_list | 1 |
| DATA_SOURCE | 0 | mad_send_wr | $0 |
| PARAM_COMPARE | 0 | &mad_send_wr->mad_agent_priv->backlog_list | != $0->mad_agent_priv->backlog_list.next |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c retry_send() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.cqe.done | 1789182505201008640 |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.mad_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_wr.wr.wr_cqe->done | 1789182505201008640 |
| PARAM_VALUE | 0 | mad_send_wr->state | 0-4,6-u32max |
| PARAM_VALUE | 0 | mad_send_wr->timeout | 0-536870912,4611686018427387902 |
| PARAM_VALUE | 1 | new_state | 2 |
| CAPPED_DATA | 0 | mad_send_wr->mad_agent_priv->qp_info->send_queue.max_active | 1 |
| CAPPED_DATA | 0 | &mad_send_wr->mad_agent_priv->backlog_list | 1 |
| DATA_SOURCE | 0 | mad_send_wr | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c timeout_sends() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 1 | new_state | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c wait_for_response() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 0,2-3,5-u32max |
| PARAM_VALUE | 1 | new_state | 3 |
| DATA_SOURCE | 0 | mad_send_wr | $0 |
| FUZZY_MAX | 0 | mad_send_wr->state | 5 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &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() -> change_mad_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_send_wr | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.cqe.done | 1789182505201008640 |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->mad_list.mad_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->newwin | (-2147483647)-s32max |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad->rmpp_hdr.paylen_newwin | 0-4294967295 |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad->rmpp_hdr.rmpp_rtime_flags | 1,3,5,7,9-255 |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad->rmpp_hdr.seg_num | 0-4294967295 |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.mad_agent | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_buf.seg_count | (-2147483647)-s32max |
| PARAM_VALUE | 0 | mad_send_wr->send_wr.wr.wr_cqe | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->send_wr.wr.wr_cqe->done | 1789182505201008640 |
| PARAM_VALUE | 0 | mad_send_wr->send_wr.wr.wr_id | 4096-18446744073709547520 |
| PARAM_VALUE | 0 | mad_send_wr->sg_list | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_send_wr->state | 3 |
| PARAM_VALUE | 1 | new_state | 2 |
| CAPPED_DATA | 0 | mad_send_wr->mad_agent_priv->qp_info->send_queue.max_active | 1 |
| CAPPED_DATA | 0 | mad_send_wr->tid | 1 |
| DATA_SOURCE | 0 | mad_send_wr | r ib_find_send_mad |
| PARAM_COMPARE | 0 | mad_send_wr->last_ack | < $0->send_buf.seg_count |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &agent->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |