Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/infiniband/core/agent.c, line 140
- drivers/infiniband/core/cm.c
- drivers/infiniband/core/mad.c, line 1356
- drivers/infiniband/core/mad_rmpp.c
- drivers/infiniband/core/sa_query.c
- drivers/infiniband/core/user_mad.c, line 657
- drivers/infiniband/hw/hfi1/mad.c, line 365
- drivers/infiniband/hw/mlx4/mad.c, line 407
- drivers/infiniband/hw/mthca/mthca_mad.c, line 189
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 582
Smatch caller information:
drivers/infiniband/hw/mthca/mthca_mad.c forward_trap() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 1-u64max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r ib_create_send_mad |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->sm_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mthca_dev)->sm_lock |
drivers/infiniband/hw/mlx4/mad.c forward_trap() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 1-u64max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r ib_create_send_mad |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->sm_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct mlx4_ib_dev)->sm_lock |
drivers/infiniband/core/mad_rmpp.c ack_ds_ack() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->device | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->context | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24,40,56,64 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| BUF_SIZE | 0 | send_buf->mad_agent | 80 |
| DATA_SOURCE | 0 | send_buf | r alloc_response_msg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/mad_rmpp.c ack_recv() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24,40,56,64 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.attr_id | 0-u16max |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.attr_mod | 0-4294967295 |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.base_version | 0-255 |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.class_specific | 0-u16max |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.class_version | 0-255 |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.method | 0-255 |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.mgmt_class | 0-255 |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.resv | 0-u16max |
| PARAM_VALUE | 0 | send_buf->mad->mad_hdr.status | 0-u16max |
| PARAM_VALUE | 0 | send_buf->mad->rmpp_hdr.paylen_newwin | 0-4294967295 |
| PARAM_VALUE | 0 | send_buf->mad->rmpp_hdr.rmpp_rtime_flags | 1,9-249 |
| PARAM_VALUE | 0 | send_buf->mad->rmpp_hdr.rmpp_status | 0-255 |
| PARAM_VALUE | 0 | send_buf->mad->rmpp_hdr.rmpp_type | 2 |
| PARAM_VALUE | 0 | send_buf->mad->rmpp_hdr.rmpp_version | 0-255 |
| PARAM_VALUE | 0 | send_buf->mad->rmpp_hdr.seg_num | 0-4294967295 |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| BUF_SIZE | 0 | send_buf->mad_agent | 80 |
| DATA_SOURCE | 0 | send_buf | r ib_create_send_mad |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/core/mad_rmpp.c nack_recv() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->device | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->context | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24,40,56,64 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| BUF_SIZE | 0 | send_buf->mad_agent | 80 |
| DATA_SOURCE | 0 | send_buf | r alloc_response_msg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/hfi1/mad.c send_trap() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 1-u64max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| BUF_SIZE | 0 | send_buf->ah | s32min-s32max |
| DATA_SOURCE | 0 | send_buf | r ib_create_send_mad |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/core/sa_query.c ib_nl_handle_resolve_resp() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &ib_nl_request_lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/core/sa_query.c ib_nl_request_timeout() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | flags | ||
| LOCK2 | global &ib_nl_request_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/sa_query.c send_mad() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->context | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->timeout_ms | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| FUZZY_MAX | 0 | send_buf->timeout_ms | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | send_buf->retries | s32min-s32max |
| USER_DATA | 0 | send_buf->timeout_ms | 1-429496729[c] |
| HALF_LOCKED2 | &ctx->mutex |
drivers/infiniband/core/cm.c cm_dreq_handler() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->device | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->context | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 22 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_response_msg_no_ah |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_dup_rep_handler() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 17,20 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_dup_req_handler() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 17-18 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_issue_drep() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_issue_dreq() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 21 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_msg |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c cm_issue_rej() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_lap_handler() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->device | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->context | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 17 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_response_msg_no_ah |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_send_drep_locked() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 22 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_msg |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c cm_send_rej_locked() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 18 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_msg |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c cm_send_sidr_rep_locked() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 24 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_msg |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c ib_send_cm_dreq() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 21 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_priv_msg |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c ib_send_cm_rep() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->device | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->context | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->retries | 0-255 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_priv_msg_rep |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sport->mutex | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c ib_send_cm_req() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_priv_msg |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | send_buf->data_len | (-36)-999999920 |
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c ib_send_cm_rtu() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 20 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_msg |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c ib_send_cm_sidr_req() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad->hdr.attr_id | 23 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.base_version | 1 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.class_version | 2 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.method | 3 |
| PARAM_VALUE | 0 | send_buf->mad->hdr.mgmt_class | 7 |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| DATA_SOURCE | 0 | send_buf | r cm_alloc_priv_msg |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_mad_recv_handler() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->device | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 64 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| BUF_SIZE | 0 | send_buf->ah | s32min-s32max |
| DATA_SOURCE | 0 | send_buf | r ib_create_send_mad |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/user_mad.c ib_umad_write() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->device | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->type | 0-3 |
| PARAM_VALUE | 0 | send_buf->context | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24,40,56,64 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| BUF_SIZE | 0 | send_buf->ah | s32min-s32max |
| DATA_SOURCE | 0 | send_buf | r ib_create_send_mad |
| USER_DATA | 0 | send_buf->data_len | (-36)-999999920 |
| LOCK2 | &file->mutex | ||
| TYPE_LOCK | (struct ib_umad_file)->mutex |
drivers/infiniband/core/agent.c agent_send_response() -> ib_post_send_mad()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | send_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->device | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->ah->sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->hdr_len | 24 |
| PARAM_VALUE | 0 | send_buf->mad | 4096-ptr_max |
| PARAM_VALUE | 0 | send_buf->mad_agent | 4096-ptr_max |
| PARAM_VALUE | 1 | bad_send_buf | 0 |
| BUF_SIZE | 0 | send_buf | 80 |
| BUF_SIZE | 0 | send_buf->ah | s32min-s32max |
| DATA_SOURCE | 0 | send_buf | r ib_create_send_mad |
| RX_PATH | |||
| TASK_NOT_RUNNING |