/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! 106 to the KUnit documentation in Documentation/dev-tools/kunit/. 115 other computer. You will get the so-called loopback device which 126 <file:Documentation/networking/ip-sysctl.rst>. 170 a "proxy-based" one, is more secure but more intrusive and more [all …]
|
/linux/Documentation/admin-guide/mm/damon/ |
H A D | index.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 :doc:`DAMON </mm/damon/index>` allows light-weight data access monitoring.
|
/linux/drivers/slimbus/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 SLIMbus is standard interface between System-on-Chip and audio codec, 24 tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component" 31 Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device 33 This is light-weight slimbus controller driver responsible for 36 for bandwidth and data-channel management.
|
/linux/drivers/cpufreq/ |
H A D | cpufreq-dt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include "cpufreq-dt.h" 41 NULL, /* Extra space for boost-attr if required */ 50 if (cpumask_test_cpu(cpu, priv->cpus)) in cpufreq_dt_find_data() 59 struct private_data *priv = policy->driver_data; in set_target() 60 unsigned long freq = policy->freq_table[index].frequency; in set_target() 62 return dev_pm_opp_set_rate(priv->cpu_dev, freq * 1000); in set_target() 66 * An earlier version of opp-v1 bindings used to name the regulator 67 * "cpu0-supply", we still need to handle that for backwards compatibility. 71 struct device_node *np __free(device_node) = of_node_get(dev->of_node); in find_supply_name() [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/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/security/apparmor/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 68 filesystem. This option provides a light weight means of 121 to the KUnit documentation in Documentation/dev-tools/kunit/.
|
/linux/include/linux/ |
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/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 …]
|
/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/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.", 157 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 167 …"BriefDescription": "Mispredicted non-taken conditional branch instructions retired. This precise … 195 …"BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 200 …"PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding re… 257 …"PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that… 271 …"BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time bu… 275 …"PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup… 280 …"BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time bu… 284 …"PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup… [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.", 169 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 189 …"BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 194 …"PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding re… 224 …"PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that… 229 …"BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time bu… 233 …"PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup… 238 …"BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time bu… 242 …"PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup… 296 …stal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread … [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.", 169 "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.", 189 …"BriefDescription": "Miss-predicted near indirect branch instructions retired (excluding returns)", 194 …"PublicDescription": "Counts miss-predicted near indirect branch instructions retired excluding re… 224 …"PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that… 229 …"BriefDescription": "Core clocks when the thread is in the C0.1 light-weight slower wakeup time bu… 233 …"PublicDescription": "Counts core clocks when the thread is in the C0.1 light-weight slower wakeup… 238 …"BriefDescription": "Core clocks when the thread is in the C0.2 light-weight faster wakeup time bu… 242 …"PublicDescription": "Counts core clocks when the thread is in the C0.2 light-weight faster wakeup… 296 …stal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread … [all …]
|
/linux/tools/perf/pmu-events/arch/x86/sandybridge/ |
H A D | snb-metrics.json | 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 39 "MetricExpr": "cstate_core@c7\\-residency@ / TSC", 46 "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", 59 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 75 "MetricExpr": "1 - (tma_frontend_bound + tma_bad_speculation + tma_retiring)", 80 …-of-order scheduler dispatches ready uops into their respective execution units; and once complete… [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/pmu-events/arch/x86/jaketown/ |
H A D | jkt-metrics.json | 4 "MetricExpr": "cstate_pkg@c2\\-residency@ / TSC", 11 "MetricExpr": "cstate_core@c3\\-residency@ / TSC", 18 "MetricExpr": "cstate_pkg@c3\\-residency@ / TSC", 25 "MetricExpr": "cstate_core@c6\\-residency@ / TSC", 32 "MetricExpr": "cstate_pkg@c6\\-residency@ / TSC", 39 "MetricExpr": "cstate_core@c7\\-residency@ / TSC", 46 "MetricExpr": "cstate_pkg@c7\\-residency@ / TSC", 59 "MetricExpr": "((msr@aperf@ - cycles) / msr@aperf@ if msr@smi@ > 0 else 0)", 75 "MetricExpr": "1 - (tma_frontend_bound + tma_bad_speculation + tma_retiring)", 80 …-of-order scheduler dispatches ready uops into their respective execution units; and once complete… [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/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 …]
|
/linux/net/core/ |
H A D | lwtunnel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lwtunnel Infrastructure for light weight tunnels like mpls 84 return -ERANGE; in lwtunnel_encap_add_ops() 88 NULL, ops) ? 0 : -1; in lwtunnel_encap_add_ops() 99 return -ERANGE; in lwtunnel_encap_del_ops() 103 ops, NULL) == ops) ? 0 : -1; in lwtunnel_encap_del_ops() 118 int ret = -EINVAL; in lwtunnel_build_state() 127 ret = -EOPNOTSUPP; in lwtunnel_build_state() 130 if (likely(ops && ops->build_state && try_module_get(ops->owner))) in lwtunnel_build_state() 135 ret = ops->build_state(net, encap, family, cfg, lws, extack); in lwtunnel_build_state() [all …]
|
/linux/arch/riscv/lib/ |
H A D | csum.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2023-2024 Rivos Inc. 11 #include <linux/kasan-checks.h> 27 sum += (__force unsigned long)saddr->s6_addr32[0]; in csum_ipv6_magic() 28 sum += (__force unsigned long)saddr->s6_addr32[1]; in csum_ipv6_magic() 29 sum += (__force unsigned long)saddr->s6_addr32[2]; in csum_ipv6_magic() 30 sum += (__force unsigned long)saddr->s6_addr32[3]; in csum_ipv6_magic() 32 sum += (__force unsigned long)daddr->s6_addr32[0]; in csum_ipv6_magic() 33 sum += (__force unsigned long)daddr->s6_addr32[1]; in csum_ipv6_magic() 34 sum += (__force unsigned long)daddr->s6_addr32[2]; in csum_ipv6_magic() [all …]
|
/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 * buffer has a per-frame parameter. 119 /* [gain] The strength of sharpness in pell-mell area. u5_11 */ 146 unsigned int ae_y_coef_r; /* [gain] Weight of R for Y */ 147 unsigned int ae_y_coef_g; /* [gain] Weight of G for Y */ 148 unsigned int ae_y_coef_b; /* [gain] Weight of B for Y */ 266 unsigned int gr; /* unsigned <integer_bits>.<16-integer_bits> */ 267 unsigned int r; /* unsigned <integer_bits>.<16-integer_bits> */ 268 unsigned int b; /* unsigned <integer_bits>.<16-integer_bits> */ 269 unsigned int gb; /* unsigned <integer_bits>.<16-integer_bits> */ [all …]
|