/linux/net/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 when running on a stand-alone machine that isn't connected to any 20 contained in the package net-tools, the location and version number 24 recommended to read the NET-HOWTO, available from 42 achieve this, you need to set skb_shinfo(skb)->frag_list to the 47 compat-independent messages instead! 112 to the KUnit documentation in Documentation/dev-tool [all...] |
/linux/drivers/cpufreq/ |
H A D | rcpufreq_dt.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Rust based implementation of the cpufreq-dt driver. 20 fn find_supply_name_exact(dev: &Device, name: &str) -> Option<CString> { in find_supply_name_exact() 21 let prop_name = CString::try_from_fmt(fmt!("{name}-supply")).ok()?; in find_supply_name_exact() 29 fn find_supply_names(dev: &Device, cpu: cpu::CpuId) -> Option<KVec<CString>> { in find_supply_names() 55 const NAME: &'static CStr = c_str!("cpufreq-dt"); 61 fn init(policy: &mut cpufreq::Policy) -> Result<Self::PData> { in init() 63 // SAFETY: The CPU device is only used during init; it won't get hot-unplugged. The cpufreq in init() 65 // once the CPU is hot-unplugged. in init() 79 // Get OPP-sharing information from "operating-points-v2" bindings. in init() [all …]
|
H A D | cpufreq-dt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include "cpufreq-dt.h" 44 if (cpumask_test_cpu(cpu, priv->cpus)) in cpufreq_dt_find_data() 53 struct private_data *priv = policy->driver_data; in set_target() 54 unsigned long freq = policy->freq_table[index].frequency; in set_target() 56 return dev_pm_opp_set_rate(priv->cpu_dev, freq * 1000); in set_target() 60 * An earlier version of opp-v1 bindings used to name the regulator 61 * "cpu0-supply", we still need to handle that for backwards compatibility. 65 struct device_node *np __free(device_node) = of_node_get(dev->of_node); in find_supply_name() 66 int cpu = dev->id; in find_supply_name() [all …]
|
/linux/include/linux/ |
H A D | srcu.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Sleepable Read-Copy Update mechanism for mutual exclusion 11 * For detailed explanation of Read-Copy Update mechanism see - 46 /* Values for SRCU Tree srcu_data ->srcu_reader_flavor, but also used by rcutorture. */ 49 // 0x4 // SRCU-lite is no longer with us. 74 * get_completed_synchronize_srcu - Return a pre-complete [all...] |
H A D | lwq.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Light-weight single-linked queue built from llist 30 * lwq_init - initialise a lwq 35 spin_lock_init(&q->lock); in lwq_init() 36 q->ready = NULL; in lwq_init() 37 init_llist_head(&q->new); in lwq_init() 41 * lwq_empty - test if lwq contains any entry 51 return smp_load_acquire(&q->ready) == NULL && llist_empty(&q->new); in lwq_empty() 56 * lwq_dequeue - dequeue first (oldest) entry from lwq 72 * lwq_for_each_safe - iterate over detached queue allowing deletion [all …]
|
/linux/Documentation/mm/damon/ |
H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 DAMON: Data Access MONitoring and Access-aware System Operations 11 - *accurate* (the monitoring output is useful enough for DRAM level memory 13 - *light-weight* (the monitoring overhead is low enough to be applied online), 15 - *scalable* (the upper-bound of the overhead is in constant range regardless 19 access-aware fashion. Because the features are also exposed to the :doc:`user 20 space </admin-guide/mm/damon/index>`, users who have special information about 25 :ref:`DAMOS <damon_design_damos>` (DAMon-based Operation Schemes) in addition 27 spaces </admin-guide/mm/damon/index>` can do access-aware system operations 36 maintainer-profile [all …]
|
/linux/Documentation/devicetree/bindings/slimbus/ |
H A D | qcom,slim-ngd.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/slimbus/qcom,slim-ngd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 14 SLIMBus NGD controller is a light-weight driver responsible for communicating 17 data-channel management 22 - qcom,slim-ngd-v1.5.0 # for MSM8996 23 - qcom,slim-ngd-v2.1.0 # for SDM845 [all …]
|
/linux/security/apparmor/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 67 filesystem. This option provides a light weight means of 120 to the KUnit documentation in Documentation/dev-tools/kunit/.
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-hid-roccat-kone | 1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 25 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 33 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 45 …usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num… 50 mappings, sensitivity, the colors of the 5 leds and light 64 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 76 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 88 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p… 103 …s/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<n… 115 VALUE WEIGHT
|
/linux/drivers/md/dm-vdo/ |
H A D | funnel-queue.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "funnel-queue.h" 9 #include "memory-alloc.h" 23 * queue->newest and queue->oldest are never null. in vdo_make_funnel_queue() 25 queue->stub.next = NULL; in vdo_make_funnel_queue() 26 queue->newest = &queue->stub; in vdo_make_funnel_queue() 27 queue->oldest = &queue->stub; in vdo_make_funnel_queue() 45 struct funnel_queue_entry *oldest = queue->oldest; in get_oldest() 46 struct funnel_queue_entry *next = READ_ONCE(oldest->next); in get_oldest() 48 if (oldest == &queue->stub) { in get_oldest() [all …]
|
/linux/lib/ |
H A D | lwq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Light-weight single-linked queue. 25 spin_lock(&q->lock); in __lwq_dequeue() 26 this = q->ready; in __lwq_dequeue() 27 if (!this && !llist_empty(&q->new)) { in __lwq_dequeue() 29 smp_store_release(&q->ready, (void *)1); in __lwq_dequeue() 30 this = llist_reverse_order(llist_del_all(&q->new)); in __lwq_dequeue() 32 q->ready = NULL; in __lwq_dequeue() 35 q->ready = llist_next(this); in __lwq_dequeue() 36 spin_unlock(&q->lock); in __lwq_dequeue() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 converting bitfields between a CPU-usable representation and a 33 - Is little endian (bytes are reversed within a 32-bit group) 34 - The least-significant 32-bit word comes first (within a 64-bit 36 - The most significant bit of a byte is at its right (bit 0 of a 51 please refer to the KUnit documentation in Documentation/dev-tools/kunit/. 62 This option enables the use of hardware bit-reversal instructions on 102 bool "Access I/O in non-MMIO mode" 108 mechanism, the host-local I/O resource can be mapped into system 110 system can access the I/O devices with the mapped-logic PIO through [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | kconfig.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 34 | built-in into mlx5_core.ko. 39 …g (DCB) Support <https://enterprise-support.nvidia.com/s/article/howto-auto-config-pfc-and-ets-on-… 53 | Flow-based classifiers, such as those registered through 54 | `tc-flower(8)`, are processed by the device, rather than the 61 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering. 62 | https://enterprise-support.nvidia.com/s/article/howto-configure-arfs-on-connectx-4 67 | Enables :ref:`IPSec XFRM cryptography-offload acceleration <xfrm_device>`. 72 | Build support for MACsec cryptography-offload acceleration in the NIC. 83 | TLS cryptography-offload acceleration. [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | pipeline.json | 18 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 158 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 176 …"BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 180 …"PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding re… 207 …"PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that… 212 …"BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time bu… 216 …"PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup… 221 …"BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time bu… 225 …"PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup… 279 …stal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread … [all …]
|
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
H A D | pipeline.json | 18 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 158 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 176 …"BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 180 …"PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding re… 207 …"PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that… 212 …"BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time bu… 216 …"PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup… 221 …"BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time bu… 225 …"PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup… 279 …stal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread … [all …]
|
/linux/fs/jffs2/ |
H A D | debug.h | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2001-2007 Red Hat, Inc. 5 * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> 47 /* Sanity checks are supposed to be light-weight and enabled by default */
|
/linux/net/mpls/ |
H A D | mpls_iptunnel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * mpls tunnels An implementation mpls tunnels using the light weight tunnel 33 return en->labels * sizeof(struct mpls_shim_hdr); in mpls_encap_size() 55 out_dev = dst->dev; in mpls_xmit() 59 !dst->lwtstate || skb_warn_if_lro(skb)) in mpls_xmit() 64 tun_encap_info = mpls_lwtunnel_encap(dst->lwtstate); in mpls_xmit() 69 * - disabled => use default TTL value from LWT in mpls_xmit() 70 * - enabled => use TTL value from IPv4/IPv6 header in mpls_xmit() 71 * - default => in mpls_xmit() 73 * - disabled => use default TTL value from global setting in mpls_xmit() [all …]
|
/linux/Documentation/core-api/ |
H A D | memory-allocation.rst | 35 :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>` provides 79 :ref:`Documentation/core-api/gfp_mask-from-fs-io.rst <gfp_mask_from_fs_io>`. 89 ------------------------------ 94 * ``GFP_KERNEL & ~__GFP_RECLAIM`` - optimistic allocation without _any_ 95 attempt to free memory at all. The most light weight mode which even 100 * ``GFP_KERNEL & ~__GFP_DIRECT_RECLAIM`` (or ``GFP_NOWAIT``)- optimistic 107 * ``(GFP_KERNEL|__GFP_HIGH) & ~__GFP_DIRECT_RECLAIM`` (aka ``GFP_ATOMIC``) - 109 some portion of memory reserves. Usually used from interrupt/bottom-half 112 * ``GFP_KERNEL`` - both background and direct reclaim are allowed and the 114 allocation requests are basically no-fail but there is no guarantee of [all …]
|
/linux/tools/perf/Documentation/ |
H A D | topdown.txt | 2 --------------------- 8 heavy operations, light operations, branch mispredicts, machine 11 perf stat --topdown implements this using available metrics that vary 14 % perf stat -a --topdown -I1000 84 int slots_fd = perf_event_open(&slots, 0, -1, -1, 0); 104 int metrics_fd = perf_event_open(&metrics, 0, -1, slots_fd, 0); 205 retiring_slots = GET_METRIC(metric_b, 0) * slots_b - retiring_slots_a 206 bad_spec_slots = GET_METRIC(metric_b, 1) * slots_b - bad_spec_slots_a 207 fe_bound_slots = GET_METRIC(metric_b, 2) * slots_b - fe_bound_slots_a 208 be_bound_slots = GET_METRIC(metric_b, 3) * slots_b - be_bound_slots_a [all …]
|
/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | jkt-metrics.json | 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / msr@tsc@", 11 "MetricExpr": "cstate_core@c3\\-residency@ / msr@tsc@", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / msr@tsc@", 25 "MetricExpr": "cstate_core@c6\\-residency@ / msr@tsc@", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / msr@tsc@", 39 "MetricExpr": "cstate_core@c7\\-residency@ / msr@tsc@", 46 "MetricExpr": "cstate_pkg@c7\\-residency@ / msr@tsc@", 59 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 74 "MetricExpr": "1 - (tma_frontend_bound + tma_bad_speculation + tma_retiring)", 79 …-of-order scheduler dispatches ready uops into their respective execution units; and once complete… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sandybridge/ |
H A D | snb-metrics.json | 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / msr@tsc@", 11 "MetricExpr": "cstate_core@c3\\-residency@ / msr@tsc@", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / msr@tsc@", 25 "MetricExpr": "cstate_core@c6\\-residency@ / msr@tsc@", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / msr@tsc@", 39 "MetricExpr": "cstate_core@c7\\-residency@ / msr@tsc@", 46 "MetricExpr": "cstate_pkg@c7\\-residency@ / msr@tsc@", 59 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 74 "MetricExpr": "1 - (tma_frontend_bound + tma_bad_speculation + tma_retiring)", 79 …-of-order scheduler dispatches ready uops into their respective execution units; and once complete… [all …]
|
/linux/arch/parisc/kernel/ |
H A D | syscall.S | 2 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 12 How does the Linux gateway page on PA-RISC work? 13 ------------------------------------------------ 14 The Linux gateway page on PA-RISC is "special". 27 executed atomically (because the kernel can't be pre-empted) and they may 33 #include <asm/asm-offsets.h> 66 ldo -1(\reg1), \reg1 102 /* Light-weight-syscall entry must always be located at 0xb0 */ 192 LDREGM -FRAME_SIZE(%r30), %r2 /* get users sp back */ 225 ldo -16(%r30),%r29 /* Reference param save area */ [all …]
|
/linux/tools/perf/pmu-events/arch/x86/graniterapids/ |
H A D | pipeline.json | 8 …y executing divide or square root operations. Accounts for integer and floating-point operations.", 146 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 155 …"BriefDescription": "Mispredicted non-taken conditional branch instructions retired. This precise … 159 …"PublicDescription": "Mispredicted non-taken conditional branch instructions retired. This precise… 188 …"BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 192 …"PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding re… 252 …"PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that… 269 …"BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time bu… 273 …"PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup… 278 …"BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time bu… [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <asm/asm-const.h> 38 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) 39 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 40 #define HUGE_MAX_HSTATE (MMU_PAGE_COUNT-1) 59 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START 64 * va = pa + PAGE_OFFSET - MEMORY_START 65 * va = pa + KERNELBASE - PHYSICAL_START 75 #define LOAD_OFFSET ASM_CONST((CONFIG_KERNEL_START-CONFIG_PHYSICAL_START)) 99 #define VIRT_PHYS_OFFSET (KERNELBASE - PHYSICAL_START) [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_gpio.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 32 struct ath_btcoex *btcoex = &priv->btcoex; in ath_detect_bt_priority() 33 struct ath_hw *ah = priv->ah; in ath_detect_bt_priority() 35 if (ath9k_hw_gpio_get(ah, ah->btcoex_hw.btpriority_gpio)) in ath_detect_bt_priority() 36 btcoex->bt_priority_cnt++; in ath_detect_bt_priority() 38 if (time_after(jiffies, btcoex->bt_priority_time + in ath_detect_bt_priority() 40 clear_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); in ath_detect_bt_priority() 41 clear_bit(OP_BT_SCAN, &priv->op_flags); in ath_detect_bt_priority() 43 if (btcoex->bt_priority_cnt >= ATH_BT_CNT_SCAN_THRESHOLD) { in ath_detect_bt_priority() 46 set_bit(OP_BT_PRIORITY_DETECTED, &priv->op_flags); in ath_detect_bt_priority() [all …]
|