/linux-6.8/Documentation/devicetree/bindings/misc/ |
D | intel,ixp4xx-ahb-queue-manager.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/misc/intel,ixp4xx-ahb-queue-manager.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Intel IXP4xx AHB Queue Manager 11 - Linus Walleij <linus.walleij@linaro.org> 14 The IXP4xx AHB Queue Manager maintains queues as circular buffers in 18 queues from the queue manager with foo-queue = <&qmgr N> where the 19 &qmgr is a phandle to the queue manager and N is the queue resource 20 number. The queue resources available and their specific purpose [all …]
|
/linux-6.8/rust/macros/ |
D | lib.rs | 1 // SPDX-License-Identifier: GPL-2.0 55 /// fn init() -> Result<Self> { 71 /// - `type`: type which implements the [`Module`] trait (required). 72 /// - `name`: byte array of the name of the kernel module (required). 73 /// - `author`: byte array of the author of the kernel module. 74 /// - `description`: byte array of the description of the kernel module. 75 /// - `license`: byte array of the license of the kernel module (required). 76 /// - `alias`: byte array of alias name of the kernel module. 78 pub fn module(ts: TokenStream) -> TokenStream { in module() 86 /// default implementation for all non-required methods (and the default [all …]
|
/linux-6.8/tools/bpf/bpftool/Documentation/ |
D | bpftool-map.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 bpftool-map 6 ------------------------------------------------------------------------------- 8 ------------------------------------------------------------------------------- 19 *OPTIONS* := { |COMMON_OPTIONS| | { **-f** | **--bpffs** } | { **-n** | **--nomount** } } 57 | | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage** 84 To create maps of type array-of-maps or hash-of-maps, the 142 Peek next value in the queue or stack. 151 Enqueue *VALUE* into the queue. 154 Dequeue and print value from the queue. [all …]
|
/linux-6.8/tools/perf/Documentation/ |
D | perf-config.txt | 1 perf-config(1) 5 ---- 6 perf-config - Get and set variables in a configuration file. 9 -------- 11 'perf config' [<file-option>] [section.name[=value] ...] 13 'perf config' [<file-option>] -l | --list 16 ----------- 20 ------- 22 -l:: 23 --list:: [all …]
|
/linux-6.8/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
D | fifo.json | 17 "matchPattern": "qdisc bfifo 1: root.*limit [0-9]+b", 38 "matchPattern": "qdisc pfifo 1: root.*limit [0-9]+p", 59 "matchPattern": "qdisc bfifo ffff: root.*limit [0-9]+b", 67 "name": "Add bfifo qdisc on egress with queue size of 3000 bytes", 88 "name": "Add pfifo qdisc on egress with queue size of 3000 packets", 123 "matchPattern": "qdisc bfifo 10000: root.*limit [0-9]+b", 170 "name": "Replace bfifo qdisc on egress with new queue size", 193 "name": "Replace pfifo qdisc on egress with new queue size", 216 "name": "Add bfifo qdisc on egress with queue size in invalid format", 226 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root bfifo limit foo-bar", [all …]
|
/linux-6.8/drivers/net/wireless/ath/ |
D | ath.h | 2 * Copyright (c) 2008-2009 Atheros Communications Inc. 30 * and station state to short-circuit node lookups on rx. 119 * struct ath_ops - Register read/write operations 193 return common->ps_ops; in ath_ps_ops() 232 * enum ath_debug_level - atheros wireless debug level 235 * @ATH_DBG_QUEUE: hardware queue management 250 * used exclusively for WLAN-BT coexistence starting from 260 * modifying debug level states -- but this is typically done through a 296 if ((common)->debug_mask & ATH_DBG_##dbg_mask) \ 300 #define ATH_DBG_WARN(foo, arg...) WARN(foo, arg) argument [all …]
|
/linux-6.8/Documentation/filesystems/ |
D | inotify.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Inotify - A Powerful yet Simple File Change Notification System 13 - Deleted obsoleted interface, just refer to manpages for user interface. 29 What is the design decision behind using an-fd-per-instance as opposed to 30 an fd-per-watch? 33 An fd-per-watch quickly consumes more file descriptors than are allowed, 35 select()-able. Yes, root can bump the per-process fd limit and yes, users 38 spaces is thus sensible. The current design is what user-space developers 41 thousand times is silly. If we can implement user-space's preferences 42 cleanly--and we can, the idr layer makes stuff like this trivial--then we [all …]
|
/linux-6.8/Documentation/power/ |
D | runtime_pm.rst | 5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 put their PM-related work items. It is strongly recommended that pm_wq be 20 them to be synchronized with system-wide power transitions (suspend to RAM, 53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks 57 1. PM domain of the device, if the device's PM domain object, dev->pm_domain, 60 2. Device type of the device, if both dev->type and dev->type->pm are present. 62 3. Device class of the device, if both dev->class and dev->class->pm are 65 4. Bus type of the device, if both dev->bus and dev->bus->pm are present. 69 dev->driver->pm directly (if present). 73 and bus type. Moreover, the high-priority one will always take precedence over [all …]
|
/linux-6.8/Documentation/bpf/ |
D | verifier.rst | 32 After kernel function call, R1-R5 are reset to unreadable and 35 Since R6-R9 are callee saved, their state is preserved across the call. 40 bpf_call foo 72 stack bounds, which are [-MAX_BPF_STACK, 0). In this example offset is 8, 78 Classic BPF verifier does similar check with M[0-15] memory slots. 81 bpf_ld R0 = *(u32 *)(R10 - 4) 85 Though R10 is correct read-only register and has type PTR_TO_STACK 86 and R10 - 4 is within stack bounds, there were no stores into that location. 88 Pointer register spill/fill is tracked as well, since four (R6-R9) 91 Allowed function calls are customized with bpf_verifier_ops->get_func_proto() [all …]
|
/linux-6.8/Documentation/mm/ |
D | physical_memory.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 architecture-independent abstraction to represent the physical memory. This 13 `Non-Uniform Memory Access (NUMA) 14 <https://en.wikipedia.org/wiki/Non-uniform_memory_access>`_. 15 With multi-core and multi-socket machines, memory may be arranged into banks 42 memory with DMA specific requirements (Documentation/core-api/dma-api.rst), 47 ``CONFIG_ZONE_DMA32`` configuration options. Some 64-bit platforms may need 59 only on some 32-bit architectures and is enabled with ``CONFIG_HIGHMEM``. 69 Documentation/admin-guide/mm/memory-hotplug.rst for additional details. 85 For example, with 32-bit kernel on an x86 UMA machine with 2 Gbytes of RAM the [all …]
|
/linux-6.8/include/net/ |
D | gro.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 /* Virtual address of skb_shinfo(skb)->frags[0].page + offset. */ 32 /* This indicates where we are processing relative to skb->data. */ 35 /* This is non-zero if the packet cannot be merged with the new skb. */ 44 /* Used in ipv6_gro_receive() and foo-over-udp and esp-in-udp */ 56 /* This is non-zero if the packet may be of the same flow. */ 71 /* Used in foo-over-udp, set in udp[46]_gro_receive */ 91 #define NAPI_GRO_CB(skb) ((struct napi_gro_cb *)(skb)->cb) 96 return ++NAPI_GRO_CB(skb)->recursion_counter == GRO_RECURSION_LIMIT; in gro_recursion_inc_test() 105 NAPI_GRO_CB(skb)->flush |= 1; in call_gro_receive() [all …]
|
/linux-6.8/Documentation/networking/ |
D | snmp_counter.rst | 17 .. _RFC1213 ipInReceives: https://tools.ietf.org/html/rfc1213#page-26 30 .. _RFC1213 ipInDelivers: https://tools.ietf.org/html/rfc1213#page-28 41 .. _RFC1213 ipOutRequests: https://tools.ietf.org/html/rfc1213#page-28 60 .. _Explicit Congestion Notification: https://tools.ietf.org/html/rfc3168#page-6 73 .. _RFC1213 ipInHdrErrors: https://tools.ietf.org/html/rfc1213#page-27 81 .. _RFC1213 ipInAddrErrors: https://tools.ietf.org/html/rfc1213#page-27 98 .. _RFC1213 ipInUnknownProtos: https://tools.ietf.org/html/rfc1213#page-27 111 .. _RFC1213 ipInDiscards: https://tools.ietf.org/html/rfc1213#page-28 118 .. _RFC1213 ipOutDiscards: https://tools.ietf.org/html/rfc1213#page-28 125 .. _RFC1213 ipOutNoRoutes: https://tools.ietf.org/html/rfc1213#page-29 [all …]
|
D | filter.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. _networking-filter: 10 ------ 17 ------------ 24 BPF allows a user-space program to attach a filter onto any socket and 49 The biggest user of this construct might be libpcap. Issuing a high-level 50 filter command like `tcpdump -i em1 port 22` passes through the libpcap 52 via SO_ATTACH_FILTER to the kernel. `tcpdump -i em1 port 22 -ddd` 57 qdisc layer, SECCOMP-BPF (SECure COMPuting [1]_), and lots of other places 60 .. [1] Documentation/userspace-api/seccomp_filter.rst [all …]
|
/linux-6.8/kernel/locking/ |
D | rtmutex.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * RT-Mutexes: simple blocking mutual exclusion locks with PI support 7 * Copyright (C) 2004-2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> 8 * Copyright (C) 2005-2006 Timesys Corp., Thomas Gleixner <tglx@timesys.com> 17 * See Documentation/locking/rt-mutex-design.rst for details. 66 * lock->owner state tracking: 68 * lock->owner holds the task_struct pointer of the owner. Bit 0 79 * possible when bit 0 of lock->owner is 0. 82 * with ->wait_lock is held. To prevent any fast path cmpxchg to the lock, 107 * lock->wait_lock is held but explicit acquire semantics are needed in rt_mutex_set_owner() [all …]
|
/linux-6.8/net/sunrpc/ |
D | rpc_pipe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 72 msg = list_entry(head->next, struct rpc_pipe_msg, list); in rpc_purge_list() 73 list_del_init(&msg->list); in rpc_purge_list() 74 msg->errno = err; in rpc_purge_list() 91 spin_lock(&pipe->lock); in rpc_timeout_upcall_queue() 92 destroy_msg = pipe->ops->destroy_msg; in rpc_timeout_upcall_queue() 93 if (pipe->nreaders == 0) { in rpc_timeout_upcall_queue() 94 list_splice_init(&pipe->pipe, &free_list); in rpc_timeout_upcall_queue() 95 pipe->pipelen = 0; in rpc_timeout_upcall_queue() 97 dentry = dget(pipe->dentry); in rpc_timeout_upcall_queue() [all …]
|
/linux-6.8/ipc/ |
D | mqueue.c | 70 * Accesses to a message queue are synchronized by acquiring info->lock. 73 * - The actual wakeup of a sleeping task is performed using the wake_q 74 * framework. info->lock is already released when wake_up_q is called. 75 * - The exit codepaths after sleeping check ext_wait_queue->state without 77 * acquiring info->lock. 94 * ->state = STATE_READY (reordered) 102 * the smp_store_release() that does ->state = STATE_READY. 116 * receiver->msg = message; (reordered) 120 * 3) There is intentionally no barrier when setting current->state 121 * to TASK_INTERRUPTIBLE: spin_unlock(&info->lock) provides the [all …]
|
/linux-6.8/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 1 // SPDX-License-Identifier: GPL-2.0 109 fprintf(stderr, "Usage: mptcp_connect [-6] [-c cmsg] [-f offset] [-i file] [-I num] [-j] [-l] " in die_usage() 110 "[-m mode] [-M mark] [-o option] [-p port] [-P mode] [-r num] [-R num] " in die_usage() 111 "[-s MPTCP|TCP] [-S num] [-t num] [-T num] [-w sec] connect_address\n"); in die_usage() 112 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage() 113 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n"); in die_usage() 114 fprintf(stderr, "\t-f offset -- stop the I/O after receiving and sending the specified amount " in die_usage() 115 "of bytes. If there are unread bytes in the receive queue, that will cause a MPTCP " in die_usage() 118 fprintf(stderr, "\t-i file -- read the data to send from the given file instead of stdin"); in die_usage() 119 fprintf(stderr, "\t-I num -- repeat the transfer 'num' times. In listen mode accepts num " in die_usage() [all …]
|
/linux-6.8/include/linux/device/ |
D | bus.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * bus.h - the bus-specific portions of the driver model 5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> 6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> 7 * Copyright (c) 2008-2009 Novell Inc. 8 * Copyright (c) 2012-2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org> 9 * Copyright (c) 2012-2019 Linux Foundation 11 * See Documentation/driver-api/driver-model/ for more information. 25 * struct bus_type - The bus type of the device 28 * @dev_name: Used for subsystems to enumerate devices like ("foo%u", dev->id). [all …]
|
/linux-6.8/Documentation/doc-guide/ |
D | sphinx.rst | 12 .. _Sphinx: http://www.sphinx-doc.org/ 16 documentation comments, or kernel-doc comments, from source files. Usually these 18 kernel-doc comments have some special structure and formatting, but beyond that 34 :ref:`sphinx-pre-install` for further details. 42 Sphinx inside a virtual environment, using ``virtualenv-3`` 55 (sphinx_2.4.4) $ pip install -r Documentation/sphinx/requirements.txt 63 ------------ 75 -------------------- 86 ------------------------ 95 The former was the only option for pre-6.1 kernel documentation and it [all …]
|
/linux-6.8/net/unix/ |
D | garbage.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 * - object w/ a bit 14 * - free list 18 * - explicit stack instead of recursion 19 * - tail recurse on first born instead of immediate push/pop 20 * - we gather the stuff that should not be killed into tree 25 * - don't just push entire root set; process in place 32 * of foo to bar and vice versa. Current code chokes on that. 38 * upon the beginning and unmark non-junk ones. 56 * parents (->gc_tree). [all …]
|
/linux-6.8/net/ipv4/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 40 so-called IP spoofing, however it can pose problems if you use 42 than packets from that host to you) or if you operate a non-routing 52 <file:Documentation/networking/ip-sysctl.rst>. 71 address into account. Furthermore, the TOS (Type-Of-Service) field 89 equal "cost" and chooses one of them in a non-deterministic fashion 132 <file:Documentation/admin-guide/nfs/nfsroot.rst> for details. 147 Read <file:Documentation/admin-guide/nfs/nfsroot.rst> for details. 160 <file:Documentation/admin-guide/nfs/nfsroot.rst> for details. 173 mobile-IP facilities (allowing laptops to seamlessly move between [all …]
|
D | ip_output.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 * silently drop skb instead of failing with -EPERM. 80 #include <linux/bpf-cgroup.h> 95 iph->check = 0; in ip_send_check() 96 iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); in ip_send_check() 106 iph_set_totlen(iph, skb->len); in __ip_local_out() 116 skb->protocol = htons(ETH_P_IP); in __ip_local_out() 119 net, sk, skb, NULL, skb_dst(skb)->dev, in __ip_local_out() 138 int ttl = READ_ONCE(inet->uc_ttl); in ip_select_ttl() 159 skb_push(skb, sizeof(struct iphdr) + (opt ? opt->opt.optlen : 0)); in ip_build_and_send_pkt() [all …]
|
/linux-6.8/scripts/ |
D | get_abi.pl | 2 # SPDX-License-Identifier: GPL-2.0 43 "enable-lineno" => \$enable_lineno, 44 "rst-source!" => \$description_is_rst, 47 "show-hints" => \$hint, 48 "search-string=s" => \$search_string, 53 pod2usage(-exitstatus => 0, -noperldoc, -verbose => 2) if $man; 105 $data{$nametag}->{what} = "File $name"; 106 $data{$nametag}->{type} = "File"; 107 $data{$nametag}->{file} = $name; 108 $data{$nametag}->{filepath} = $file; [all …]
|
/linux-6.8/init/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 - Re-run Kconfig when the compiler is updated 13 - Ensure full rebuild when the compiler is updated 14 include/linux/compiler-version.h contains this option in the comment 16 auto-generated dependency. When the compiler is updated, syncconfig 20 def_bool $(success,test "$(cc-name)" = GCC) 24 default $(cc-version) if CC_IS_GCC 28 def_bool $(success,test "$(cc-name)" = Clang) 32 default $(cc-version) if CC_IS_CLANG 36 def_bool $(success,test "$(as-name)" = GNU) [all …]
|
/linux-6.8/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * engineered documentation written by Carl-Daniel Hailfinger 15 * Copyright (C) 2004 Carl-Daniel Hailfinger (invalid MAC handling, insane 50 #include <linux/dma-mapping.h> 73 #define DEV_HAS_MSI_X 0x0000080 /* device supports MSI-X */ 483 * - DESC_VER_1: Original 484 * - DESC_VER_2: support for jumbo frames. 485 * - DESC_VER_3: 64-bit format. 568 /* MSI/MSI-X defines */ 638 u64 tx_bytes; /* should be ifconfig->tx_bytes + 4*tx_packets */ [all …]
|