Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/mad.c add_nonoui_reg_req() -> method_in_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 4096-ptr_max |
| PARAM_VALUE | 0 | *method | 1-u64max |
| PARAM_VALUE | 1 | mad_reg_req | 1976131128809517056,5196683269649178624,5254152691206615040,8909414470950113280 |
| PARAM_VALUE | 1 | mad_reg_req->mgmt_class | 1-79,129 |
| PARAM_VALUE | 1 | mad_reg_req->mgmt_class_version | 0-130 |
| BUF_SIZE | 1 | mad_reg_req | (-1)-0,24 |
| BUF_SIZE | 1 | mad_reg_req | (-1)-0,24 |
| DATA_SOURCE | 1 | mad_reg_req | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | mad_reg_req->mgmt_class | 2-79 |
| USER_DATA | 1 | mad_reg_req->mgmt_class_version | 0-130 |
| USER_PTR | 1 | mad_reg_req->method_mask | |
| USER_PTR | 1 | mad_reg_req->oui | |
| LOCK2 | &port_priv->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &file->port->file_mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| TYPE_LOCK | (struct ib_mad_port_private)->reg_lock |
drivers/infiniband/core/mad.c add_oui_reg_req() -> method_in_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 4096-ptr_max |
| PARAM_VALUE | 0 | *method | 1-u64max |
| PARAM_VALUE | 1 | mad_reg_req | 1976131128809517056,5196683269649178624,5254152691206615040,8909414470950113280 |
| PARAM_VALUE | 1 | mad_reg_req->mgmt_class | 1-79,129 |
| PARAM_VALUE | 1 | mad_reg_req->mgmt_class_version | 0-130 |
| BUF_SIZE | 1 | mad_reg_req | (-1)-0,24 |
| BUF_SIZE | 1 | mad_reg_req | (-1)-0,24 |
| DATA_SOURCE | 1 | mad_reg_req | $0 |
| BIT_INFO | 1 | mad_reg_req->mgmt_class | 0x0,0x7f |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | mad_reg_req->mgmt_class | 2-79 |
| USER_DATA | 1 | mad_reg_req->mgmt_class_version | 0-130 |
| USER_PTR | 1 | mad_reg_req->method_mask | |
| USER_PTR | 1 | mad_reg_req->oui | |
| LOCK2 | &port_priv->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &file->port->file_mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| TYPE_LOCK | (struct ib_mad_port_private)->reg_lock |
drivers/infiniband/core/mad.c ib_register_mad_agent() -> method_in_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 6253522163860480000 |
| PARAM_VALUE | 0 | *method | 1-u64max |
| PARAM_VALUE | 1 | mad_reg_req | 1976131128809517056,5196683269649178624,5254152691206615040,8909414470950113280 |
| PARAM_VALUE | 1 | mad_reg_req->mgmt_class | 1-79,129 |
| PARAM_VALUE | 1 | mad_reg_req->mgmt_class_version | 0-130 |
| BUF_SIZE | 1 | mad_reg_req | (-1)-0,24 |
| BUF_SIZE | 1 | mad_reg_req | (-1)-0,24 |
| DATA_SOURCE | 1 | mad_reg_req | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | mad_reg_req->mgmt_class | 2-79 |
| USER_DATA | 1 | mad_reg_req->mgmt_class_version | 0-130 |
| USER_PTR | 1 | mad_reg_req->method_mask | |
| USER_PTR | 1 | mad_reg_req->oui | |
| LOCK2 | &port_priv->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &file->port->file_mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| TYPE_LOCK | (struct ib_mad_port_private)->reg_lock |
drivers/infiniband/core/mad.c is_vendor_method_in_use() -> method_in_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | method | 3243760481138307072 |
| PARAM_VALUE | 0 | *method | 1-u64max |
| PARAM_VALUE | 1 | mad_reg_req | 1976131128809517056,5196683269649178624,5254152691206615040,8909414470950113280 |
| PARAM_VALUE | 1 | mad_reg_req->mgmt_class | 1-79,129 |
| PARAM_VALUE | 1 | mad_reg_req->mgmt_class_version | 0-130 |
| BUF_SIZE | 1 | mad_reg_req | (-1)-0,24 |
| BUF_SIZE | 1 | mad_reg_req | (-1)-0,24 |
| DATA_SOURCE | 1 | mad_reg_req | $1 |
| BIT_INFO | 1 | mad_reg_req->mgmt_class | 0x0,0x7f |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | mad_reg_req->mgmt_class | 2-79 |
| USER_DATA | 1 | mad_reg_req->mgmt_class_version | 0-130 |
| USER_PTR | 1 | mad_reg_req->method_mask | |
| USER_PTR | 1 | mad_reg_req->oui | |
| LOCK2 | &port_priv->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &file->mutex | ||
| HALF_LOCKED2 | &file->port->file_mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| TYPE_LOCK | (struct ib_mad_port_private)->reg_lock |