Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/cm.c cm_destroy_av() -> cm_set_av_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | av | 4096-ptr_max |
| PARAM_VALUE | 0 | av->ah_attr.grh.sgid_attr | 0 |
| PARAM_VALUE | 1 | port | 0 |
| DATA_SOURCE | 0 | av | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/cm.c cm_init_av_by_path() -> cm_set_av_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | av | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->cm_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | port->cm_dev->ib_device | 4096-ptr_max |
| PARAM_VALUE | 1 | port->cm_dev->ib_device->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | port->cm_dev->ib_device->port_data | 4096-ptr_max |
| CAPPED_DATA | 1 | port->port_num | 1 |
| DATA_SOURCE | 0 | av | $2 |
| DATA_SOURCE | 1 | port | r get_cm_port_from_path |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/cm.c cm_init_av_for_lap() -> cm_set_av_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | av | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->cm_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | port->cm_dev->ib_device | 4096-ptr_max |
| PARAM_VALUE | 1 | port->cm_dev->ib_device->port_data | 4096-ptr_max |
| DATA_SOURCE | 0 | av | $3 |
| DATA_SOURCE | 1 | port | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c cm_init_av_for_response() -> cm_set_av_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | av | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | port->cm_dev | 4096-ptr_max |
| DATA_SOURCE | 0 | av | $3 |
| DATA_SOURCE | 1 | port | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_move_av_from_path() -> cm_set_av_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | av | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | av | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | port | unit_byte |
| LOCK2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cm_id_private)->lock |
drivers/infiniband/core/cm.c cm_move_av_from_path() -> cm_set_av_port()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | av | 2575859332666105856,2740083714414698496,6582925022103408640,8552541257699516416 |
| PARAM_VALUE | 0 | av->port | 4096-ptr_max |
| PARAM_VALUE | 1 | port | 0 |
| CAPPED_DATA | 0 | av->port | 1 |
| DATA_SOURCE | 0 | av | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cm_id_priv->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct cm_id_private)->lock |