Home
last modified time | relevance | path

Searched full:offline (Results 1 – 25 of 555) sorted by relevance

12345678910>>...23

/linux/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh53 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 …]
/linux/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh32 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 …]
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-online6 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()
H A Dsysfs-memory-page-offline6 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
H A Dsysfs-devices-memory47 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
119 segments on memory hot un/plug and/or on/offline events, avoiding the
H A Dusb-uevent7 contain ACTION=offline and ERROR=DEAD.
11 KERNEL[130.428945] offline /devices/pci0000:00/0000:00:10.0/usb2 (usb)
12 ACTION=offline
H A Dsysfs-class-remoteproc19 - "offline"
25 "offline" means the remote processor is powered off.
50 return it to the "offline" state.
H A Dsysfs-devices-system-xen_cpu16 Interface to online/offline Xen physical cpus
19 to online/offline physical cpus, except cpu0 due to several
/linux/Documentation/core-api/
H A Dcpu_hotplug.rst105 -r--r--r-- 1 root root 4.0K Dec 21 16:33 offline
110 The files *offline*, *online*, *possible*, *present* represent the CPU masks.
115 smpboot: CPU 4 is now offline
130 The offline case
169 operations (CPU online or CPU offline) then the other not-required callback
181 after the CPU has become dysfunctional during a CPU offline operation.
206 on the hotplugged CPU during a CPU offline operation shortly before the
221 hotplugged CPU during a CPU offline operation.
230 CPU online/offline operations
251 A successful offline operation looks like this::
[all …]
/linux/Documentation/filesystems/
H A Dzonefs.rst190 * 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 …]
/linux/drivers/base/
H A Dcontainer.c24 return cdev->offline ? cdev->offline(cdev) : 0; in container_offline()
31 .offline = container_offline,
H A Dcpu.c244 /* arch-optional setting to enable display of offline cpus >= nr_cpu_ids */
251 cpumask_var_t offline; in print_cpus_offline() local
253 /* display offline cpus < nr_cpu_ids */ in print_cpus_offline()
254 if (!alloc_cpumask_var(&offline, GFP_KERNEL)) in print_cpus_offline()
256 cpumask_andnot(offline, cpu_possible_mask, cpu_online_mask); in print_cpus_offline()
257 len += sysfs_emit_at(buf, len, "%*pbl", cpumask_pr_args(offline)); in print_cpus_offline()
258 free_cpumask_var(offline); in print_cpus_offline()
260 /* display offline cpus >= nr_cpu_ids */ in print_cpus_offline()
275 static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL);
383 .offline = cpu_subsys_offline,
[all …]
/linux/tools/testing/selftests/sched_ext/
H A Dhotplug.c32 online ? "online" : "offline", strerror(errno)); in toggle_online_status()
56 /* Testing the offline -> online path, so go offline before starting */ in test_hotplug()
115 * Take the CPU offline to increment the global hotplug seq, which in test_hotplug_attach()
/linux/drivers/bus/
H A Dmips_cdmm.c260 * @offline: Whether the CDMM bus is going offline (or very early
270 bool offline; member
381 /* Don't set up bus a second time unless marked offline */ in mips_cdmm_setup()
382 if (bus->offline) { in mips_cdmm_setup()
390 bus->offline = false; in mips_cdmm_setup()
588 * event (such as the CPU going online/offline).
630 * While bus is offline, each use of it should reconfigure it just in in BUILD_PERDEV_HELPER()
635 bus->offline = true; in BUILD_PERDEV_HELPER()
662 /* Bus now set up, so we can drop the offline flag if still set */ in mips_cdmm_cpu_online()
663 bus->offline = false; in mips_cdmm_cpu_online()
/linux/mm/kasan/
H A Dquarantine.c39 bool offline; member
210 if (q->offline) { in kasan_quarantine_put()
332 * Ensure the ordering between the writing to q->offline and in per_cpu_remove_cache()
336 if (READ_ONCE(q->offline)) in per_cpu_remove_cache()
385 this_cpu_ptr(&cpu_quarantine)->offline = false; in kasan_cpu_online()
394 /* Ensure the ordering between the writing to q->offline and in kasan_cpu_offline()
398 WRITE_ONCE(q->offline, true); in kasan_cpu_offline()
/linux/Documentation/admin-guide/
H A Dcputopology.rst61 offline: CPUs that are not online because they have been
84 offline: 2,4-31,32-63
91 was manually taken offline (and is the only CPU that can be brought
95 offline: 2,4-127,128-143
/linux/mm/
H A Dmemory_hotplug.c375 * the section may be 'offline' but 'valid'. Only in pfn_to_online_page()
381 /* The presence of a pgmap indicates ZONE_DEVICE offline pfn */ in pfn_to_online_page()
1066 * This function should only be called by memory_block_{online,offline},
1067 * and {online,offline}_pages.
1122 * left offline. in mhp_init_memmap_on_memory()
1136 * the case, mark those sections offline here as otherwise they will be in mhp_deinit_memmap_on_memory()
1269 * Completely offline nodes stay around and they just need in hotadd_init_pgdat()
1498 * and online/offline operations (triggered e.g. by sysfs).
1935 * Don't allow to offline memory blocks that contain holes. in offline_pages()
1978 * Check whether the node will have no present pages after we offline in offline_pages()
[all …]
/linux/arch/arm/mach-mvebu/
H A Dplatsmp-a9.c46 * in the offline state after using CPU hotplug. in mvebu_cortex_a9_boot_secondary()
75 * CPU hotplug is implemented by putting offline CPUs into the in armada_38x_cpu_die()
84 * anything, because CPUs going offline can enter the deep idle state
H A Dplatsmp.c60 * This is needed to wake up CPUs in the offline state after in armada_xp_boot_secondary()
151 * CPU hotplug is implemented by putting offline CPUs into the in armada_xp_cpu_die()
160 * anything, because CPUs going offline can enter the deep idle state
225 * This is needed to wake up CPUs in the offline state after in mv98dx3236_boot_secondary()
/linux/Documentation/admin-guide/cgroup-v1/
H A Dhugetlb.rst125 4. Caveats with HugeTLB cgroup offline.
127 When a HugeTLB cgroup goes offline with some reservations or faults still
131 - the reservation charges remain on the offline HugeTLB cgroup.
139 harder to reparent reservations at offline time.
/linux/Documentation/translations/zh_CN/admin-guide/
H A Dcputopology.rst63 offline: 由于热插拔移除或者超过内核允许的CPU上限(上文描述的kernel_max)
81 offline: 2,4-31,32-63
90 offline: 2,4-127,128-143
/linux/Documentation/translations/zh_TW/admin-guide/
H A Dcputopology.rst63 offline: 由於熱插拔移除或者超過內核允許的CPU上限(上文描述的kernel_max)
81 offline: 2,4-31,32-63
90 offline: 2,4-127,128-143
/linux/Documentation/fault-injection/
H A Dnotifier-error-inject.rst44 Example: Inject memory hotplug offline error (-12 == -ENOMEM)::
48 # echo offline > /sys/devices/system/memory/memoryXXX/state
97 These scripts first do simple online and offline tests and then do fault
/linux/Documentation/arch/s390/
H A Ddriver-model.rst50 An interface to set the device online and offline.
251 possible). This ccwgroup device can be set online or offline just like a normal
255 again (only when offline). This is a generic ccwgroup mechanism (the driver does
279 - Can be 'online' or 'offline'.
280 Piping 'on' or 'off' sets the chpid logically online/offline.
/linux/Documentation/admin-guide/thermal/
H A Dintel_powerclamp.rst51 shown over taking the CPU offline or modulating the CPU clock.
86 migrated, unless the CPU is taken offline. In this case, threads
206 Calibration occurs during runtime. No offline method is available.
221 CPU Online/Offline
226 to other CPUs, after a CPU offline event.
263 On the IVB 8P system, compared to an offline CPU, powerclamp can

12345678910>>...23