Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/core/device.c enable_device_and_get() -> add_client_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->client_data_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | device->client_data_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | device->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | device->driver_def->kind | 0-6 |
| PARAM_VALUE | 0 | device->driver_def->scope | 0-2 |
| PARAM_VALUE | 0 | device->port_data->cache.last_port_state | 1,4 |
| PARAM_VALUE | 0 | device->port_data->immutable.pkey_tbl_len | 0-u16max |
| PARAM_VALUE | 1 | client | 1-u64max |
| BUF_SIZE | 0 | device | (-1),5000 |
| BUF_SIZE | 0 | device | (-1),5000 |
| BUF_SIZE | 0 | device->driver_def | (-1),112 |
| CAPPED_DATA | 0 | device | 1 |
| DATA_SOURCE | 0 | device | $0 |
| STR_LEN | 0 | device | (-1),6-9,11-12 |
| STR_LEN | 0 | device | (-1),6-9,11-12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | device->phys_port_cnt | |
| LOCK2 | global &clients_rwsem | ||
| LOCK2 | global &devices_rwsem | ||
| HALF_LOCKED2 | 0 | &device->unregistration_lock |
drivers/infiniband/core/device.c ib_register_client() -> add_client_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 1-u64max |
| PARAM_VALUE | 0 | device->client_data_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | device->client_data_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | device->driver_def->kind | 0-6 |
| PARAM_VALUE | 0 | device->driver_def->scope | 0-2 |
| PARAM_VALUE | 1 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | client->client_id | 0-s32max |
| PARAM_VALUE | 1 | client->uses_zero.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | client->uses_zero.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | client->uses_zero.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | client->uses_zero.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | client->uses_zero.wait.task_list.prev->prev | 4096-ptr_max |
| CAPPED_DATA | 1 | client | 1 |
| DATA_SOURCE | 1 | client | $0 |
| NO_OVERFLOW_SIMPLE | 0 | device->phys_port_cnt | |
| LOCK2 | global &clients_rwsem | ||
| LOCK2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &smbdirect_globals.mutex |