| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-map.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 bpftool-map 6 --- [all...] |
| /linux/Documentation/devicetree/bindings/misc/ |
| H A 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 <linusw@kernel.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/tools/perf/Documentation/ |
| H A D | perf-config.txt | 1 perf-config(1) 5 ---- 6 perf-config - Get and set variables in a configuration file. 9 --- [all...] |
| /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| H A 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/drivers/net/wireless/ath/ |
| H A 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 195 return common->ps_ops; in ath_ps_ops() 234 * enum ath_debug_level - atheros wireless debug level 237 * @ATH_DBG_QUEUE: hardware queue management 252 * used exclusively for WLAN-BT coexistence starting from 262 * modifying debug level states -- but this is typically done through a 298 if ((common)->debug_mask & ATH_DBG_##dbg_mask) \ 302 #define ATH_DBG_WARN(foo, arg...) WARN(foo, arg) argument [all …]
|
| /linux/rust/pin-init/src/ |
| H A D | lib.rs | 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 3 //! Library to safely and fallibly initialize pinned `struct`s using in-place constructors. 7 //! It also allows in-place initialization of big `struct`s that would otherwise produce a stack 10 //! This library's main use-case is in [Rust-for-Linux]. Although this version can be used 13 //! There are cases when you want to in-place initialize a struct. For example when it is very big 18 //! <https://rust-fo [all...] |
| /linux/Documentation/filesystems/ |
| H A 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/net/sunrpc/ |
| H A 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/Documentation/networking/ |
| H A 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 …]
|
| H A 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/kernel/locking/ |
| H A 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. 69 * lock->owner state tracking: 71 * lock->owner holds the task_struct pointer of the owner. Bit 0 82 * possible when bit 0 of lock->owner is 0. 85 * with ->wait_lock is held. To prevent any fast path cmpxchg to the lock, 97 __must_hold(&lock->wait_lock) in rt_mutex_owner_encode() [all …]
|
| /linux/net/unix/ |
| H A 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/ipc/ |
| H A D | mqueue.c | 1 // SPDX-License-Identifier: GPL-2.0 69 * Accesses to a message queue are synchronized by acquiring info->lock. 72 * - The actual wakeup of a sleeping task is performed using the wake_q 73 * framework. info->lock is already released when wake_up_q is called. 74 * - The exit codepaths after sleeping check ext_wait_queue->state without 76 * acquiring info->lock. 93 * ->state = STATE_READY (reordered) 101 * the smp_store_release() that does ->state = STATE_READY. 115 * receiver->msg = message; (reordered) 119 * 3) There is intentionally no barrier when setting current->state [all …]
|
| /linux/fs/ceph/ |
| H A D | mds_client.c | 1 // SPDX-License-Identifier: GPL-2.0 29 #define RECONNECT_MAX_SIZE (INT_MAX - PAGE_SIZE) 79 old = mdsc->metric.session; in ceph_metric_bind_session() 80 mdsc->metric.session = ceph_get_mds_session(session); in ceph_metric_bind_session() 84 metric_schedule_delayed(&mdsc->metric); in ceph_metric_bind_session() 106 ceph_decode_64_safe(p, end, info->max_bytes, bad); in parse_reply_info_quota() 107 ceph_decode_64_safe(p, end, info->max_files, bad); in parse_reply_info_quota() 111 return -EIO; in parse_reply_info_quota() 124 info->subvolume_id = CEPH_SUBVOLUME_ID_NONE; in parse_reply_info_in() 126 if (features == (u64)-1) { in parse_reply_info_in() [all …]
|
| /linux/Documentation/doc-guide/ |
| H A 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`` 50 (sphinx_latest) $ pip install -r Documentation/sphinx/requirements.txt 58 ------------ 69 -------------------- 80 ------------------------ 89 The former was the only option for pre-6.1 kernel documentation and it [all …]
|
| /linux/include/linux/device/ |
| H A 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/net/ipv4/ |
| H A 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 …]
|
| H A D | ip_output.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 * silently drop skb instead of failing with -EPERM. 81 #include <linux/bpf-cgroup.h> 97 iph->check = 0; in ip_send_check() 98 iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); in ip_send_check() 108 iph_set_totlen(iph, skb->len); in __ip_local_out() 118 skb->protocol = htons(ETH_P_IP); in __ip_local_out() 140 int ttl = READ_ONCE(inet->uc_ttl); in ip_select_ttl() 161 skb_push(skb, sizeof(struct iphdr) + (opt ? opt->opt.optlen : 0)); in ip_build_and_send_pkt() 164 iph->version = 4; in ip_build_and_send_pkt() [all …]
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.c | 1 // SPDX-License-Identifier: GPL-2.0 113 fprintf(stderr, "Usage: mptcp_connect [-6] [-c cmsg] [-f offset] [-i file] [-I num] [-j] [-l] " in die_usage() 114 "[-m mode] [-M mark] [-o option] [-p port] [-P mode] [-r num] [-R num] " in die_usage() 115 "[-s MPTCP|TCP] [-S num] [-t num] [-T num] [-w sec] connect_address\n"); in die_usage() 116 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage() 117 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n"); in die_usage() 118 fprintf(stderr, "\t-f offset -- stop the I/O after receiving and sending the specified amount " in die_usage() 119 "of bytes. If there are unread bytes in the receive queue, that will cause a MPTCP " in die_usage() 122 fprintf(stderr, "\t-i file -- read the data to send from the given file instead of stdin"); in die_usage() 123 fprintf(stderr, "\t-I num -- repeat the transfer 'num' times. In listen mode accepts num " in die_usage() [all …]
|
| /linux/drivers/net/ethernet/nvidia/ |
| H A 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 …]
|
| /linux/init/ |
| H A 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/Documentation/ |
| H A D | memory-barriers.txt | 19 documentation at tools/memory-model/. Nevertheless, even this memory 37 Note also that it is possible that a barrier may be a no-op for an 48 - Device operations. 49 - Guarantees. 53 - Varieties of memory barrier. 54 - What may not be assumed about memory barriers? 55 - Address-dependency barriers (historical). 56 - Control dependencies. 57 - SMP barrier pairing. 58 - Examples of memory barrier sequences. [all …]
|
| /linux/fs/btrfs/ |
| H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/blk-cgroup.h> 18 #include <linux/backing-dev.h> 39 #include "disk-io.h" 42 #include "ordered-data.h" 44 #include "tree-log.h" 50 #include "delalloc-space.h" 51 #include "block-group.h" 52 #include "space-info.h" 55 #include "inode-item.h" [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 38 Documentation/arch/m68k/kernel-options.rst. 48 PARISC The PA-RISC architecture is enabled. 63 the Documentation/scsi/ sub-directory. 83 X86-32 X86-32, aka i386 architecture is enabled. 84 X86-64 X86-64 architecture is enabled. 85 X86 Either 32-bit or 64-bit x86 (same as X86-32+X86-64) 94 KNL Is a kernel start-up parameter. 114 force -- enable ACPI if default was off 115 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 116 off -- disable ACPI if default was on [all …]
|
| /linux/Documentation/kernel-hacking/ |
| H A D | locking.rst | 37 +------------------------------------+------------------------------------+ 41 +------------------------------------+------------------------------------+ 43 +------------------------------------+------------------------------------+ 45 +------------------------------------+------------------------------------+ 47 +------------------------------------+------------------------------------+ 49 +------------------------------------+------------------------------------+ 51 +------------------------------------+------------------------------------+ 57 +------------------------------------+------------------------------------+ 61 +------------------------------------+------------------------------------+ 63 +------------------------------------+------------------------------------+ [all …]
|