Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/base/
H A Dcontainer.c24 return cdev->offline ? cdev->offline(cdev) : 0; in container_offline()
31 .offline = container_offline,
H A Dcpu.c134 .offline = cpu_subsys_offline,
270 /* arch-optional setting to enable display of offline cpus >= nr_cpu_ids */
277 cpumask_var_t offline; in print_cpus_offline() local
279 /* display offline cpus < nr_cpu_ids */ in print_cpus_offline()
280 if (!alloc_cpumask_var(&offline, GFP_KERNEL)) in print_cpus_offline()
282 cpumask_andnot(offline, cpu_possible_mask, cpu_online_mask); in print_cpus_offline()
283 len += sysfs_emit_at(buf, len, "%*pbl", cpumask_pr_args(offline)); in print_cpus_offline()
284 free_cpumask_var(offline); in print_cpus_offline()
286 /* display offline cpus >= nr_cpu_ids */ in print_cpus_offline()
301 static DEVICE_ATTR(offline, 044 in print_cpus_offline()
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dcontainer.c24 return cdev->offline ? cdev->offline(cdev) : 0; in container_offline()
31 .offline = container_offline,
H A Dcpu.c278 /* 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
[all...]
/kernel/linux/linux-5.10/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
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 stat
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A 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()
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/linux-5.10/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh31 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 t
[all...]
/kernel/linux/linux-5.10/mm/kasan/
H A Dquarantine.c47 bool offline; member
193 if (q->offline) { in quarantine_put()
303 * Ensure the ordering between the writing to q->offline and in per_cpu_remove_cache()
307 if (READ_ONCE(q->offline)) in per_cpu_remove_cache()
347 this_cpu_ptr(&cpu_quarantine)->offline = false; in kasan_cpu_online()
356 /* Ensure the ordering between the writing to q->offline and in kasan_cpu_offline()
360 WRITE_ONCE(q->offline, true); in kasan_cpu_offline()
/kernel/linux/linux-6.6/mm/kasan/
H A Dquarantine.c37 bool offline; member
216 if (q->offline) { in kasan_quarantine_put()
338 * Ensure the ordering between the writing to q->offline and in per_cpu_remove_cache()
342 if (READ_ONCE(q->offline)) in per_cpu_remove_cache()
391 this_cpu_ptr(&cpu_quarantine)->offline = false; in kasan_cpu_online()
400 /* Ensure the ordering between the writing to q->offline and in kasan_cpu_offline()
404 WRITE_ONCE(q->offline, true); in kasan_cpu_offline()
/kernel/linux/linux-5.10/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 mips_cdmm_cpu_down_prep()
635 bus->offline = true; in mips_cdmm_cpu_down_prep()
662 /* Bus now set up, so we can drop the offline fla in mips_cdmm_cpu_online()
[all...]
/kernel/linux/linux-6.6/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 mips_cdmm_cpu_down_prep()
635 bus->offline = true; in mips_cdmm_cpu_down_prep()
662 /* Bus now set up, so we can drop the offline fla in mips_cdmm_cpu_online()
[all...]
/kernel/linux/linux-6.6/net/sunrpc/
H A 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()
292 int offline = 0, online = 0, remove = 0; in rpc_sysfs_xprt_state_change() local
300 if (!strncmp(buf, "offline", 7)) in rpc_sysfs_xprt_state_change()
301 offline = 1; in rpc_sysfs_xprt_state_change()
319 if (offline) { in rpc_sysfs_xprt_state_change()
H A Dxprtmultipath.c65 struct rpc_xprt *xprt, bool offline) in xprt_switch_remove_xprt_locked()
69 if (!test_bit(XPRT_OFFLINE, &xprt->state) && offline) in xprt_switch_remove_xprt_locked()
82 * @offline: indicates if the xprt that's being removed is in an offline state
87 struct rpc_xprt *xprt, bool offline) in rpc_xprt_switch_remove_xprt()
90 xprt_switch_remove_xprt_locked(xps, xprt, offline); in rpc_xprt_switch_remove_xprt()
383 * active, for request to return offline transports in xprt_switch_find_next_entry()
384 * return only offline in xprt_switch_find_next_entry()
64 xprt_switch_remove_xprt_locked(struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, bool offline) xprt_switch_remove_xprt_locked() argument
86 rpc_xprt_switch_remove_xprt(struct rpc_xprt_switch *xps, struct rpc_xprt *xprt, bool offline) rpc_xprt_switch_remove_xprt() argument
/kernel/linux/linux-5.10/include/linux/
H A Dcontainer.h19 int (*offline)(struct container_dev *cdev); member
/kernel/linux/linux-6.6/include/linux/
H A Dcontainer.h19 int (*offline)(struct container_dev *cdev); member
/kernel/linux/linux-5.10/drivers/acpi/
H A Dcontainer.c58 cdev->offline = acpi_container_offline; in container_device_attach()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.h63 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.
/kernel/linux/linux-6.6/drivers/acpi/
H A Dcontainer.c59 cdev->offline = acpi_container_offline; in container_device_attach()
/kernel/linux/linux-6.6/include/linux/sunrpc/
H A Dxprtmultipath.h58 struct rpc_xprt *xprt, bool offline);
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.h63 bool offline,
83 * @brief Update the offline frame information in host_sp_communication.
85 * @param[in] frame_num The offline frame number.
86 * @param[in] frame The pointer to the offline frame.
125 * @brief Update the nr of offline frames to use in host_sp_communication.
/kernel/linux/linux-5.10/include/linux/device/
H A Dbus.h54 * @offline: Called to put the device offline for hot-removal. May fail.
98 int (*offline)(struct device *dev); member
/kernel/linux/linux-6.6/include/linux/device/
H A Dbus.h53 * @offline: Called to put the device offline for hot-removal. May fail.
95 int (*offline)(struct device *dev); member
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dccwgroup.c82 * This function attempts to put the ccwgroup device into the offline state.
97 goto offline; in ccwgroup_set_offline()
104 offline: in ccwgroup_set_offline()
174 /* Prevent concurrent online/offline processing and ungrouping. */ in ccwgroup_ungroup_store()
528 * group device. It sets the ccw device offline and also deregisters the

Completed in 12 milliseconds

123