| /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 <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/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 ------------------------------------------------------------------------------- 8 ------------------------------------------------------------------------------- 19 *OPTIONS* := { |COMMON_OPTIONS| | { **-f** | **--bpffs** } | { **-n** | **--nomount** } } 57 | | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage** 82 To create maps of type array-of-maps or hash-of-maps, the **inner_map** 137 Peek next value in the queue or stack. 146 Enqueue *VALUE* into the queue. 149 Dequeue and print value from the queue. [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 -------- 11 'perf config' [<file-option>] [section.name[=value] ...] 13 'perf config' [<file-option>] -l | --list 16 ----------- 20 ------- 22 -l:: 23 --list:: [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/Documentation/power/ |
| H A 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/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/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 * - w 354 struct sk_buff_head *queue; unix_collect_skb() local [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/ipc/ |
| H A 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/include/net/ |
| H A D | gro.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 20 /* Virtual address of skb_shinfo(skb)->frags[0].page + offset. */ 36 /* This indicates where we are processing relative to skb->data. */ 39 /* This is non-zero if the packet cannot be merged with the new skb. */ 45 /* Used in ipv6_gro_receive() and foo-ove [all...] |
| /linux/fs/ceph/ |
| H A D | mds_client.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #define RECONNECT_MAX_SIZE (INT_MAX - PAGE_SIZE) 90 ceph_decode_64_safe(p, end, info->max_bytes, bad); in parse_reply_info_quota() 91 ceph_decode_64_safe(p, end, info->max_files, bad); in parse_reply_info_quota() 95 return -EIO; in parse_reply_info_quota() 108 if (features == (u64)-1) { in parse_reply_info_in() 123 info->in = *p; in parse_reply_info_in() 125 sizeof(*info->in->fragtree.splits) * in parse_reply_info_in() 126 le32_to_cpu(info->in->fragtree.nsplits); in parse_reply_info_in() 128 ceph_decode_32_safe(p, end, info->symlink_len, bad); in parse_reply_info_in() [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-deterministi [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 111 fprintf(stderr, "Usage: mptcp_connect [-6] [-c cmsg] [-f offset] [-i file] [-I num] [-j] [-l] " in die_usage() 112 "[-m mode] [-M mark] [-o option] [-p port] [-P mode] [-r num] [-R num] " in die_usage() 113 "[-s MPTCP|TCP] [-S num] [-t num] [-T num] [-w sec] connect_address\n"); in die_usage() 114 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage() 115 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n"); in die_usage() 116 fprintf(stderr, "\t-f offset -- stop the I/O after receiving and sending the specified amount " in die_usage() 117 "of bytes. If there are unread bytes in the receive queue, that will cause a MPTCP " in die_usage() 120 fprintf(stderr, "\t-i file -- read the data to send from the given file instead of stdin"); in die_usage() 121 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/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|
| /linux/Documentation/admin-guide/sysctl/ |
| H A D | kernel.rst | 5 .. See scripts/check-sysctl-docs to keep this up to date 13 Documentation/admin-guide/sysctl/index.rst. 15 ------------------------------------------------------------------------------ 39 If BSD-style process accounting is enabled these values control 71 The machine hardware name, the same output as ``uname -m`` 129 Ctrl-Alt-Delete). Writing a value to this file which doesn't 130 correspond to a running process will result in ``-ESRCH``. 132 See also `ctrl-alt-del`_. 237 ctrl-alt-del 240 When the value in this file is 0, ctrl-alt-del is trapped and [all …]
|
| /linux/fs/btrfs/ |
| H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/blk-cgroup.h> 17 #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/drivers/atm/ |
| H A D | eni.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* drivers/atm/eni.c - Efficient Networks ENI155P device driver */ 4 /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ 41 * - OAM support 42 * - fix bugs listed below 48 * - may run into JK-JK bug and deadlock 49 * - should allocate UBR channel first 50 * - buffer space allocation algorithm is stupid 53 * - doesn't support OAM cells 54 * - eni_put_free may hang if not putting memory fragments that _complete_ [all …]
|