| /kernel/linux/linux-6.6/include/net/ |
| D | netdev_queues.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * DOC: Lockless queue stopping / waking helpers. 12 * and waking netdev queues without full lock protection. 15 * wake attempts. The try-stop should happen from the xmit handler, 16 * while wake up should be triggered from NAPI poll context. 19 * The try-stop side is expected to run from the xmit handler and therefore 23 * The waking side does not have similar context restrictions. 51 _res = -1; \ 57 * netif_txq_maybe_stop() - locklessly stop a Tx queue, if needed 62 * @start_thrs: minimal number of descriptors to re-enable the queue, can be [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/direct/ |
| D | kprobe-direct.tc | 2 # SPDX-License-Identifier: GPL-2.0 6 rmmod ftrace-direct ||: 7 if ! modprobe ftrace-direct ; then 8 echo "No ftrace-direct sample module - please build with CONFIG_SAMPLE_FTRACE_DIRECT=m" 15 grep -q "my_direct_func: waking up" trace 17 rmmod ftrace-direct 23 modprobe ftrace-direct 25 grep -q "my_direct_func: waking up" trace 29 rmmod ftrace-direct 36 grep -q "kwake:" trace [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/direct/ |
| D | kprobe-direct.tc | 2 # SPDX-License-Identifier: GPL-2.0 6 rmmod ftrace-direct ||: 7 if ! modprobe ftrace-direct ; then 8 echo "No ftrace-direct sample module - please build with CONFIG_SAMPLE_FTRACE_DIRECT=m" 15 grep -q "my_direct_func: waking up" trace 17 rmmod ftrace-direct 23 modprobe ftrace-direct 25 grep -q "my_direct_func: waking up" trace 29 rmmod ftrace-direct 36 grep -q "kwake:" trace [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | intel_breadcrumbs_types.h | 1 /* SPDX-License-Identifier: MIT */ 16 * with the herd waking after every interrupt and each doing the 18 * bottom-half of the user interrupt) to the first client. After 19 * every interrupt, we wake up one client, who does the heavyweight 21 * or wakes up all the completed clients in parallel, before then 22 * transferring the bottom-half status to the next client in the queue. 25 * bottom-half, we reduce the latency of the first waiter by avoiding 29 * the overhead of waking that client is much preferred.
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| D | intel_breadcrumbs_types.h | 1 /* SPDX-License-Identifier: MIT */ 19 * with the herd waking after every interrupt and each doing the 21 * bottom-half of the user interrupt) to the first client. After 22 * every interrupt, we wake up one client, who does the heavyweight 24 * or wakes up all the completed clients in parallel, before then 25 * transferring the bottom-half status to the next client in the queue. 28 * bottom-half, we reduce the latency of the first waiter by avoiding 32 * the overhead of waking that client is much preferred.
|
| /kernel/linux/linux-5.10/tools/perf/bench/ |
| D | futex-wake-parallel.c | 1 // SPDX-License-Identifier: GPL-2.0 27 #include <subcmd/parse-options.h> 47 /* all threads will block on the same futex -- hash bucket chaos ;) */ 62 OPT_UINTEGER('w', "nwakers", &nwaking_threads, "Specify amount of waking threads"), 69 "perf bench futex wake-parallel <options>", 82 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 83 if (waker->nwoken != nwakes) in waking_workerfn() 85 waker->nwoken, nwakes); in waking_workerfn() 88 timersub(&end, &start, &waker->runtime); in waking_workerfn() 105 * Thread creation order will impact per-thread latency in wakeup_threads() [all …]
|
| D | futex-wake.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * futex-wake: Block a bunch of threads on a futex and wake'em up, N at a time. 8 * in non-error situations: all waiters are queued and all wake calls wakeup 18 #include <subcmd/parse-options.h> 65 threads_starting--; in workerfn() 86 printf("Wokeup %d of %d threads in %.4f ms (+-%.2f%%)\n", in print_summary() 104 CPU_SET(cpu->map[i % cpu->nr], &cpuset); in block_threads() 145 nthreads = cpu->nr; in bench_futex_wake() 155 "waking up %d at a time.\n\n", in bench_futex_wake() 181 /* Ok, all threads are patiently blocked, start waking folks up */ in bench_futex_wake()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | fsl-tsec-phy.txt | 5 the definition of the PHY node in booting-without-of.txt for an example 9 - reg : Offset and length of the register set for the device, and optionally 14 - compatible : Should define the compatible device type for the 16 - "fsl,gianfar-tbi" 17 - "fsl,gianfar-mdio" 18 - "fsl,etsec2-tbi" 19 - "fsl,etsec2-mdio" 20 - "fsl,ucc-mdio" 21 - "fsl,fman-mdio" 23 - "gianfar" [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | fsl-tsec-phy.txt | 5 the definition of the PHY node in booting-without-of.txt for an example 9 - reg : Offset and length of the register set for the device, and optionally 14 - compatible : Should define the compatible device type for the 16 - "fsl,gianfar-tbi" 17 - "fsl,gianfar-mdio" 18 - "fsl,etsec2-tbi" 19 - "fsl,etsec2-mdio" 20 - "fsl,ucc-mdio" 21 - "fsl,fman-mdio" 23 - "gianfar" [all …]
|
| /kernel/linux/linux-5.10/include/linux/sched/ |
| D | sd_flags.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sched-domains (multiprocessor balancing) flag declarations. 48 * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level. 56 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level. 64 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level. 72 * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level. 78 * Consider waking task on waking CPU. 80 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level. 89 * NEEDS_GROUPS: Per-CPU capacity is asymmetric between groups. 96 * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer share [all …]
|
| /kernel/linux/linux-6.6/include/linux/sched/ |
| D | sd_flags.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sched-domains (multiprocessor balancing) flag declarations. 48 * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level. 56 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level. 64 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level. 72 * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level. 78 * Consider waking task on waking CPU. 80 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level. 89 * NEEDS_GROUPS: Per-CPU capacity is asymmetric between groups. 99 * NEEDS_GROUPS: Per-CPU capacity is asymmetric between groups. [all …]
|
| /kernel/linux/linux-6.6/tools/perf/bench/ |
| D | futex-wake-parallel.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #include <subcmd/parse-options.h> 48 /* all threads will block on the same futex -- hash bucket chaos ;) */ 64 OPT_UINTEGER('w', "nwakers", ¶ms.nwakes, "Specify amount of waking threads"), 73 "perf bench futex wake-parallel <options>", 86 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 87 if (waker->nwoken != nwakes) in waking_workerfn() 89 waker->nwoken, nwakes); in waking_workerfn() 92 timersub(&end, &start, &waker->runtime); in waking_workerfn() 111 * Thread creation order will impact per-thread latency in wakeup_threads() [all …]
|
| D | futex-wake.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * futex-wake: Block a bunch of threads on a futex and wake'em up, N at a time. 8 * in non-error situations: all waiters are queued and all wake calls wakeup 19 #include <subcmd/parse-options.h> 70 threads_starting--; in workerfn() 91 printf("Wokeup %d of %d threads in %.4f ms (+-%.2f%%)\n", in print_summary() 177 "waking up %d at a time.\n\n", in bench_futex_wake() 203 /* Ok, all threads are patiently blocked, start waking folks up */ in bench_futex_wake()
|
| /kernel/linux/linux-6.6/drivers/powercap/ |
| D | idle_inject.c | 1 // SPDX-License-Identifier: GPL-2.0 25 * After all of them have been woken up, a timer is set to start the next idle 28 * The timer interrupt handler will wake up the idle injection kthreads for 34 * It is up to the user of this framework to provide a lock for higher-level 51 * struct idle_inject_thread - task on/off switch structure 61 * struct idle_inject_device - idle injection data 78 * update() - This callback is invoked just before waking up CPUs to inject 79 * idle. If it returns false, CPUs are not woken up to inject idle in the given 96 * idle_inject_wakeup - Wake up idle injection threads 100 * and running on an online CPU will be woken up. [all …]
|
| /kernel/linux/linux-6.6/rust/kernel/sync/ |
| D | condvar.rs | 1 // SPDX-License-Identifier: GPL-2.0 13 /// Creates a [`CondVar`] initialiser with the given name and a newly-created lock class. 24 /// atomically release the given lock and go to sleep. It reacquires the lock when it wakes up. And 25 /// it wakes up when notified by another thread (via [`CondVar::notify_one`] or 26 /// [`CondVar::notify_all`]) or because the thread received a signal. It may also wake up 64 /// fn new_example() -> Result<Pin<Box<Example>>> { 66 /// value <- new_mutex!(0), 67 /// value_changed <- new_condvar!(), 79 /// self-referential, so it cannot be safely moved once it is initialised. 95 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new() [all …]
|
| /kernel/linux/linux-6.6/Documentation/locking/ |
| D | futex-requeue-pi.rst | 5 Requeueing of tasks from a non-PI futex to a PI futex requires 8 boosting logic [see rt-mutex-design.rst] For the purposes of 14 ---------- 17 pthread_cond_broadcast() must resort to waking all the tasks waiting 19 gets to run first in classic thundering-herd formation. An ideal 20 implementation would wake the highest-priority waiter, and leave the 29 lock(cond->__data.__lock); 32 unlock(cond->__data.__lock); 33 futex_wait(cond->__data.__futex); 34 lock(cond->__data.__lock); [all …]
|
| /kernel/linux/linux-5.10/Documentation/locking/ |
| D | futex-requeue-pi.rst | 5 Requeueing of tasks from a non-PI futex to a PI futex requires 8 boosting logic [see rt-mutex-desgin.txt] For the purposes of 14 ---------- 17 pthread_cond_broadcast() must resort to waking all the tasks waiting 19 gets to run first in classic thundering-herd formation. An ideal 20 implementation would wake the highest-priority waiter, and leave the 29 lock(cond->__data.__lock); 32 unlock(cond->__data.__lock); 33 futex_wait(cond->__data.__futex); 34 lock(cond->__data.__lock); [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/ |
| D | egalax-ts.txt | 4 - compatible: must be "eeti,egalax_ts" 5 - reg: i2c slave address 6 - interrupts: touch controller interrupt 7 - wakeup-gpios: the gpio pin to be used for waking up the controller 15 interrupt-parent = <&gpio1>; 17 wakeup-gpios = <&gpio1 9 0>;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/ |
| D | egalax-ts.txt | 4 - compatible: must be "eeti,egalax_ts" 5 - reg: i2c slave address 6 - interrupts: touch controller interrupt 7 - wakeup-gpios: the gpio pin to be used for waking up the controller 15 interrupt-parent = <&gpio1>; 17 wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
| D | pci.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 31 * PCI-specific Target state 36 * HOST_INTEREST->hi_interconnect_state points here 37 * (and all members are 32-bit quantities in order to 79 /* Per-pipe state. */ 130 * bootup. To do that the original PCI-E Link Control is stored before 131 * device bootup is executed and re-programmed later. 138 /* The device has a special powersave-oriented register. When device is [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
| D | pci.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 32 * PCI-specific Target state 37 * HOST_INTEREST->hi_interconnect_state points here 38 * (and all members are 32-bit quantities in order to 80 /* Per-pipe state. */ 131 * bootup. To do that the original PCI-E Link Control is stored before 132 * device bootup is executed and re-programmed later. 139 /* The device has a special powersave-oriented register. When device is [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-driver-intel-rapid-start | 1 What: /sys/bus/acpi/intel-rapid-start/wakeup_events 15 What: /sys/bus/acpi/intel-rapid-start/wakeup_time 20 remain asleep before waking up to enter hibernation.
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-driver-intel-rapid-start | 1 What: /sys/bus/acpi/intel-rapid-start/wakeup_events 15 What: /sys/bus/acpi/intel-rapid-start/wakeup_time 20 remain asleep before waking up to enter hibernation.
|
| /kernel/linux/linux-5.10/samples/ftrace/ |
| D | ftrace-direct.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 trace_printk("waking up %s-%d\n", p->comm, p->pid); in my_direct_func() 28 " .size my_tramp, .-my_tramp\n"
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | samsung,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 12 - Tomasz Figa <tomasz.figa@gmail.com> 22 - External GPIO interrupts (see interrupts property in pin controller node); 24 - External wake-up interrupts - multiplexed (capable of waking up the system 25 see interrupts property in external wake-up interrupt controller node - 26 samsung,pinctrl-wakeup-interrupt.yaml); [all …]
|