| /kernel/linux/linux-5.10/tools/testing/selftests/memory-hotplug/ |
| D | mem-on-off-test.sh | 53 hotpluggable_memory offline 68 grep -q offline $SYSFS/devices/system/memory/memory$1/state 78 echo offline > $SYSFS/devices/system/memory/memory$1/state 89 echo $FUNCNAME $memory: unexpected offline >&2 117 echo $FUNCNAME $memory: unexpected offline >&2 131 echo $FUNCNAME $memory: unexpected offline >&2 149 echo "Usage $0 [ -e errno ] [ -p notifier-priority ] [ -r percent-of-memory-to-offline ]" 178 echo -e "\t online all hot-pluggable memory in offline state:" 181 echo "offline->online memory$memory" 187 echo -e "\t\t SKIPPED - no hot-pluggable memory in offline state" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/memory-hotplug/ |
| D | mem-on-off-test.sh | 53 hotpluggable_memory offline 68 grep -q offline $SYSFS/devices/system/memory/memory$1/state 78 echo offline > $SYSFS/devices/system/memory/memory$1/state 89 echo $FUNCNAME $memory: unexpected offline >&2 117 echo $FUNCNAME $memory: unexpected offline >&2 131 echo $FUNCNAME $memory: unexpected offline >&2 158 echo "Usage $0 [ -e errno ] [ -p notifier-priority ] [ -r percent-of-memory-to-offline ]" 187 echo -e "\t online all hot-pluggable memory in offline state:" 190 echo "offline->online memory$memory" 196 echo -e "\t\t SKIPPED - no hot-pluggable memory in offline state" [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/cpu-hotplug/ |
| D | cpu-on-off-test.sh | 31 echo "CPU online/offline summary:" 46 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 52 echo -e "\t Cpus in offline state: $offline_cpus" 107 echo $FUNCNAME $cpu: unexpected offline >&2 133 echo $FUNCNAME $cpu: unexpected offline >&2 146 echo $FUNCNAME $cpu: unexpected offline >&2 171 echo -e "\t default offline one cpu" 172 echo -e "\t run with -a option to offline all cpus" 189 # Safe test (default) - offline and online one cpu 194 echo -e "\t online to offline to online: cpu $online_max" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/cpu-hotplug/ |
| D | cpu-on-off-test.sh | 32 echo "CPU online/offline summary:" 47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 53 echo -e "\t Cpus in offline state: $offline_cpus" 108 echo $FUNCNAME $cpu: unexpected offline >&2 134 echo $FUNCNAME $cpu: unexpected offline >&2 147 echo $FUNCNAME $cpu: unexpected offline >&2 186 echo -e "\t default offline one cpu" 187 echo -e "\t run with -a option to offline all cpus" 196 # Safe test (default) - offline and online one cpu 201 echo -e "\t online to offline to online: cpu $online_max" [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/mm/ |
| D | memory-hotplug.rst | 68 In this document, this phase is described as online/offline. 76 Unit of Memory online/offline operation 86 unit upon which memory online/offline operations are to be performed. The 158 - at read: contains online/offline state of memory. 161 "online_movable", "online", "offline" command 216 You may have to write it by yourself or online/offline memory by hand. 254 To see (online/offline) state of a memory block, read 'state' file:: 260 - If the memory block is offline, you'll read "offline". 274 option. If it is disabled the default is "offline" which means the newly added 282 be hotplugged. Currently offline blocks keep their state. It is possible, under [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-devices-online | 6 devices whose bus types provide .online() and .offline() 8 of the device's 'offline' field. If that number is 1 and '0' 10 .offline() callback is executed for the device and (if 11 successful) its 'offline' field is updated accordingly. In 14 for the device and (if successful) its 'offline' field is 17 After a successful execution of the bus type's .offline()
|
| D | sysfs-memory-page-offline | 6 Soft-offline the memory page containing the physical address 9 to soft-offline it, by moving the contents elsewhere or 19 fail the offline. Return value is the size of the 28 Hard-offline the memory page containing the physical 31 kernel will then attempt to hard-offline the page, by
|
| D | sysfs-devices-memory | 47 is read-write. When read, it returns the online/offline 49 the online/offline state of a memory block using the following 53 # echo offline > /sys/devices/system/memory/memoryX/state 82 For offline memory blocks, it returns by which zone memory 85 the state of an offline memory block to "online". Only one of 120 on/offline changes.
|
| D | usb-uevent | 7 contain ACTION=offline and ERROR=DEAD. 11 KERNEL[130.428945] offline /devices/pci0000:00/0000:00:10.0/usb2 (usb) 12 ACTION=offline
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-devices-online | 6 devices whose bus types provide .online() and .offline() 8 of the device's 'offline' field. If that number is 1 and '0' 10 .offline() callback is executed for the device and (if 11 successful) its 'offline' field is updated accordingly. In 14 for the device and (if successful) its 'offline' field is 17 After a successful execution of the bus type's .offline()
|
| D | sysfs-memory-page-offline | 6 Soft-offline the memory page containing the physical address 9 to soft-offline it, by moving the contents elsewhere or 19 fail the offline. Return value is the size of the 28 Hard-offline the memory page containing the physical 31 kernel will then attempt to hard-offline the page, by
|
| D | sysfs-devices-memory | 48 online/offline state of the memory section. When written, 49 root can toggle the the online/offline state of a removable 54 # echo offline > /sys/devices/system/memory/memoryX/state 60 by root to offline that section:: 62 # echo offline > /sys/devices/system/memory/memory22/state
|
| D | usb-uevent | 7 contain ACTION=offline and ERROR=DEAD. 11 KERNEL[130.428945] offline /devices/pci0000:00/0000:00:10.0/usb2 (usb) 12 ACTION=offline
|
| /kernel/linux/linux-6.6/drivers/thunderbolt/ |
| D | usb4_port.c | 113 return sysfs_emit(buf, "%d\n", usb4->offline); in offline_show() 136 if (val == usb4->offline) in offline_store() 139 /* Offline mode works only for ports that are not connected */ in offline_store() 154 usb4->offline = val; in offline_store() 155 tb_port_dbg(port, "%s offline mode\n", val ? "enter" : "exit"); in offline_store() 165 static DEVICE_ATTR_RW(offline); 190 /* Must be in offline mode already */ in rescan_store() 191 if (!usb4->offline) { in rescan_store() 322 return usb4->offline ? usb4_port_offline(usb4) : 0; in usb4_port_device_resume()
|
| /kernel/linux/build/test/moduletest/runtest/bin/cpusetdecouple_cpuhotplug_t/testcases/bin/ |
| D | cpusetdecouple_cpuhotplug02.sh | 16 # Description: Check whether process are migrated when the CPU is offline 58 tst_res TINFO "hotplug02 cpu1 offline cpuset decouple success" 60 tst_res TINFO "hotplug02 cpu1 offline cpuset decouple fail" 65 tst_res TPASS "process are migrated when the CPU is offline pass." 67 tst_res TFAIL "process are migrated when the CPU is offline failed!"
|
| D | cpusetdecouple_cpuhotplug04.sh | 16 # Description: Test CPU online and offline function 57 tst_res TINFO "hotplug04 cpu$i offline cpuset decouple success" 59 tst_res TINFO "hotplug04 cpu$i offline cpuset decouple fail" 65 tst_res TPASS "CPU online and offline function pass." 67 tst_res TFAIL "CPU online and offline function failed!"
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ |
| D | zonefs.rst | 190 * A zone may transition to the offline condition (BLK_ZONE_COND_OFFLINE): 191 An offline zone cannot be read nor written. No user action can transition an 192 offline zone back to an operational good state. Similarly to zone read-only 193 transitions, the reasons for a drive to transition a zone to the offline 228 * A zone condition change to read-only or offline also always triggers zonefs 252 file attributes and data modification. For offline zones, all permissions 268 | (default) | offline | 0 no no no no | 272 | | offline | 0 no no no no | 275 | zone-offline | read-only | 0 no no yes no | 276 | | offline | 0 no no no no | [all …]
|
| /kernel/linux/linux-6.6/Documentation/core-api/ |
| D | cpu_hotplug.rst | 111 -r--r--r-- 1 root root 4.0K Dec 21 16:33 offline 116 The files *offline*, *online*, *possible*, *present* represent the CPU masks. 121 smpboot: CPU 4 is now offline 136 The offline case 175 operations (CPU online or CPU offline) then the other not-required callback 187 after the CPU has become dysfunctional during a CPU offline operation. 212 on the hotplugged CPU during a CPU offline operation shortly before the 227 hotplugged CPU during a CPU offline operation. 236 CPU online/offline operations 257 A successful offline operation looks like this:: [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| D | kernel-per-CPU-kthreads.rst | 24 writing "0" to offline and "1" to online. 99 the CPU offline, then bring it back online. This forces 101 with multiple CPUs, force them all offline before bringing the 103 do not offline any other CPUs, because doing so could force the 115 be de-jittered. (It is OK to force this CPU offline and then 127 be de-jittered. (It is OK to force this CPU offline and then 139 be de-jittered. (It is OK to force this CPU offline and then 184 CPU offline, then bring it back online. This forces recurring 186 CPUs, force them all offline before bringing the first one 188 offline any other CPUs, because doing so could force the timer
|
| /kernel/linux/linux-6.6/drivers/base/ |
| D | container.c | 24 return cdev->offline ? cdev->offline(cdev) : 0; in container_offline() 31 .offline = container_offline,
|
| D | cpu.c | 278 /* arch-optional setting to enable display of offline cpus >= nr_cpu_ids */ 285 cpumask_var_t offline; in print_cpus_offline() local 287 /* display offline cpus < nr_cpu_ids */ in print_cpus_offline() 288 if (!alloc_cpumask_var(&offline, GFP_KERNEL)) in print_cpus_offline() 290 cpumask_andnot(offline, cpu_possible_mask, cpu_online_mask); in print_cpus_offline() 291 len += sysfs_emit_at(buf, len, "%*pbl", cpumask_pr_args(offline)); in print_cpus_offline() 292 free_cpumask_var(offline); in print_cpus_offline() 294 /* display offline cpus >= nr_cpu_ids */ in print_cpus_offline() 309 static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL); 410 .offline = cpu_subsys_offline, [all …]
|
| /kernel/linux/linux-5.10/drivers/base/ |
| D | container.c | 24 return cdev->offline ? cdev->offline(cdev) : 0; in container_offline() 31 .offline = container_offline,
|
| /kernel/linux/linux-6.6/Documentation/filesystems/ |
| D | zonefs.rst | 190 * A zone may transition to the offline condition (BLK_ZONE_COND_OFFLINE): 191 An offline zone cannot be read nor written. No user action can transition an 192 offline zone back to an operational good state. Similarly to zone read-only 193 transitions, the reasons for a drive to transition a zone to the offline 228 * A zone condition change to read-only or offline also always triggers zonefs 252 file attributes and data modification. For offline zones, all permissions 268 | (default) | offline | 0 no no no no | 272 | | offline | 0 no no no no | 275 | zone-offline | read-only | 0 no no yes no | 276 | | offline | 0 no no no no | [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | kernel-per-CPU-kthreads.rst | 24 writing "0" to offline and "1" to online. 99 the CPU offline, then bring it back online. This forces 101 with multiple CPUs, force them all offline before bringing the 103 do not offline any other CPUs, because doing so could force the 115 be de-jittered. (It is OK to force this CPU offline and then 127 be de-jittered. (It is OK to force this CPU offline and then 139 be de-jittered. (It is OK to force this CPU offline and then 184 CPU offline, then bring it back online. This forces recurring 186 CPUs, force them all offline before bringing the first one 188 offline any other CPUs, because doing so could force the timer
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | sh_css_sp.h | 63 bool offline, 88 * @brief Update the offline frame information in host_sp_communication. 90 * @param[in] frame_num The offline frame number. 91 * @param[in] frame The pointer to the offline frame. 130 * @brief Update the nr of offline frames to use in host_sp_communication.
|