Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/cm.c cm_destroy_id() -> cm_remove_remote()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm_id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &cm.lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &cm_id_priv->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cm_id_private)->lock | ||
| TYPE_LOCK | (struct ib_cm)->lock |
drivers/infiniband/core/cm.c cm_enter_timewait() -> cm_remove_remote()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm_id_priv | 4096-ptr_max |
| BUF_SIZE | 0 | cm_id_priv | s32min,(-1),88,140 |
| BUF_SIZE | 0 | cm_id_priv | s32min,(-1),88,140 |
| DATA_SOURCE | 0 | cm_id_priv | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | global &cm.lock | ||
| LOCK2 | 0 | &cm_id_priv->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cm_id_private)->lock | ||
| TYPE_LOCK | (struct ib_cm)->lock |
drivers/infiniband/core/cm.c cm_match_req() -> cm_remove_remote()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm_id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr->roce.dmac | 0-255 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.ah_flags | 0-1 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.grh.flow_label | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.grh.hop_limit | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.grh.sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.grh.sgid_index | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.ib.dlid | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.ib.src_path_bits | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.opa.dlid | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.opa.make_grd | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.static_rate | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.type | 0-3 |
| PARAM_VALUE | 0 | cm_id_priv->av.port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.done | 0 |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->id.cm_handler | 0 |
| PARAM_VALUE | 0 | cm_id_priv->id.context | 0 |
| PARAM_VALUE | 0 | cm_id_priv->id.remote_cm_qpn | 1 |
| PARAM_VALUE | 0 | cm_id_priv->id.state | 3 |
| PARAM_VALUE | 0 | cm_id_priv->qp_type | 0,2-3,10 |
| PARAM_VALUE | 0 | cm_id_priv->refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->inserted_remote_id | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->work.cm_event.event | 9 |
| PARAM_VALUE | 0 | cm_id_priv->work_count.counter | (-1) |
| PARAM_VALUE | 0 | cm_id_priv->work_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->work_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->work_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->work_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->work_list.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | cm_id_priv | 552 |
| BUF_SIZE | 0 | cm_id_priv->timewait_info | 400 |
| CAPPED_DATA | 0 | cm_id_priv->timewait_info->remote_ca_guid | 1 |
| CAPPED_DATA | 0 | cm_id_priv->timewait_info->remote_qpn | 1 |
| DATA_SOURCE | 0 | cm_id_priv | $1 |
| MEM_ZERO | 0 | &cm_id_priv->av.ah_attr | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cm_id_priv->id.device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | cm_id_priv->id.device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | cm_id_priv->id.device->phys_port_cnt | |
| LOCK2 | global &cm.lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_cm)->lock |
drivers/infiniband/core/cm.c cm_match_req() -> cm_remove_remote()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm_id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr->roce.dmac | 0-255 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.ah_flags | 0-1 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.grh.flow_label | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.grh.hop_limit | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.grh.sgid_attr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.grh.sgid_index | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.ib.dlid | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.ib.src_path_bits | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.opa.dlid | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.opa.make_grd | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.static_rate | 0 |
| PARAM_VALUE | 0 | cm_id_priv->av.ah_attr.type | 0-3 |
| PARAM_VALUE | 0 | cm_id_priv->av.port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.done | 0 |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->id.cm_handler | 0 |
| PARAM_VALUE | 0 | cm_id_priv->id.context | 0 |
| PARAM_VALUE | 0 | cm_id_priv->id.remote_cm_qpn | 1 |
| PARAM_VALUE | 0 | cm_id_priv->id.state | 3 |
| PARAM_VALUE | 0 | cm_id_priv->qp_type | 0,2-3,10 |
| PARAM_VALUE | 0 | cm_id_priv->refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->inserted_remote_id | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->inserted_remote_qp | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_qp_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_qp_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_qp_node.rb_right | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->work.cm_event.event | 9 |
| PARAM_VALUE | 0 | cm_id_priv->work_count.counter | (-1) |
| PARAM_VALUE | 0 | cm_id_priv->work_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->work_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->work_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->work_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->work_list.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | cm_id_priv | 552 |
| BUF_SIZE | 0 | cm_id_priv->timewait_info | 400 |
| DATA_SOURCE | 0 | cm_id_priv | $1 |
| MEM_ZERO | 0 | &cm_id_priv->av.ah_attr | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cm_id_priv->id.device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | cm_id_priv->id.device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | cm_id_priv->id.device->phys_port_cnt | |
| LOCK2 | global &cm.lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ib_cm)->lock |
drivers/infiniband/core/cm.c cm_rep_handler() -> cm_remove_remote()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm_id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->id.remote_id | 0 |
| PARAM_VALUE | 0 | cm_id_priv->id.state | 2,5 |
| PARAM_VALUE | 0 | cm_id_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cm_id_priv->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->inserted_remote_id | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info->remote_id_node.rb_right | 4096-ptr_max |
| CAPPED_DATA | 0 | cm_id_priv->timewait_info->remote_ca_guid | 1 |
| CAPPED_DATA | 0 | cm_id_priv->timewait_info->remote_qpn | 1 |
| DATA_SOURCE | 0 | cm_id_priv | r cm_acquire_id |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | global &cm.lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &cm_id_priv->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cm_id_private)->lock | ||
| TYPE_LOCK | (struct ib_cm)->lock |
drivers/infiniband/core/cm.c cm_reset_to_idle() -> cm_remove_remote()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cm_id_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | cm_id_priv->id.state | 0 |
| PARAM_VALUE | 0 | cm_id_priv->timewait_info | 1-u64max |
| BUF_SIZE | 0 | cm_id_priv | s32min,(-1),88,140 |
| BUF_SIZE | 0 | cm_id_priv | s32min,(-1),88,140 |
| DATA_SOURCE | 0 | cm_id_priv | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | global &cm.lock | ||
| LOCK2 | 0 | &cm_id_priv->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cm_id_private)->lock | ||
| TYPE_LOCK | (struct ib_cm)->lock |