Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh44 hotpluggable_memory offline
59 grep -q offline $SYSFS/devices/system/memory/memory$1/state
69 echo offline > $SYSFS/devices/system/memory/memory$1/state
79 echo $FUNCNAME $memory: unexpected offline >&2
101 echo $FUNCNAME $memory: unexpected offline >&2
112 echo $FUNCNAME $memory: unexpected offline >&2
154 echo offline-online $memory
163 echo online-offline $memory
172 echo offline-online $memory
/linux-4.4.14/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
Dsysfs-devices-memory47 online/offline state of the memory section. When written,
48 root can toggle the the online/offline state of a removable
52 # echo offline > /sys/devices/system/memory/memoryX/state
58 by root to offline that section.
59 # echo offline > /sys/devices/system/memory/memory22/state
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-system-cpu13 /sys/devices/system/cpu/offline
25 offline: cpus that are not online because they have been
152 freqdomain_cpus is the list of CPUs (online+offline) that share
Dsysfs-firmware-acpi53 if they cannot be put offline gracefully (from the kernel's
Dsysfs-kernel-slab126 cache, a cpu going offline, or as the result of forcing an
/linux-4.4.14/Documentation/
Dmemory-hotplug.txt15 1.3. Unit of Memory online/offline operation
25 6.1 Memory offline and ZONE_MOVABLE
26 6.2. How to offline memory
80 In this document, this phase is described as online/offline.
89 1.3. Unit of Memory online/offline operation
98 unit upon which memory online/offline operations are to be performed. The
162 at read: contains online/offline state of memory.
164 "online_movable", "online", "offline" command
211 You may have to write it by yourself or online/offline memory by hand.
212 Please see "How to online memory", "How to offline memory" in this text.
[all …]
Dcputopology.txt89 offline: CPUs that are not online because they have been
111 offline: 2,4-31,32-63
118 was manually taken offline (and is the only CPU that can be brought
122 offline: 2,4-127,128-143
Dkernel-per-CPU-kthreads.txt22 writing "0" to offline and "1" to online.
73 the CPU offline, then bring it back online. This forces
75 with multiple CPUs, force them all offline before bringing the
77 do not offline any other CPUs, because doing so could force the
84 be de-jittered. (It is OK to force this CPU offline and then
91 be de-jittered. (It is OK to force this CPU offline and then
98 be de-jittered. (It is OK to force this CPU offline and then
129 CPU offline, then bring it back online. This forces recurring
131 CPUs, force them all offline before bringing the first one
133 offline any other CPUs, because doing so could force the timer
Dcpu-hotplug.txt175 file to logically online/offline a processor.
179 CONFIG_HOTPLUG_CPU enables logical online/offline capability in the kernel.
184 Q: How do i logically offline a CPU?
189 Once the logical offline is successful, check
194 the state as 0 when a cpu if offline and 1 when its online.
218 CPU0 is offline and you need to online CPU0 before hibernate/suspend can
224 seen any poweroff/reboot failure so far after CPU0 is offline on a few tested
435 #ACTION=%s [online or offline]
445 offline)
Dpadata.txt35 it is legal to supply a cpumask to padata that contains offline CPUs.
36 Once an offline CPU in the user supplied cpumask comes online, padata
Dkernel-parameters.txt2591 Suspend/hibernate will fail if CPU0 is offline and you
2597 after CPU0 is offline on a few tested machines.
/linux-4.4.14/drivers/base/
Dcontainer.c27 return cdev->offline ? cdev->offline(cdev) : 0; in container_offline()
34 .offline = container_offline,
Dcpu.c131 .offline = cpu_subsys_offline,
243 cpumask_var_t offline; in print_cpus_offline() local
246 if (!alloc_cpumask_var(&offline, GFP_KERNEL)) in print_cpus_offline()
248 cpumask_andnot(offline, cpu_possible_mask, cpu_online_mask); in print_cpus_offline()
249 n = scnprintf(buf, len, "%*pbl", cpumask_pr_args(offline)); in print_cpus_offline()
250 free_cpumask_var(offline); in print_cpus_offline()
267 static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL);
365 cpu->dev.offline = !cpu_online(num); in register_cpu()
Dcore.c433 val = !dev->offline; in online_show()
1504 return device_supports_offline(dev) && !dev->offline ? -EBUSY : 0; in device_check_offline()
1531 if (dev->offline) { in device_offline()
1534 ret = dev->bus->offline(dev); in device_offline()
1537 dev->offline = true; in device_offline()
1562 if (dev->offline) { in device_online()
1566 dev->offline = false; in device_online()
Dmemory.c48 .offline = memory_subsys_offline,
599 memory->dev.offline = memory->state == MEM_OFFLINE; in register_memory()
/linux-4.4.14/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh33 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`
93 echo $FUNCNAME $cpu: unexpected offline >&2
115 echo $FUNCNAME $cpu: unexpected offline >&2
126 echo $FUNCNAME $cpu: unexpected offline >&2
/linux-4.4.14/Documentation/fault-injection/
Dnotifier-error-inject.txt30 Example1: Inject CPU offline error (-1 == -EPERM)
71 Example: Inject memory hotplug offline error (-12 == -ENOMEM)
75 # echo offline > /sys/devices/system/memory/memoryXXX/state
98 These scripts first do simple online and offline tests and then do fault
/linux-4.4.14/arch/x86/kernel/
Dtopology.c75 dev->offline = true; in _debug_hotplug_cpu()
83 dev->offline = false; in _debug_hotplug_cpu()
/linux-4.4.14/drivers/bus/
Dmips_cdmm.c268 bool offline; member
366 if (bus->offline) { in mips_cdmm_setup()
374 bus->offline = false; in mips_cdmm_setup()
620 bus->offline = true; in BUILD_PERDEV_HELPER()
646 bus->offline = false; in mips_cdmm_bus_up()
/linux-4.4.14/include/linux/
Dcontainer.h19 int (*offline)(struct container_dev *cdev); member
Ddevice.h121 int (*offline)(struct device *dev); member
838 bool offline:1; member
1007 return dev->bus && dev->bus->offline && dev->bus->online; in device_supports_offline()
/linux-4.4.14/Documentation/DocBook/
Ds390-drivers.xml.db17 API-ccw-device-set-offline
54 API-ccwgroup-set-offline
Dlibata.xml.db45 API-ata-link-offline
100 API-ata-phys-link-offline
162 API-ata-scsi-offline-dev
Dgenericirq.xml.db60 API-irq-cpu-offline
/linux-4.4.14/arch/x86/xen/
Dtime.c119 s64 runnable, offline, stolen; in do_stolen_accounting() local
130 offline = state.time[RUNSTATE_offline] - snap->time[RUNSTATE_offline]; in do_stolen_accounting()
136 stolen = runnable + offline + __this_cpu_read(xen_residual_stolen); in do_stolen_accounting()
/linux-4.4.14/Documentation/scsi/
Dscsi_eh.txt338 either offline or ready, scsi_eh_finish_cmd() is invoked for
342 Note that both offline and ready status mean that the sdev is
369 If STU succeeds and the sdev is either offline or ready,
397 scmds on all ready or offline sdevs on the channel are
406 all ready or offline sdevs on the host are EH-finished.
412 Take all sdevs which still have unrecovered scmds offline
430 all failed scmds and either ready for new commands or offline. Also,
482 offline.
Dlpfc.txt42 device would be taken offline. Manual intervention would be required to
Ddpti.txt62 * Add code that checks if a device that had been taken offline is
Dscsi_mid_low_api.txt213 probably cause that device to be set offline by the mid level. An LLD that
907 * will be set offline whenever eh is invoked.
1129 * the device is taken offline. [offline devices will _not_ have
DChangeLog.megaraid195 offline and just become unavailable.
Dst.txt99 If rewind, offline, bsf, or seek is done and previous tape operation was
DChangeLog.lpfc314 moved to offline state and block all the I/Os. The fix for this
/linux-4.4.14/Documentation/power/
Dsuspend-and-cpuhotplug.txt196 In the current design of the kernel, whenever a CPU is taken offline during
220 off during a CPU offline. They are just put to the lowest C-states possible.
223 image during the CPU offline operation.
234 In the current design of the kernel however, during a CPU offline operation
256 sent during the cpu online/offline events (eg, CPU_ONLINE notification
Dstates.txt52 states, which is done for Suspend-To-Idle too, nonboot CPUs are taken offline
Dsuspend-and-interrupts.txt37 devices as well as during the time when nonboot CPUs are taken offline and
/linux-4.4.14/Documentation/s390/
Ddriver-model.txt45 online: An interface to set the device online and offline.
213 possible). This ccwgroup device can be set online or offline just like a normal
217 again (only when offline). This is a generic ccwgroup mechanism (the driver does
240 status - Can be 'online' or 'offline'.
241 Piping 'on' or 'off' sets the chpid logically online/offline.
/linux-4.4.14/drivers/acpi/
Dcontainer.c74 cdev->offline = acpi_container_offline; in container_device_attach()
Dscan.c121 bool offline = true; in acpi_scan_is_offline() local
130 if (device_supports_offline(pn->dev) && !pn->dev->offline) { in acpi_scan_is_offline()
134 offline = false; in acpi_scan_is_offline()
139 return offline; in acpi_scan_is_offline()
/linux-4.4.14/Documentation/thermal/
Dintel_powerclamp.txt47 shown over taking the CPU offline or modulating the CPU clock.
82 migrated, unless the CPU is taken offline. In this case, threads
197 Calibration occurs during runtime. No offline method is available.
217 to other CPUs, after a CPU offline event.
255 On the IVB 8P system, compared to an offline CPU, powerclamp can
/linux-4.4.14/Documentation/RCU/
Dtrace.txt72 CPUs numbers followed by an exclamation mark are offline,
81 which has been offline through 16 RCU grace periods. It is not
82 unusual to see offline CPUs lagging by thousands of grace periods.
123 offline. In a perfect world, this might never happen, but it
128 CPU is offline when it is really alive and kicking) is a fatal
180 this CPU going offline. These orphaned callbacks have been moved
184 CPU due to other CPUs going offline. Note that ci+co-ca+ql is
210 offline.
395 an offline CPU.
467 offline.
Dchecklist.txt354 CPU goes offline while having an RCU callback pending, then that
357 victim CPU from ever going offline.)
Dstallwarn.txt113 period (for example, if it was offline), then this part of the message
/linux-4.4.14/kernel/irq/
DKconfig33 # Support for generic irq migrating off cpu before the cpu is offline.
/linux-4.4.14/Documentation/devicetree/bindings/soc/fsl/
Dbman.txt87 (e.g. number of MAC(s) pinned-out, number of offline/host command FMan ports,
Dqman.txt104 specific board (e.g. number of MAC(s) pinned-out, number of offline/host command
/linux-4.4.14/Documentation/cgroups/
Dmemcg_test.txt173 to offline memory, do following.
174 # echo offline > /sys/devices/system/memory/memoryXXX/state
Dcpusets.txt658 its allowed CPUs or Memory Nodes taken offline.
/linux-4.4.14/drivers/misc/sgi-xp/
Dxpc_uv.c847 xpc_heartbeat_uv->offline = 1; in xpc_offline_heartbeat_uv()
854 xpc_heartbeat_uv->offline = 0; in xpc_online_heartbeat_uv()
861 xpc_heartbeat_uv->offline = 0; in xpc_heartbeat_init_uv()
883 !part_uv->cached_heartbeat.offline) { in xpc_get_remote_heartbeat_uv()
Dxpc.h196 unsigned long offline; /* if 0, heartbeat should be changing */ member
/linux-4.4.14/security/integrity/ima/
DKconfig118 the security extended attributes from offline attack, enable
/linux-4.4.14/drivers/target/
Dtarget_core_alua.c45 struct se_lun *lun, int explicit, int offline);
1293 int offline) in core_alua_set_tg_pt_secondary_state() argument
1311 if (offline) in core_alua_set_tg_pt_secondary_state()
1323 tg_pt_gp->tg_pt_gp_id, (offline) ? "OFFLINE" : "ONLINE"); in core_alua_set_tg_pt_secondary_state()
Dtarget_core_configfs.c2454 ALUA_SUPPORTED_STATE_ATTR(offline, ALUA_O_SUP);
/linux-4.4.14/Documentation/security/
Dkeys-trusted-encrypted.txt128 values, protects against boot and offline attacks. Create and save an
/linux-4.4.14/Documentation/blockdev/
Dcciss.txt171 reset, the device will be set offline.
DREADME.DAC96043 problems with disks being marked offline, for example, please contact Mylex
339 drives are offline or critical or any non-standby physical drives are dead.
/linux-4.4.14/tools/perf/Documentation/
Dperf-probe.txt42 treat it as an offline module (this means you can add a probe on
/linux-4.4.14/Documentation/filesystems/
Dbtrfs.txt32 * Very fast offline filesystem check
Dext4.txt554 either online, or offline. The argument points
Dproc.txt1370 a = it is safe to use when cpu is offline
/linux-4.4.14/drivers/xen/
DKconfig50 [ "`cat "$i"`" = offline ] && echo online > "$i"; done
/linux-4.4.14/kernel/rcu/
Dtree.c3067 int offline; in __call_rcu() local
3073 offline = !__call_rcu_nocb(rdp, head, lazy, flags); in __call_rcu()
3074 WARN_ON_ONCE(offline); in __call_rcu()
/linux-4.4.14/Documentation/hwmon/
Dabituguru-datasheet156 timeouts doesn't help, they just go offline for a second or 2, doing some
/linux-4.4.14/Documentation/device-mapper/
Dthin-provisioning.txt135 until the pool is taken offline and repair is performed to 1) fix any
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_fcs_lport.c89 void (*offline) (struct bfa_fcs_lport_s *port); member
198 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_sm_online()
218 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_sm_online()
679 __port_action[port->fabric->fab_type].offline(port); in bfa_fcs_lport_offline_actions()
/linux-4.4.14/lib/
DKconfig.debug622 Example: Inject memory hotplug offline error (-12 == -ENOMEM)
626 # echo offline > /sys/devices/system/memory/memoryXXX/state
1434 Example: Inject CPU offline error (-1 == -EPERM)
/linux-4.4.14/tools/power/cpupower/po/
Dde.po135 msgid " *is offline\n"
Dit.po135 msgid " *is offline\n"
Dcs.po138 msgid " *is offline\n"
Dfr.po135 msgid " *is offline\n"
Dpt.po133 msgid " *is offline\n"
/linux-4.4.14/Documentation/networking/
Dscaling.txt286 - The current CPU is offline
/linux-4.4.14/Documentation/laptops/
Dlaptop-mode.txt719 # ac on/offline event handler
Dthinkpad-acpi.txt1260 0: PWM offline (fan is set to full-speed mode)
1279 ThinkPads while the EC transitions the PWM to offline mode,
/linux-4.4.14/arch/x86/
DKconfig1978 So hibernate and suspend are prevented if CPU0 is offline.
1981 offline if any interrupt can not migrate out of CPU0. There may
2000 To debug CPU0 hotplug, you need to enable CPU0 offline/online