Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/base/memory.c memory_subsys_offline() -> memory_block_change_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | to_state | 2 |
| PARAM_VALUE | 2 | from_state_req | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &device->physical_node_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/base/memory.c memory_subsys_online() -> memory_block_change_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mem | 4096-ptr_max |
| PARAM_VALUE | 0 | mem->online_type | 1-u32max |
| PARAM_VALUE | 0 | mem->state | 1-u32max |
| PARAM_VALUE | 1 | to_state | 0 |
| PARAM_VALUE | 2 | from_state_req | 2 |
| FUZZY_MAX | 0 | mem->online_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &device->physical_node_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct device)->mutex |