Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/dax/kmem.c dev_dax_kmem_probe() -> dax_kmem_do_hotplug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_dax | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->id | 0-s32max |
| PARAM_VALUE | 0 | dev_dax->nr_range | 1-s32max |
| PARAM_VALUE | 0 | dev_dax->ranges | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_dax->target_node | 0-s32max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | data->lock.first_waiter | 0 |
| PARAM_VALUE | 1 | data->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | data->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 1 | data->lock.owner.counter | 0 |
| PARAM_VALUE | 1 | data->mgid | 0-s32max |
| PARAM_VALUE | 1 | data->res_name | 4096-ptr_max |
| PARAM_VALUE | 1 | data->state | (-1) |
| PARAM_VALUE | 2 | online_type | 0-3 |
| BUF_SIZE | 1 | data | 176-17179869344 |
| BUF_SIZE | 1 | data | 176-17179869344 |
| CAPPED_DATA | 0 | dev_dax->nr_range | 1 |
| DATA_SOURCE | 0 | dev_dax | $0 |
| DATA_SOURCE | 1 | data | r _kzalloc_noprof |
| DATA_SOURCE | 2 | online_type | r mhp_get_default_online_type |
| FUZZY_MAX | 0 | dev_dax->id | 0 |
| FUZZY_MAX | 0 | dev_dax->nr_range | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/dax/kmem.c state_store() -> dax_kmem_do_hotplug()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_dax | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->state | (-1) |
| PARAM_VALUE | 2 | online_type | 1-3 |
| BUF_SIZE | 1 | data | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | data | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | dev_dax->nr_range | 1 |
| DATA_SOURCE | 0 | dev_dax | r to_dev_dax |
| DATA_SOURCE | 2 | online_type | r dax_kmem_parse_state |
| PARAM_COMPARE | 1 | data->state | != $2 |
| PARAM_COMPARE | 2 | online_type | != $1->state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | data | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |