| /linux/tools/testing/selftests/drivers/net/ |
| H A D | napi_threaded.py | 5 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 D | dev.h | 360 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 D | dev_api.c | 375 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 D | dev.c | 7196 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 D | simple.txt | 22 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 D | irqf_oneshot.cocci | 2 /// 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 D | dwc3.rst | 34 - threaded handler of the device 45 - threaded handler of the EP-interrupt
|
| /linux/drivers/pci/hotplug/ |
| H A D | TODO | 10 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 D | bpmp-tegra186.c | 176 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 D | bpmp-tegra210.c | 193 for (i = 0; i < bpmp->threaded.count; i++) { in tegra210_bpmp_init()
|
| /linux/Documentation/PCI/ |
| H A D | boot-interrupts.rst | 56 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 D | sysfs-class-net | 341 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 D | cgroup-v2.rst | 323 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 D | img-mdc-dma.txt | 1 * IMG Multi-threaded DMA Controller (MDC)
|
| /linux/fs/squashfs/ |
| H A D | Kconfig | 91 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 D | gpio-siox.c | 250 girq->threaded = true; in gpio_siox_probe()
|
| H A D | gpio-pmic-eic-sprd.c | 353 irq->threaded = true; in sprd_pmic_eic_probe()
|
| H A D | gpio-crystalcove.c | 368 girq->threaded = true; in crystalcove_gpio_probe()
|
| H A D | gpio-pcf857x.c | 418 girq->threaded = true; in pcf857x_probe()
|
| H A D | gpio-tc3589x.c | 338 girq->threaded = true; in tc3589x_gpio_probe()
|
| /linux/kernel/cgroup/ |
| H A D | debug.c | 376 debug_cgrp_subsys.threaded = true; in enable_debug_cgroup()
|
| H A D | pids.c | 459 .threaded = true,
|
| /linux/Documentation/driver-api/mei/ |
| H A D | mei-client-bus.rst | 138 an rx handler which is as close as it can get to registering a threaded IRQ handler.
|
| /linux/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 71 u8 threaded …
|
| /linux/Documentation/staging/ |
| H A D | xz.rst | 88 file in single-threaded mode so setting that explicitly is recommended.
|