Searched refs:offline (Results 1 - 25 of 45) sorted by relevance

12

/linux-master/drivers/base/
H A Dcontainer.c24 return cdev->offline ? cdev->offline(cdev) : 0;
31 .offline = container_offline,
H A Dcpu.c243 /* arch-optional setting to enable display of offline cpus >= nr_cpu_ids */
250 cpumask_var_t offline; local
252 /* display offline cpus < nr_cpu_ids */
253 if (!alloc_cpumask_var(&offline, GFP_KERNEL))
255 cpumask_andnot(offline, cpu_possible_mask, cpu_online_mask);
256 len += sysfs_emit_at(buf, len, "%*pbl", cpumask_pr_args(offline));
257 free_cpumask_var(offline);
259 /* display offline cpus >= nr_cpu_ids */
274 static DEVICE_ATTR(offline, 0444, print_cpus_offline, NULL);
375 .offline
[all...]
H A Dmemory.c32 [MMOP_OFFLINE] = "offline",
75 .offline = memory_subsys_offline,
139 * online, offline, going offline, etc.
156 output = "offline";
159 output = "going-offline";
346 /* The device lock serializes operations on memory_subsys_[online|offline] */
590 /* Soft offline a page */
606 /* Forcibly offline a page, including killing processes. */
687 memory->dev.offline
[all...]
/linux-master/include/linux/
H A Dcontainer.h19 int (*offline)(struct container_dev *cdev); member in struct:container_dev
/linux-master/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 t
[all...]
/linux-master/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 stat
[all...]
/linux-master/drivers/thunderbolt/
H A Dusb4_port.c113 return sysfs_emit(buf, "%d\n", usb4->offline);
136 if (val == usb4->offline)
154 usb4->offline = val;
155 tb_port_dbg(port, "%s offline mode\n", val ? "enter" : "exit");
165 static DEVICE_ATTR_RW(offline);
190 /* Must be in offline mode already */
191 if (!usb4->offline) {
322 return usb4->offline ? usb4_port_offline(usb4) : 0;
/linux-master/include/linux/sunrpc/
H A Dxprtmultipath.h58 struct rpc_xprt *xprt, bool offline);
/linux-master/mm/kasan/
H A Dquarantine.c39 bool offline; member in struct:qlist_head
210 if (q->offline) {
332 * Ensure the ordering between the writing to q->offline and
336 if (READ_ONCE(q->offline))
385 this_cpu_ptr(&cpu_quarantine)->offline = false;
394 /* Ensure the ordering between the writing to q->offline and
398 WRITE_ONCE(q->offline, true);
/linux-master/drivers/acpi/
H A Dcontainer.c59 cdev->offline = acpi_container_offline;
H A Dscan.c112 bool offline = true; local
113 char *envp[] = { "EVENT=offline", NULL };
122 if (device_supports_offline(pn->dev) && !pn->dev->offline) {
126 offline = false;
131 return offline;
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.h61 bool offline,
81 * @brief Update the offline frame information in host_sp_communication.
83 * @param[in] frame_num The offline frame number.
84 * @param[in] frame The pointer to the offline frame.
123 * @brief Update the nr of offline frames to use in host_sp_communication.
/linux-master/drivers/bus/
H A Dmips_cdmm.c260 * @offline: Whether the CDMM bus is going offline (or very early
270 bool offline; member in struct:mips_cdmm_bus
381 /* Don't set up bus a second time unless marked offline */
382 if (bus->offline) {
390 bus->offline = false;
588 * event (such as the CPU going online/offline).
630 * While bus is offline, each use of it should reconfigure it just in
635 bus->offline = true;
662 /* Bus now set up, so we can drop the offline fla
[all...]
/linux-master/net/sunrpc/
H A Dsysfs.c172 closing, congested, cwnd_wait, write_space, offline, remove; local
187 offline = test_bit(XPRT_OFFLINE, &xprt->state);
201 offline ? "OFFLINE" : "",
292 int offline = 0, online = 0, remove = 0; local
300 if (!strncmp(buf, "offline", 7))
301 offline = 1;
319 if (offline) {
H A Dxprtmultipath.c65 struct rpc_xprt *xprt, bool offline)
69 if (!test_bit(XPRT_OFFLINE, &xprt->state) && offline)
82 * @offline: indicates if the xprt that's being removed is in an offline state
87 struct rpc_xprt *xprt, bool offline)
90 xprt_switch_remove_xprt_locked(xps, xprt, offline);
383 * active, for request to return offline transports
384 * return only offline
64 xprt_switch_remove_xprt_locked(struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, bool offline) argument
86 rpc_xprt_switch_remove_xprt(struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, bool offline) argument
/linux-master/arch/x86/kernel/cpu/microcode/
H A Dcore.c540 unsigned int nr_offl, offline = 0; local
573 case UCODE_OFFLINE: offline++; break;
587 if (offline < nr_offl) {
588 pr_warn("%u offline siblings did not respond.\n",
634 * which contains "offline"; secondary threads, so they can be handled
653 * while the offline CPU sits there is not necessarily safe
/linux-master/include/linux/device/
H A Dbus.h53 * @offline: Called to put the device offline for hot-removal. May fail.
92 int (*offline)(struct device *dev); member in struct:bus_type
/linux-master/drivers/s390/cio/
H A Dccwgroup.c82 * This function attempts to put the ccwgroup device into the offline state.
97 goto offline;
104 offline:
174 /* Prevent concurrent online/offline processing and ungrouping. */
528 * group device. It sets the ccw device offline and also deregisters the
/linux-master/drivers/cpufreq/
H A Dcpufreq-dt.c184 .offline = cpufreq_offline,
H A Dcpufreq.c1439 * offline and drop it.
1451 * managing offline cpus here.
1601 if (cpufreq_driver->offline)
1602 cpufreq_driver->offline(policy);
1677 * Perform the ->offline() during light-weight tear-down, as
1680 if (cpufreq_driver->offline) {
1681 cpufreq_driver->offline(policy);
1743 if (cpufreq_driver->offline)
2895 (!driver_data->online != !driver_data->offline) ||
2901 /* Protect against concurrent CPU online/offline
[all...]
/linux-master/include/trace/events/
H A Dmmflags.h139 DEF_PAGETYPE_NAME(offline), \
/linux-master/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c216 if (online && mem_block->dev.offline)
218 else if (!online && !mem_block->dev.offline)
/linux-master/drivers/misc/sgi-xp/
H A Dxpc_uv.c766 xpc_heartbeat_uv->offline = 1;
773 xpc_heartbeat_uv->offline = 0;
780 xpc_heartbeat_uv->offline = 0;
802 !part_uv->cached_heartbeat.offline) {
H A Dxpc.h119 unsigned long offline; /* if 0, heartbeat should be changing */ member in struct:xpc_heartbeat_uv
/linux-master/drivers/target/
H A Dtarget_core_alua.c35 struct se_lun *lun, int explicit, int offline);
664 pr_debug("ALUA: Got secondary offline status for local"
1218 int offline)
1236 if (offline)
1248 tg_pt_gp->tg_pt_gp_id, (offline) ? "OFFLINE" : "ONLINE");
1215 core_alua_set_tg_pt_secondary_state( struct se_lun *lun, int explicit, int offline) argument

Completed in 330 milliseconds

12