Home
last modified time | relevance | path

Searched refs:offline (Results 1 – 25 of 135) sorted by relevance

123456

/linux-6.1.9/Documentation/ABI/testing/
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()
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
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
Dsysfs-devices-system-xen_cpu16 Interface to online/offline Xen physical cpus
19 to online/offline physical cpus, except cpu0 due to several
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
Dsysfs-class-remoteproc19 - "offline"
25 "offline" means the remote processor is powered off.
50 return it to the "offline" state.
/linux-6.1.9/drivers/base/
Dcontainer.c24 return cdev->offline ? cdev->offline(cdev) : 0; in container_offline()
31 .offline = container_offline,
Dcpu.c134 .offline = cpu_subsys_offline,
242 cpumask_var_t offline; in print_cpus_offline() local
245 if (!alloc_cpumask_var(&offline, GFP_KERNEL)) in print_cpus_offline()
247 cpumask_andnot(offline, cpu_possible_mask, cpu_online_mask); in print_cpus_offline()
248 len += sysfs_emit_at(buf, len, "%*pbl", cpumask_pr_args(offline)); in print_cpus_offline()
249 free_cpumask_var(offline); in print_cpus_offline()
266 static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL);
369 cpu->dev.offline = !cpu_online(num); in register_cpu()
/linux-6.1.9/tools/testing/selftests/memory-hotplug/
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
/linux-6.1.9/drivers/thunderbolt/
Dusb4_port.c113 return sysfs_emit(buf, "%d\n", usb4->offline); in offline_show()
136 if (val == usb4->offline) in offline_store()
154 usb4->offline = val; in offline_store()
165 static DEVICE_ATTR_RW(offline);
191 if (!usb4->offline) { in rescan_store()
319 return usb4->offline ? usb4_port_offline(usb4) : 0; in usb4_port_device_resume()
/linux-6.1.9/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`
108 echo $FUNCNAME $cpu: unexpected offline >&2
134 echo $FUNCNAME $cpu: unexpected offline >&2
147 echo $FUNCNAME $cpu: unexpected offline >&2
/linux-6.1.9/Documentation/translations/zh_CN/admin-guide/
Dcputopology.rst63 offline: 由于热插拔移除或者超过内核允许的CPU上限(上文描述的kernel_max)
81 offline: 2,4-31,32-63
90 offline: 2,4-127,128-143
/linux-6.1.9/mm/kasan/
Dquarantine.c37 bool offline; member
218 if (q->offline) { in kasan_quarantine_put()
355 if (READ_ONCE(q->offline)) in per_cpu_remove_cache()
409 this_cpu_ptr(&cpu_quarantine)->offline = false; in kasan_cpu_online()
422 WRITE_ONCE(q->offline, true); in kasan_cpu_offline()
/linux-6.1.9/Documentation/admin-guide/
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
Dkernel-per-CPU-kthreads.rst24 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
/linux-6.1.9/Documentation/core-api/
Dcpu_hotplug.rst111 -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 * Resume from hibernate/suspend. Hibernate/suspend will fail if CPU0 is offline.
145 The offline case
184 operations (CPU online or CPU offline) then the other not-required callback
196 after the CPU has become dysfunctional during a CPU offline operation.
221 on the hotplugged CPU during a CPU offline operation shortly before the
236 hotplugged CPU during a CPU offline operation.
245 CPU online/offline operations
[all …]
Dmemory-hotplug.rst34 the memory block that we attempted to offline.
63 - start_pfn is start_pfn of online/offline memory.
64 - nr_pages is # of pages of online/offline memory.
92 - synchronize against online/offline requests (e.g. via sysfs). This way, memory
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dcpu_hotplug.rst112 -r--r--r-- 1 root root 4.0K Dec 21 16:33 offline
117 文件 *offline* 、 *online* 、*possible* 、*present* 代表CPU掩码。每个CPU文件
121 smpboot: CPU 4 is now offline
387 offline 对应ONLINE阶段中不提供startup回调的状态
519 state = cpuhp_setup_state(CPUHP_ONLINE_DYN, "subsys:offline", NULL, subsys_cpu_offline);
650 if [ "${ACTION}" = "offline" ]
652 echo "CPU ${DEVPATH##*/} offline"
/linux-6.1.9/Documentation/fault-injection/
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-6.1.9/drivers/bus/
Dmips_cdmm.c270 bool offline; member
382 if (bus->offline) { in mips_cdmm_setup()
390 bus->offline = false; in mips_cdmm_setup()
635 bus->offline = true; in BUILD_PERDEV_HELPER()
663 bus->offline = false; in mips_cdmm_cpu_online()
/linux-6.1.9/net/sunrpc/
Dsysfs.c172 closing, congested, cwnd_wait, write_space, offline, remove; in rpc_sysfs_xprt_state_show() local
187 offline = test_bit(XPRT_OFFLINE, &xprt->state); in rpc_sysfs_xprt_state_show()
201 offline ? "OFFLINE" : "", in rpc_sysfs_xprt_state_show()
291 int offline = 0, online = 0, remove = 0; in rpc_sysfs_xprt_state_change() local
300 offline = 1; in rpc_sysfs_xprt_state_change()
318 if (offline) { in rpc_sysfs_xprt_state_change()
/linux-6.1.9/Documentation/filesystems/
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-6.1.9/Documentation/admin-guide/mm/
Dmemory-hotplug.rst171 One can explicitly request to associate an offline memory block with
188 If this feature is disabled, the memory blocks will stay offline until
213 DLPAR on ppc64 ignores the ``offline`` setting and will still online added
233 % echo offline > /sys/devices/system/memory/memoryXXX/state
239 If offlining succeeds, the state of the memory block is changed to be "offline".
252 The state (online/offline/going-offline) of a memory block can be observed
345 When writing, ``online``, ``offline``, ``online_kernel`` and
353 When reading, ``online``, ``offline`` and ``going-offline``
357 belongs to; when a block is offline, shows what zone will
367 For offline memory blocks, the first column shows the
[all …]
/linux-6.1.9/include/linux/
Dcontainer.h19 int (*offline)(struct container_dev *cdev); member
/linux-6.1.9/drivers/staging/fieldbus/Documentation/ABI/
Dsysfs-class-fieldbus-dev44 Whether the fieldbus is online or offline.
47 '0' meaning 'offline'

123456