Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/hfi1/mad.c bad_mkey() -> create_trap_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 130 |
| PARAM_VALUE | 1 | trap_num | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/hfi1/mad.c hfi1_bad_pkey() -> create_trap_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 130 |
| PARAM_VALUE | 1 | trap_num | 257 |
| TASK_NOT_RUNNING | |||
| 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() -> create_trap_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 132 |
| PARAM_VALUE | 1 | trap_num | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_node_desc_chg() -> create_trap_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 132 |
| PARAM_VALUE | 1 | trap_num | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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() -> create_trap_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 132 |
| PARAM_VALUE | 1 | trap_num | 145 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |