Home
last modified time | relevance | path

Searched full:threaded (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/linux-6.8/tools/perf/bench/
Dsynthesize.c32 OPT_BOOLEAN('s', "st", &run_st, "Run single threaded benchmark"),
33 OPT_BOOLEAN('t', "mt", &run_mt, "Run multi-threaded benchmark"),
39 "Number of iterations used to compute single-threaded average"),
41 "Number of iterations used to compute multi-threaded average"),
133 "Computing performance of single threaded perf event synthesis by\n" in run_single_threaded()
216 "Computing performance of multi threaded perf event synthesis by\n" in run_multi_threaded()
249 * If neither single threaded or multi-threaded are specified, default in bench_synthesize()
250 * to running just single threaded. in bench_synthesize()
Dsched-pipe.c45 static bool threaded; variable
85 OPT_BOOLEAN('T', "threaded", &threaded, "Specify threads/process based task setup"),
115 if (threaded) in enter_cgroup()
124 if (threaded) in enter_cgroup()
236 if (threaded) { in bench_sched_pipe()
277 loops, threaded ? "threads" : "processes"); in bench_sched_pipe()
/linux-6.8/drivers/firmware/tegra/
Dbpmp.c230 clear_bit(index, bpmp->threaded.allocated); in tegra_bpmp_channel_read()
234 up(&bpmp->threaded.lock); in tegra_bpmp_channel_read()
263 err = down_timeout(&bpmp->threaded.lock, usecs_to_jiffies(timeout)); in tegra_bpmp_write_threaded()
269 index = find_first_zero_bit(bpmp->threaded.allocated, count); in tegra_bpmp_write_threaded()
282 set_bit(index, bpmp->threaded.allocated); in tegra_bpmp_write_threaded()
289 set_bit(index, bpmp->threaded.busy); in tegra_bpmp_write_threaded()
295 clear_bit(index, bpmp->threaded.allocated); in tegra_bpmp_write_threaded()
298 up(&bpmp->threaded.lock); in tegra_bpmp_write_threaded()
684 busy = bpmp->threaded.busy; in tegra_bpmp_handle_rx()
725 bpmp->threaded.count = bpmp->soc->channels.thread.count; in tegra_bpmp_probe()
[all …]
Dbpmp-tegra186.c176 for (i = 0; i < bpmp->threaded.count; i++) { in tegra186_bpmp_teardown_channels()
298 for (i = 0; i < bpmp->threaded.count; i++) { in tegra186_bpmp_setup_channels()
321 for (i = 0; i < bpmp->threaded.count; i++) in tegra186_bpmp_reset_channels()
/linux-6.8/kernel/irq/
Dspurious.c218 printk(KERN_CONT " threaded [<%p>] %ps", in __report_bad_irq()
286 * We cannot call note_interrupt from the threaded handler in note_interrupt()
288 * (primary and threaded). Aside of that in the threaded in note_interrupt()
290 * hardware interrupt while we are dealing with a threaded in note_interrupt()
296 * The threaded handlers store whether they successfully in note_interrupt()
301 * mechanism, but for the non forced threaded case we'd just in note_interrupt()
327 * Check whether one of the threaded handlers in note_interrupt()
353 * None of the threaded handlers felt in note_interrupt()
367 * threaded handlers on the same line. Clear in note_interrupt()
Dmanage.c83 * will deadlock. It does not take associated threaded handlers
87 * that all parts (hardirq and threaded handler) have completed.
89 * Returns: false if a threaded handler is active.
116 * threaded handlers are active. in __synchronize_irq()
756 * Returns: false if a threaded handler is active.
1027 * Default primary interrupt handler for threaded interrupts. Is
1037 * Primary handler for nested threaded interrupts. Should never be
1078 * Oneshot interrupts keep the irq line masked until the threaded
1179 * Interrupts which are not explicitly requested as threaded
1204 * Interrupts explicitly requested as threaded interrupts want to be
[all …]
/linux-6.8/tools/memory-model/Documentation/
Dsimple.txt22 Single-threaded code
25 In single-threaded code, there is no reordering, at least assuming
28 threaded context as the kernel can enter the same code path on multiple
38 this lock at a given time, your code will be executed single-threaded.
61 Despite the scalability limitations of single-threaded code, RCU
64 single-threaded grace-period processing is use of batching, where all
75 being completely single-threaded, it is often possible to use library
89 With code locking, we use single-threaded code execution to guarantee
93 in the code execution that will execute as though it is single threaded.
114 a single-threaded approach while providing excellent performance and
/linux-6.8/tools/testing/selftests/cgroup/
Dtest_core.c266 * A (domain threaded) - B (threaded) - C (domain)
269 * threaded cgroup. "cgroup.type" file will report "domain (invalid)" in
293 if (cg_write(parent, "cgroup.type", "threaded")) in test_cgcore_invalid_domain()
332 * Test that when a child becomes threaded
333 * the parent type becomes domain threaded.
351 if (cg_write(child, "cgroup.type", "threaded")) in test_cgcore_parent_becomes_threaded()
354 if (cg_read_strcmp(parent, "cgroup.type", "domain threaded\n")) in test_cgcore_parent_becomes_threaded()
371 * Test that there's no internal process constrain on threaded cgroups.
396 if (cg_write(parent, "cgroup.type", "threaded")) in test_cgcore_no_internal_process_constraint_on_threads()
399 if (cg_write(child, "cgroup.type", "threaded")) in test_cgcore_no_internal_process_constraint_on_threads()
[all …]
/linux-6.8/scripts/coccinelle/misc/
Dirqf_oneshot.cocci2 /// Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
3 /// threaded IRQs without a primary handler need to be requested with
106 msg = "WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is n…
112 msg = "WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is n…
/linux-6.8/Documentation/admin-guide/
Dcgroup-v2.rst309 Controllers which support thread mode are called threaded controllers.
312 Marking a cgroup threaded makes it join the resource domain of its
313 parent as a threaded cgroup. The parent may be another threaded
315 of a threaded subtree, that is, the nearest ancestor which is not
316 threaded, is called threaded domain or thread root interchangeably and
319 Inside a threaded subtree, threads of a process can be put in
321 constraint - threaded controllers can be enabled on non-leaf cgroups
324 As the threaded domain cgroup hosts all the domain resource
327 can't have populated child cgroups which aren't threaded. Because the
329 serve both as a threaded domain and a parent to domain cgroups.
[all …]
/linux-6.8/include/linux/
Dcgroup-defs.h229 * For a domain cgroup, the following points to self. If threaded,
265 /* all threaded csets whose ->dom_cset points to this cset */
444 int nr_threaded_children; /* # of live threaded child cgroups */
486 * If !threaded, self. If threaded, it points to the nearest
487 * domain ancestor. Inside a threaded subtree, cgroups are exempt
493 struct cgroup *old_dom_cgrp; /* used while enabling threaded */
729 * If %true, the controller, supports threaded mode on the default
730 * hierarchy. In a threaded subtree, both process granularity and
731 * no-internal-process constraint are ignored and a threaded
736 * threaded. implicit && !threaded is not supported.
[all …]
Dinterrupt.h52 * Used by threaded interrupts which need to keep the
53 * irq line disabled until the threaded handler has been run.
58 * IRQF_NO_THREAD - Interrupt cannot be threaded
93 * IRQC_IS_NESTED - interrupt runs in a nested threaded context
111 * @thread_fn: interrupt handler function for threaded interrupts
112 * @thread: thread pointer for threaded interrupts
155 * Primary handler for threaded interrupts
543 frequency threaded job scheduling. For almost all the purposes
621 This API is deprecated. Please consider using threaded IRQs instead:
Dirqdesc.h34 * @threads_handled: stats field for deferred spurious detection of threaded handlers
35 * @threads_handled_last: comparator field for deferred spurious detection of threaded handlers
42 * @wait_for_threads: wait queue for sync_irq to wait for threaded handlers
/linux-6.8/Documentation/PCI/
Dboot-interrupts.rst56 irq_default_primary_handler threaded usb_hcd_irq
63 The use of threaded interrupts is the most likely condition to trigger
64 this problem today. Threaded interrupts may not be re-enabled after the IRQ
65 handler wakes. These "one shot" conditions mean that the threaded interrupt
66 needs to keep the interrupt line masked until the threaded handler has run.
/linux-6.8/Documentation/networking/
Dnapi.rst19 but there is an option to use :ref:`separate kernel threads<threaded>`
148 to be threaded so the interrupt may need to be marked ``IRQF_NO_THREAD``
235 Threaded NAPI
238 Threaded NAPI is an operating mode that uses dedicated kernel
250 Threaded NAPI is controlled by writing 0/1 to the ``threaded`` file in
/linux-6.8/Documentation/usb/
Ddwc3.rst34 - threaded handler of the device
45 - threaded handler of the EP-interrupt
/linux-6.8/include/acpi/platform/
Dacenv.h35 /* Common application configuration. All single threaded except for acpi_exec. */
298 * Use single threaded if the entire subsystem is contained in an application
299 * Use multiple threaded when the subsystem is running in the kernel.
301 * By default the model is single threaded if ACPI_APPLICATION is set,
302 * multi-threaded if ACPI_APPLICATION is not set.
/linux-6.8/Documentation/ABI/testing/
Dsysfs-class-net341 What: /sys/class/net/<iface>/threaded
346 Boolean value to control the threaded mode per device. User could
347 set this value to enable/disable threaded mode for all napi
352 0 threaded mode disabled for this dev
353 1 threaded mode enabled for this dev
/linux-6.8/drivers/pci/hotplug/
DTODO12 hardirq handler cpqhp_ctrl_intr(). Convert this to threaded IRQ handling.
62 simplified by converting it to threaded IRQ handling. Use pciehp as a
/linux-6.8/drivers/base/power/
Dwakeirq.c117 * use a threaded IRQ.
171 * so we use a threaded irq. in __dev_pm_set_dedicated_wake_irq()
205 * Sets up a threaded interrupt handler for a device that has
224 * Sets up a threaded interrupt handler for a device that has a dedicated
/linux-6.8/fs/squashfs/
DKconfig91 If in doubt, select "Single threaded compression"
94 bool "Single threaded compression"
97 Traditionally Squashfs has used single-threaded decompression.
/linux-6.8/drivers/net/wireless/mediatek/mt76/
Ddebugfs.c36 if (dev->napi_dev.threaded != val) in mt76_napi_threaded_set()
47 *val = dev->napi_dev.threaded; in mt76_napi_threaded_get()
/linux-6.8/Documentation/driver-api/gpio/
Ddriver.rst332 threaded on -RT. As a result, spinlock_t or any sleepable APIs (like PM
335 If required (and if it can't be converted to the nested threaded GPIO irqchip,
337 this way it will become a threaded IRQ handler on -RT and a hard IRQ handler
362 Realtime considerations: this kind of handlers will be forced threaded on -RT,
367 - NESTED THREADED GPIO IRQCHIPS: these are off-chip GPIO expanders and any
382 The hallmark of threaded GPIO irqchips is that they set the .can_sleep
494 The helper supports using threaded interrupts as well. Then you just request
/linux-6.8/drivers/media/platform/st/stm32/stm32-dcmipp/
Ddcmipp-common.h70 * @thread_fn: threaded irq handler
134 * @thread_fn: func pointer of the threaded irq handler
/linux-6.8/tools/testing/selftests/membarrier/
Dmembarrier_test_multi_thread.c69 /* Multi-threaded */ in main()

12345678910>>...15