Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- arch/arm/common/bL_switcher.c, line 411
- arch/powerpc/platforms/pseries/hotplug-cpu.c, line 414
- arch/powerpc/platforms/pseries/hotplug-memory.c, line 211
- drivers/acpi/scan.c, line 195
- drivers/base/core.c, line 2883
- drivers/base/memory.c, line 424
- kernel/cpu.c, line 1732
- mm/memory_hotplug.c
Smatch caller information:
mm/memory_hotplug.c online_memory_block() -> device_online()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock |
mm/memory_hotplug.c try_reonline_memory_block() -> device_online()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/cpu.c add_cpu() -> device_online()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &mmiotrace_mutex | ||
| HALF_LOCKED2 | global &ne_cpu_pool.mutex |
drivers/base/core.c online_store() -> device_online()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/memory.c state_store() -> device_online()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/acpi/scan.c acpi_bus_online() -> device_online()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &device->physical_node_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct acpi_device)->physical_node_lock |