| /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/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/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/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/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/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/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/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/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/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/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/xfs/ |
| H A D | xfs_log.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 88 atomic64_sub(bytes, &head->grant); in xlog_grant_sub_space() 96 atomic64_add(bytes, &head->grant); in xlog_grant_add_space() 103 atomic64_set(&head->grant, 0); in xlog_grant_head_init() 104 INIT_LIST_HEAD(&head->waiters); in xlog_grant_head_init() 105 spin_lock_init(&head->lock); in xlog_grant_head_init() 116 xlog_grant_sub_space(&log->l_reserve_head, diff); in xlog_grant_return_space() 117 xlog_grant_sub_space(&log->l_write_head, diff); in xlog_grant_return_space() 136 free_bytes = log->l_logsize - READ_ONCE(log->l_tail_space) - in xlog_grant_space_left() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | alternative.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <asm/text-patching.h> 12 #include <asm/insn-eval.h> 21 #define MAX_PATCH_LEN (255-1) 42 __setup("debug-alternative", debug_alt); 51 __setup("noreplace-smp", setup_noreplace_smp); 68 for (j = 0; j < (len) - 1; j++) \ 128 void *tmp = krealloc(pages->pages, (pages->num+1) * sizeof(void *), in __its_alloc() 133 pages->pages = tmp; in __its_alloc() 134 pages->pages[pages->num++] = page; in __its_alloc() [all …]
|
| /linux/security/smack/ |
| H A D | smack_lsm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Casey Schaufler <casey@schaufler-ca.com> 11 * Copyright (C) 2007 Casey Schaufler <casey@schaufler-ca.com> 12 * Copyright (C) 2009 Hewlett-Packard Development Company, L.P. 13 * Paul Moore <paul@paul-moore.com> 58 * SMACK64 - for access control, 59 * SMACK64TRANSMUTE - labe [all...] |
| /linux/Documentation/translations/sp_SP/ |
| H A D | memory-barriers.txt | 2 This is a version of Documentation/memory-barriers.txt translated into 35 consistencia de memoria formal y documentación en tools/memory-model/. Sin 53 Tenga en cuenta también que es posible que una barrera no valga (sea no-op) 63 - Operaciones del dispositivo. 64 - Garantías. 68 - Variedades de barrera de memoria. 69 - ¿Qué no se puede asumir sobre las barreras de memoria? 70 - Barreras de dirección-dependencia (históricas). 71 - Dependencias de control. 72 - Emparejamiento de barreras smp. [all …]
|
| /linux/net/ |
| H A D | socket.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 * Jeff Uphoff : Made max number of sockets command-line 47 * protocol-independent 55 #include <linux/bpf-cgroup.h> 142 struct socket *sock = f->private_data; in sock_show_fdinfo() 143 const struct proto_ops *ops = READ_ONCE(sock->op in sock_show_fdinfo() 366 init_once(void * foo) init_once() argument [all...] |
| /linux/drivers/net/ethernet/natsemi/ |
| H A D | ns83820.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Questions/comments/discussion to linux-ns83820@kvack.org. 16 * 20010414 0.1 - created 17 * 20010622 0.2 - basic rx and tx. 18 * 20010711 0.3 - added duplex and link state detection support. 19 * 20010713 0.4 - zero copy, no hangs. 20 * 0.5 - 64 bit dma support (davem will hate me for this) 21 * - disable jumbo frames to avoid tx hangs 22 * - work around tx deadlocks on my 1.02 card via 24 * 20010810 0.6 - use pci dma api for ringbuffers, work on ia64 [all …]
|
| /linux/kernel/module/ |
| H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 79 /* Work queue for freeing init sections in success case */ 85 .addr_min = -1UL, 106 if (min < tree->data_addr_min) in __mod_update_bounds() 107 tree->data_addr_min = min; in __mod_update_bounds() 108 if (max > tree->data_addr_max) in __mod_update_bounds() 109 tree->data_addr_max = max; in __mod_update_bounds() 113 if (min < tree->addr_min) in __mod_update_bounds() 114 tree->addr_min = min; in __mod_update_bounds() 115 if (max > tree->addr_max) in __mod_update_bounds() [all …]
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 7 * Copyright (C) 2005-2016 Broadcom Corporation. 8 * Copyright (C) 2016-2017 Broadcom Limited. 14 * Copyright (C) 2000-2016 Broadcom Corporation. 15 * Copyright (C) 2016-2017 Broadcom Ltd. 52 #include <linux/dma-mapping.h> 56 #include <linux/hwmon-sysfs.h> 94 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags) 96 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags) 98 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags) 124 * and dev->tx_timeout() should be called to fix the problem [all …]
|