/linux/Documentation/netlink/specs/ |
H A D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 18 - 20 name: port-type 22 - 24 - [all …]
|
/linux/drivers/usb/gadget/function/ |
H A D | f_subset.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_subset.c -- "CDC Subset" Ethernet link function driver 5 * Copyright (C) 2003-2005,2008 David Brownell 20 * This function packages a simple "CDC Subset" Ethernet port with no real 22 * The data transfer model is exactly that of CDC Ethernet, which is 23 * why we call it the "CDC Subset". 27 * so simple (CDC Ethernet). The original versions of this protocol used 29 * SA-1100 "Itsy" board, which could run Linux 2.4 kernels and supported 37 * Subset" in terms of data transfer and lack of control model. This was 42 * descriptors to the CDC Subset code, making this code look like a SAFE [all …]
|
/linux/security/apparmor/ |
H A D | file.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * This file contains AppArmor mediation of files 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 40 * file_audit_cb - call back for file specific audit fields 42 * @va: audit struct to audit values of (NOT NULL) 48 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb() 51 if (ad->request & AA_AUDIT_FILE_MASK) { in file_audit_cb() 53 map_mask_to_chr_mask(ad->request)); in file_audit_cb() 56 if (ad->denied & AA_AUDIT_FILE_MASK) { in file_audit_cb() [all …]
|
/linux/Documentation/userspace-api/media/ |
H A D | glossary.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 9 The goal of this section is to standardize the terms used within the media 30 Unit of data transported by a bus. On parallel buses, the data unit 31 consists of one or more related samples while on serial buses the data 36 Part of the Linux Kernel that implements support for a hardware 41 transfer data in and out of a Kernel driver. 46 An API designed to control a subset of the :term:`Media Hardware` 55 optimized for the operational needs of digital signal processing. 58 **Field-programmable Gate Array** 63 See https://en.wikipedia.org/wiki/Field-programmable_gate_array. [all …]
|
/linux/drivers/usb/gadget/legacy/ |
H A D | ether.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * ether.c -- Ethernet gadget driver, with CDC and non-CDC options 5 * Copyright (C) 2003-2005,2008 David Brownell 6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger 26 * Ethernet gadget driver -- with CDC and non-CDC options 32 * this USB-IF standard as its open-systems interoperability solution; 36 * TLA-soup. "CDC ACM" (Abstract Control Model) is for modems, and a new 40 * implement a "minimalist" vendor-agnostic CDC core: same framing, but 41 * link-level setup only requires activating the configuration. Only the 44 * systems may not. (This is a subset of CDC Ethernet.) [all …]
|
/linux/Documentation/netlink/ |
H A D | genetlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 16 len-or-limit: 17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc. 19 pattern: ^[su](8|16|32|64)-(min|max)$ 24 description: Specification of a genetlink protocol [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | irq_affinity.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 10 pool->irqs_per_cpu[cpu]--; in cpu_put() 15 pool->irqs_per_cpu[cpu]++; in cpu_get() 22 int best_cpu = -1; in cpu_get_least_loaded() 27 if (!pool->irqs_per_cpu[cpu]) { in cpu_get_least_loaded() 33 if (pool->irqs_per_cpu[cpu] < pool->irqs_per_cpu[best_cpu]) in cpu_get_least_loaded() 36 if (best_cpu == -1) { in cpu_get_least_loaded() 38 mlx5_core_err(pool->dev, "NO online CPUs in req_mask (%*pbl)\n", in cpu_get_least_loaded() 42 pool->irqs_per_cpu[best_cpu]++; in cpu_get_least_loaded() 55 err = xa_alloc(&pool->irqs, &irq_index, NULL, pool->xa_num_irqs, GFP_KERNEL); in irq_pool_request_irq() [all …]
|
/linux/kernel/ |
H A D | cred.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Task credentials management - see Documentation/security/credentials.rst 25 printk("[%-5.5s%5u] " FMT "\n", \ 26 current->comm, current->pid, ##__VA_ARGS__) 31 no_printk("[%-5.5s%5u] " FMT "\n", \ 32 current->comm, current->pid, ##__VA_ARGS__); \ 38 /* init to 2 - one for init_task, one to ensure it is never freed */ 66 * The RCU callback to actually dispose of a set of credentials 74 if (atomic_long_read(&cred->usage) != 0) in put_cred_rcu() 76 cred, atomic_long_read(&cred->usage)); in put_cred_rcu() [all …]
|
/linux/include/uapi/linux/sched/ |
H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 * However, the possibility of specifying more than just a priority for 18 * the tasks may be useful for a wide variety of application fields, e.g., 27 * A subset of sched_attr attributes specifies the 30 * @size size of the structure, for fwd/bwd compat. 37 * predefined set of flags via the attribute: 41 * Sporadic Time-Constrained Task Attributes 44 * A subset of sched_attr attributes allows to describe a so-called 45 * sporadic time-constrained task. 48 * - the activation period or minimum instance inter-arrival time; [all …]
|
/linux/tools/perf/pmu-events/arch/x86/lunarlake/ |
H A D | frontend.json | 12 …s line or being redirected by a jump and the instruction cache registers bytes are not present. -", 21 … a subset of the Topdown Slots event that were no operation was delivered to the back-end pipeline… 25 …subset of the Topdown Slots event that were no operation was delivered to the back-end pipeline du…
|
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-cache.json | 9 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 21 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 27 …"BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derive… 33 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 45 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 57 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 69 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 81 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 87 …"BriefDescription": "ItoM write misses (as part of fast string memcpy stores) + PCIe full line wri… 93 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-cache.json | 9 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 21 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 27 …"BriefDescription": "LLC misses - demand and prefetch data reads - excludes LLC prefetches. Derive… 33 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 45 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 57 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 69 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 81 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… 87 …"BriefDescription": "ItoM write misses (as part of fast string memcpy stores) + PCIe full line wri… 93 …of entries successfully inserted into the TOR that match qualifications specified by the subevent… [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_tile.c | 1 // SPDX-License-Identifier: MIT 6 #include <linux/fault-inject.h> 22 * DOC: Multi-tile Design 25 * world, a 'tile' is pretty close to what most people would think of as being 27 * that's what is referred to as a "multi-tile device." In such cases, pretty 28 * much all hardware is replicated per-tile, although certain responsibilities 29 * like PCI communication, reporting of interrupts to the OS, etc. are handled 30 * solely by the "root tile." A multi-tile platform takes care of tying the 32 * are forwarded to the root tile, the per-tile vram is combined into a single 36 * the subset of a GPU/tile that is responsible for implementing graphics [all …]
|
/linux/include/linux/ceph/ |
H A D | ceph_frag.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * "Frags" are a way to describe a subset of a 32-bit number space, 8 * (subset of the number space) can be partitioned into 2^n sub-frags. 10 * Frags are encoded into a 32-bit word: 15 * We use the _most_ significant bits of the 24 bit value. This makes 25 (v & (0xffffffu << (24-b)) & 0xffffffu); in ceph_frag_make() 37 return (0xffffffu << (24-ceph_frag_bits(f))) & 0xffffffu; in ceph_frag_mask() 41 return 24 - ceph_frag_bits(f); in ceph_frag_mask_shift() 53 ceph_frag_value(f) | (i << (24 - newbits))); in ceph_frag_make_child()
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | ethtool.sh | 2 # SPDX-License-Identifier: GPL-2.0 56 # Check that when each of the reported speeds is forced, the links come 58 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0)) 72 ethtool -s $h2 autoneg on 73 ethtool -s $h1 autoneg on 82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0)) 94 log_test "force of different speeds autoneg off" 96 ethtool -s $h2 autoneg on 97 ethtool -s $h1 autoneg on 105 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1)) [all …]
|
/linux/kernel/cgroup/ |
H A D | cpuset-v1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include "cpuset-internal.h" 14 * Frequency meter - How fast is some event occurring? 18 * fmeter_init() - initialize a frequency meter. 19 * fmeter_markevent() - called each time the event happens. 20 * fmeter_getrate() - returns the recent rate of such events. 21 * fmeter_update() - internal routine used to update fmeter. 23 * A common data structure is passed to each of these routines, 24 * which is used to keep track of the state required to manage the 27 * The filter works on the number of events marked per unit time. [all …]
|
/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-cache.json | 15 …ed in Counter 0. The filtering available is found in the control register - threshold, invert an… 31 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 41 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 51 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 61 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 71 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 81 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 91 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 101 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 111 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… [all …]
|
/linux/Documentation/i2c/ |
H A D | summary.rst | 6 a protocol developed by Philips. It is a two-wire protocol with variable 8 an inexpensive bus for connecting many types of devices with infrequent or 14 The latest official I2C specification is the `"I²C-bus specification and user 15 manual" (UM10204) <https://www.nxp.com/docs/en/user-guide/UM10204.pdf>`_ 16 published by NXP Semiconductors, version 7 as of this writing. 19 a subset of I2C protocols and signaling. Many I2C devices will work on an 25 Because the SMBus is mostly a subset of the generalized I2C bus, we can 36 .. kernel-figure:: i2c_bus.svg 46 class of I2C controllers. Each specific controller driver either depends on an 59 video-related chips. [all …]
|
H A D | smbus-protocol.rst | 5 The following is a summary of the SMBus protocol. It applies to 6 all revisions of the protocol (1.0, 1.1, and 2.0). 8 this package are briefly described at the end of this document. 11 which is a subset from the I2C protocol. Fortunately, many devices use 12 only the same subset, which makes it possible to put them on an SMBus. 15 commands if at all possible (if the device uses only that subset of the 21 Below is a list of SMBus protocol operations, and the functions executing 23 don't match these function names. For some of the operations which pass a 49 high byte of a 16 bit word. 50 Count (8 bits) A data byte containing the length of a block operation. [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-cache.json | 15 …ed in Counter 0. The filtering available is found in the control register - threshold, invert an… 24 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 34 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 44 …of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. Th… 54 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 64 …of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. Th… 74 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 84 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 94 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 104 … "Counts the number of lines that were victimized on a fill. This can be filtered by the state th… [all …]
|
/linux/tools/testing/selftests/proc/ |
H A D | proc-subset-pid.c | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * Test that "mount -t proc -o subset=pid" hides everything but pids, 18 * /proc/self and /proc/thread-self. 42 if (unshare(CLONE_NEWNS) == -1) { in make_private_proc() 48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc() 51 if (mount(NULL, "/proc", "proc", 0, "subset=pid") == -1) { in make_private_proc() 88 if (streq(de->d_name, ".")) { in main() [all …]
|
/linux/arch/arm64/kernel/ |
H A D | compat_alignment.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * 32-bit misaligned trap handler (c) 1998 San Mehat (CCC) -July 1998 29 #define LDSTHD_I_BIT(i) (i & (1 << 22)) /* double/half-word immed */ 39 /* Thumb-2 32 bit format per ARMv7 DDI0406A A6.3, either f800h,e800h,f800h */ 58 offset.un = -offset.un; in do_alignment_finish_ldst() 64 regs->regs[RN_BITS(instr)] = addr; in do_alignment_finish_ldst() 75 /* ARMv7 Thumb-2 32-bit LDRD/STRD */ in do_alignment_ldrdstrd() 91 regs->regs[rd] = val; in do_alignment_ldrdstrd() 92 regs->regs[rd2] = val2; in do_alignment_ldrdstrd() 94 if (put_user(regs->regs[rd], (u32 __user *)addr) || in do_alignment_ldrdstrd() [all …]
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-feature.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 bpftool-feature 6 ------------------------------------------------------------------------------- 7 tool for inspection of eBPF-related parameters for Linux kernel or net device 8 ------------------------------------------------------------------------------- 36 Probe the running kernel and dump a number of eBPF-related parameters, such 37 as availability of the **bpf**\ () system call, JIT status, eBPF program 44 If the **macros** keyword (but not the **-j** option) is passed, a subset 45 of the output is dumped as a list of **#define** macros that are ready to 48 to the names of the macros: this can be used to avoid conflicts on macro [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | uncore-cache.json | 23 …ed in Counter 0. The filtering available is found in the control register - threshold, invert an… 32 …"PublicDescription": "Counts the number of cycles either the local distress or incoming distress s… 41 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 51 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 61 …of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. Th… 71 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 81 …er of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. … 91 …of times the LLC was accessed - this includes code, data, prefetches and hints coming from L2. Th… 101 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… 111 …"PublicDescription": "Counts the number of lines that were victimized on a fill. This can be filt… [all …]
|
/linux/kernel/irq/ |
H A D | ipi.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * irq_reserve_ipi() - Setup an IPI to destination cpumask 17 * @dest: cpumask of CPUs which can receive the IPI 32 return -EINVAL; in irq_reserve_ipi() 37 return -EINVAL; in irq_reserve_ipi() 43 return -EINVAL; in irq_reserve_ipi() 74 return -EINVAL; in irq_reserve_ipi() 78 virq = irq_domain_alloc_descs(-1, nr_irqs, 0, NUMA_NO_NODE, NULL); in irq_reserve_ipi() 81 return -ENOMEM; in irq_reserve_ipi() 94 cpumask_copy(data->common->affinity, dest); in irq_reserve_ipi() [all …]
|