Home
last modified time | relevance | path

Searched refs:threaded (Results 1 – 25 of 61) sorted by relevance

123

/linux/tools/testing/selftests/drivers/net/
H A Dnapi_threaded.py5 Test napi threaded states.
16 ksft_eq(napi['threaded'], 'enabled')
22 ksft_eq(napi['threaded'], 'disabled')
26 def _set_threaded_state(cfg, threaded) -> None: argument
27 with open(f"/sys/class/net/{cfg.ifname}/threaded", "wb") as fp:
28 fp.write(str(threaded).encode('utf-8'))
36 threaded = cmd(f"cat /sys/class/net/{cfg.ifname}/threaded").stdout
37 defer(_set_threaded_state, cfg, threaded)
44 Test that threaded stat
[all...]
/linux/net/core/
H A Ddev.h360 return n->config->threaded; in napi_get_threaded_config()
361 return dev->threaded; in napi_get_threaded_config()
365 enum netdev_napi_threaded threaded);
368 enum netdev_napi_threaded threaded);
H A Ddev_api.c375 enum netdev_napi_threaded threaded) in dev_set_threaded()
380 ret = netif_set_threaded(dev, threaded); in dev_set_threaded()
372 dev_set_threaded(struct net_device * dev,enum netdev_napi_threaded threaded) dev_set_threaded() argument
H A Ddev.c7196 bool threaded = threaded_mode != NETDEV_NAPI_THREADED_DISABLED; in napi_set_threaded_state() local
7199 assign_bit(NAPI_STATE_THREADED, &napi->state, threaded); in napi_set_threaded_state()
7204 enum netdev_napi_threaded threaded) in napi_set_threaded() argument
7206 if (threaded) { in napi_set_threaded()
7216 napi->config->threaded = threaded; in napi_set_threaded()
7224 if (!threaded && napi->thread) { in napi_set_threaded()
7229 napi_set_threaded_state(napi, threaded); in napi_set_threaded()
7236 enum netdev_napi_threaded threaded) in netif_set_threaded() argument
7243 if (threaded) { in netif_set_threaded()
7248 threaded = NETDEV_NAPI_THREADED_DISABLED; in netif_set_threaded()
[all …]
/linux/tools/memory-model/Documentation/
H A 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/scripts/coccinelle/misc/
H A Dirqf_oneshot.cocci2 /// Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
3 /// threaded IRQs without a primary handler need to be requested with
/linux/Documentation/usb/
H A Ddwc3.rst34 - threaded handler of the device
45 - threaded handler of the EP-interrupt
/linux/drivers/pci/hotplug/
H A DTODO10 hardirq handler cpqhp_ctrl_intr(). Convert this to threaded IRQ handling.
51 simplified by converting it to threaded IRQ handling. Use pciehp as a
/linux/drivers/firmware/tegra/
H A Dbpmp-tegra186.c176 for (i = 0; i < bpmp->threaded.count; i++) { in tegra186_bpmp_teardown_channels()
296 for (i = 0; i < bpmp->threaded.count; i++) { in tegra186_bpmp_setup_channels()
319 for (i = 0; i < bpmp->threaded.count; i++) in tegra186_bpmp_reset_channels()
H A Dbpmp-tegra210.c193 for (i = 0; i < bpmp->threaded.count; i++) { in tegra210_bpmp_init()
/linux/Documentation/PCI/
H A Dboot-interrupts.rst56 irq_default_primary_handler threaded usb_hcd_irq
63 The use of threaded interrupts is the most likely condition to trigger
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/Documentation/ABI/testing/
H A 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/Documentation/admin-guide/
H A Dcgroup-v2.rst323 Controllers which support thread mode are called threaded controllers.
326 Marking a cgroup threaded makes it join the resource domain of its
327 parent as a threaded cgroup. The parent may be another threaded
329 of a threaded subtree, that is, the nearest ancestor which is not
330 threaded, is called threaded domain or thread root interchangeably and
333 Inside a threaded subtree, threads of a process can be put in
335 constraint - threaded controllers can be enabled on non-leaf cgroups
338 As the threaded domain cgroup hosts all the domain resource
341 can't have populated child cgroups which aren't threaded. Because the
343 serve both as a threaded domain and a parent to domain cgroups.
[all …]
/linux/Documentation/devicetree/bindings/dma/
H A Dimg-mdc-dma.txt1 * IMG Multi-threaded DMA Controller (MDC)
/linux/fs/squashfs/
H A DKconfig91 If in doubt, select "Single threaded compression"
94 bool "Single threaded compression"
97 Traditionally Squashfs has used single-threaded decompression.
/linux/drivers/gpio/
H A Dgpio-siox.c250 girq->threaded = true; in gpio_siox_probe()
H A Dgpio-pmic-eic-sprd.c353 irq->threaded = true; in sprd_pmic_eic_probe()
H A Dgpio-crystalcove.c368 girq->threaded = true; in crystalcove_gpio_probe()
H A Dgpio-pcf857x.c418 girq->threaded = true; in pcf857x_probe()
H A Dgpio-tc3589x.c338 girq->threaded = true; in tc3589x_gpio_probe()
/linux/kernel/cgroup/
H A Ddebug.c376 debug_cgrp_subsys.threaded = true; in enable_debug_cgroup()
H A Dpids.c459 .threaded = true,
/linux/Documentation/driver-api/mei/
H A Dmei-client-bus.rst138 an rx handler which is as close as it can get to registering a threaded IRQ handler.
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst71 u8 threaded
/linux/Documentation/staging/
H A Dxz.rst88 file in single-threaded mode so setting that explicitly is recommended.

123