Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/mad.c clear_mad_error_list() -> deref_mad_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | mad_agent_priv | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c find_mad_agent() -> deref_mad_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.recv_handler | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_free_send_mad() -> deref_mad_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> deref_mad_agent()
| 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 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> deref_mad_agent()
| 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 | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> deref_mad_agent()
| 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.qp | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.qp->pd | 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 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> deref_mad_agent()
| 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 | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &mad_agent_priv->agent | 1 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> deref_mad_agent()
| 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 | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> deref_mad_agent()
| 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 | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &mad_agent_priv->agent | 1 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_mad_complete_recv() -> deref_mad_agent()
| 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 |
| CAPPED_DATA | 0 | &mad_agent_priv->agent | 1 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_mad_complete_send_wr() -> deref_mad_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mad_agent_priv->timed_work.timer.entry->pprev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/mad.c ib_post_send_mad() -> deref_mad_agent()
| 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->lock.rlock.dep_map->name | 0-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 local_completions() -> deref_mad_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &mad_agent_priv->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c local_completions() -> deref_mad_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mad_agent_priv->qp_info | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->qp_info->port_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->qp_info->port_priv->device | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->qp_info->port_priv->device->port_data | 4096-ptr_max |
| CAPPED_DATA | 0 | &mad_agent_priv->local_list | 1 |
| PARAM_COMPARE | 0 | &mad_agent_priv->local_list | != $0->local_list.next |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &mad_agent_priv->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c process_backlog_mads() -> deref_mad_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mad_agent_priv->sol_fc_max | 1-u32max |
| CAPPED_DATA | 0 | &mad_agent_priv->backlog_list | 1 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| PARAM_COMPARE | 0 | &mad_agent_priv->backlog_list | != $0->backlog_list.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &mad_agent_priv->lock | |
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/core/mad.c unregister_mad_agent() -> deref_mad_agent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mad_agent_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->agent.context->send_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mad_agent_priv->comp.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mad_agent_priv->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | mad_agent_priv->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mad_agent_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mad_agent_priv->qp_info | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->qp_info->port_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | mad_agent_priv->qp_info->port_priv->reg_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mad_agent_priv->reg_req | 0,4096-ptr_max |
| CAPPED_DATA | 0 | mad_agent_priv | 1 |
| DATA_SOURCE | 0 | mad_agent_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |