Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/hfi1/mad.c bad_mkey() -> send_trap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibp | 4096-ptr_max |
| PARAM_VALUE | 0 | ibp->rvp.mkey | 1-u64max |
| PARAM_VALUE | 1 | trap | 4096-ptr_max |
| PARAM_VALUE | 1 | trap->data.generic_type | 130 |
| PARAM_VALUE | 1 | trap->data.ntc_256.method | 1-2,7 |
| PARAM_VALUE | 1 | trap->data.prod_type_lsb | 1 |
| PARAM_VALUE | 1 | trap->data.trap_num | 256 |
| PARAM_VALUE | 1 | trap->len | 96 |
| BUF_SIZE | 0 | ibp | (-1),664 |
| BUF_SIZE | 0 | ibp | (-1),664 |
| BUF_SIZE | 1 | trap | 136 |
| CAPPED_DATA | 0 | ibp->rvp.mkey | 1 |
| DATA_SOURCE | 0 | ibp | $0 |
| DATA_SOURCE | 1 | trap | r create_trap_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/hfi1/mad.c hfi1_bad_pkey() -> send_trap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibp | 4096-ptr_max |
| PARAM_VALUE | 1 | trap | 4096-ptr_max |
| PARAM_VALUE | 1 | trap->data.generic_type | 130 |
| PARAM_VALUE | 1 | trap->data.prod_type_lsb | 1 |
| PARAM_VALUE | 1 | trap->data.trap_num | 257 |
| PARAM_VALUE | 1 | trap->len | 96 |
| BUF_SIZE | 0 | ibp | 664 |
| BUF_SIZE | 1 | trap | 136 |
| DATA_SOURCE | 0 | ibp | $0 |
| DATA_SOURCE | 1 | trap | r create_trap_node |
| BIT_INFO | 1 | trap->data.ntc_257_258.sl | 0x0,0xf8 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &packet->qp->r_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | ps.flags |
drivers/infiniband/hw/hfi1/mad.c hfi1_cap_mask_chg() -> send_trap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibp | 4096-ptr_max |
| PARAM_VALUE | 1 | trap | 4096-ptr_max |
| PARAM_VALUE | 1 | trap->data.generic_type | 132 |
| PARAM_VALUE | 1 | trap->data.prod_type_lsb | 1 |
| PARAM_VALUE | 1 | trap->data.trap_num | 144 |
| PARAM_VALUE | 1 | trap->len | 96 |
| BUF_SIZE | 0 | ibp | 664 |
| BUF_SIZE | 1 | trap | 136 |
| DATA_SOURCE | 1 | trap | r create_trap_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ibdev->client_data_rwsem | ||
| HALF_LOCKED2 | &ibdev->unregistration_lock | ||
| HALF_LOCKED2 | &port->file_mutex | ||
| HALF_LOCKED2 | &port->sm_sem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/infiniband/hw/hfi1/mad.c hfi1_handle_trap_timer() -> send_trap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibp | 4096-ptr_max |
| PARAM_VALUE | 0 | ibp->rvp.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ibp->rvp.trap_lists | 4096-ptr_max |
| PARAM_VALUE | 1 | trap | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/hw/hfi1/mad.c hfi1_node_desc_chg() -> send_trap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | trap | 4096-ptr_max |
| PARAM_VALUE | 1 | trap->data.generic_type | 132 |
| PARAM_VALUE | 1 | trap->data.ntc_144.change_flags | 1 |
| PARAM_VALUE | 1 | trap->data.prod_type_lsb | 1 |
| PARAM_VALUE | 1 | trap->data.trap_num | 144 |
| PARAM_VALUE | 1 | trap->len | 96 |
| BUF_SIZE | 0 | ibp | 664 |
| BUF_SIZE | 1 | trap | 136 |
| DATA_SOURCE | 0 | ibp | $0 |
| DATA_SOURCE | 1 | trap | r create_trap_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/hw/hfi1/mad.c hfi1_sys_guid_chg() -> send_trap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | trap | 4096-ptr_max |
| PARAM_VALUE | 1 | trap->data.generic_type | 132 |
| PARAM_VALUE | 1 | trap->data.prod_type_lsb | 1 |
| PARAM_VALUE | 1 | trap->data.trap_num | 145 |
| PARAM_VALUE | 1 | trap->len | 96 |
| BUF_SIZE | 0 | ibp | 664 |
| BUF_SIZE | 1 | trap | 136 |
| DATA_SOURCE | 0 | ibp | $0 |
| DATA_SOURCE | 1 | trap | r create_trap_node |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |