Home
last modified time | relevance | path

Searched +full:container +full:- +full:rules (Results 1 – 25 of 33) sorted by relevance

12

/linux/tools/perf/Documentation/
H A Dperf-probe.txt1 perf-probe(1)
5 ----
6 perf-probe - Define new dynamic tracepoints
9 --------
11 'perf probe' [options] --add='PROBE' [...]
15 'perf probe' [options] --del='[GROUP:]EVENT' [...]
17 'perf probe' --list[=[GROUP:]EVENT]
19 'perf probe' [options] --line='LINE'
21 'perf probe' [options] --vars='PROBEPOINT'
23 'perf probe' [options] --funcs
[all …]
/linux/include/linux/crush/
H A Dcrush.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * CRUSH is a pseudo-random data distribution algorithm that
20 * https://www.ssrc.ucsc.edu/Papers/weil-sc06.pdf
39 * CRUSH uses user-defined "rules" to describe how inputs should be
73 #define CRUSH_CHOOSE_N_MINUS(x) (-(x))
99 * A bucket is a named container of other items (either devices or
106 * ------------------------------------------------
133 __u16 type; /* non-zero; type=0 is reserved for devices */
136 __u32 weight; /* 16-bit fixed point */
163 * __weight_set_size__, the weights found at __weight_set_size-1__ are
[all …]
/linux/Documentation/trace/
H A Dkprobetrace.rst2 Kprobe-based Event Tracing
8 --------
9 These events are similar to tracepoint-based events. Instead of tracepoints,
13 Unlike the tracepoint-based event, this can be added and removed
28 -------------------------
34 -:[GRP/][EVENT] : Clear a probe
50 @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol)
56 +|-[u]OFFS(FETCHARG) : Fetch memory at FETCHARG +|- OFFS address.(\*3)(\*4)
72 (\*4) "u" means user-space dereference. See :ref:`user_mem_access`.
75 -------------------------------
[all …]
/linux/Documentation/userspace-api/
H A Dlandlock.rst1 .. SPDX-License-Identifier: GPL-2.0
2 .. Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net>
3 .. Copyright © 2019-2020 ANSSI
4 .. Copyright © 2021-2022 Microsoft Corporation
16 new security layers in addition to the existing system-wide access-controls.
23 ``dmesg | grep landlock || journalctl -kb -g landlock`` .
29 Landlock rules
33 perform. A set of rules is aggregated in a ruleset, which can then restrict
36 The two existing types of rules are:
38 Filesystem rules
[all …]
/linux/Documentation/gpu/
H A Ddrm-vm-bind-async.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 * ``VRAM``: On-device memory. Sometimes referred to as device local memory.
16 an IOCTL. The operations include mapping and unmapping system- or
19 * ``syncobj``: A container that abstracts synchronization objects. The
20 synchronization objects can be either generic, like dma-fences or
24 * ``in-syncobj``: Argument to a VM_BIND IOCTL, the VM_BIND operation waits
27 * ``out-syncobj``: Argument to a VM_BIND_IOCTL, the VM_BIND operation
30 * ``dma-fence``: A cross-driver synchronization object. A basic
31 understanding of dma-fences is required to digest this
33 :doc:`dma-buf doc </driver-api/dma-buf>`.
[all …]
/linux/include/uapi/drm/
H A Dpvr_drm.h1 /* SPDX-License-Identifier: (GPL-2.0-only WITH Linux-syscall-note) OR MIT */
22 * - All members must be type-aligned.
23 * - The overall struct must be padded to 64-bit alignment.
24 * - Explicit padding is almost always required. This takes the form of
25 * ``_padding_[x]`` members of sufficient size to pad to the next power-of-two
29 * - Unions may only appear as the last member of a struct.
30 * - Individual union members may grow in the future. The space between the
36 * device and runtime. These structs are subject to the same rules set out
41 * struct drm_pvr_obj_array - Container used to pass arrays of objects
67 * DRM_PVR_OBJ_ARRAY() - Helper macro for filling &struct drm_pvr_obj_array.
[all …]
/linux/security/
H A Ddevice_cgroup.c1 // SPDX-License-Identifier: GPL-2.0
3 * device_cgroup.c - device cgroup subsystem
8 #include <linux/bpf-cgroup.h>
30 * exception list locking rules:
72 list_add_tail(&new->list, dest); in dev_exceptions_copy()
79 list_del(&ex->list); in dev_exceptions_copy()
82 return -ENOMEM; in dev_exceptions_copy()
92 list_move_tail(&ex->list, dest); in dev_exceptions_move()
108 return -ENOMEM; in dev_exception_add()
110 list_for_each_entry(walk, &dev_cgroup->exceptions, list) { in dev_exception_add()
[all …]
/linux/rust/kernel/
H A Ddma.rs1 // SPDX-License-Identifier: GPL-2.0
5 //! C header: [`include/linux/dma-mapping.h`](srctree/include/linux/dma-mapping.h)
28 /// # fn test(dev: &Device<Bound>) -> Result {
40 pub(crate) fn as_raw(self) -> crate::ffi::c_ulong { in as_raw()
45 pub fn contains(self, flags: Attrs) -> bool { in contains()
52 fn bitor(self, rhs: Self) -> Self::Output { in bitor()
59 fn bitand(self, rhs: Self) -> Self::Output { in bitand()
66 fn not(self) -> Self::Output { in not()
92 /// This is a hint to the DMA-mapping subsystem that it's probably not worth the time to try
96 /// This tells the DMA-mapping subsystem to suppress allocation failure reports (similarly to
[all …]
/linux/Documentation/userspace-api/netlink/
H A Dspecs.rst1 .. SPDX-License-Identifier: BSD-3-Clause
17 - the C uAPI header
18- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i…
19 - policy tables for input attribute validation
20 - operation tables
25 See :doc:`intro-specs` for a practical starting guide.
28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)``
40 - ``genetlink`` - most streamlined, should be used by all new families
41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing
45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 /* The size limit for a transmit buffer in a descriptor is (16K - 1).
24 #define ICE_MAX_DATA_PER_TXD (16 * 1024 - 1)
26 (~(ICE_MAX_READ_REQ_SIZE - 1) & ICE_MAX_DATA_PER_TXD)
46 * ice_compute_pad - compute the padding
59 return SKB_WITH_OVERHEAD(half_page_size) - rx_buf_len; in ice_compute_pad()
63 * ice_skb_pad - determine the padding that we can supply
77 * cache-line alignment. in ice_skb_pad()
85 rx_buf_len -= NET_IP_ALIGN; in ice_skb_pad()
112 (u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
[all …]
H A Dice_ethtool.c1 // SPDX-License-Identifier: GPL-2.0
35 return ((np->vsi->alloc_txq + np->vsi->alloc_rxq) * in ice_q_stats_len()
94 * The PF_STATs are appended to the netdev stats only when ethtool -S
328 u32 bitno; /* bit position in pf->flags */
337 ICE_PRIV_FLAG("link-down-on-close", ICE_FLAG_LINK_DOWN_ON_CLOSE_ENA),
338 ICE_PRIV_FLAG("fw-lldp-agent", ICE_FLAG_FW_LLDP_AGENT),
339 ICE_PRIV_FLAG("vf-true-promisc-support",
341 ICE_PRIV_FLAG("mdd-auto-reset-vf", ICE_FLAG_MDD_AUTO_RESET_VF),
342 ICE_PRIV_FLAG("vf-vlan-pruning", ICE_FLAG_VF_VLAN_PRUNING),
343 ICE_PRIV_FLAG("legacy-rx", ICE_FLAG_LEGACY_RX),
[all …]
/linux/include/uapi/linux/
H A Dlandlock.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Landlock - User space API
5 * Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net>
6 * Copyright © 2018-2020 ANSSI
7 * Copyright © 2021-2025 Microsoft Corporation
16 * struct landlock_ruleset_attr - Ruleset definition.
27 * add new rules with this access right, the bit must still be set explicitly
67 /* clang-format off */
70 /* clang-format on */
113 * important security events. It is useful for container runtimes or
[all …]
H A Dethtool.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
26 * have the same layout for 32-bit and 64-bit userland.
38 * struct ethtool_cmd - DEPRECATED, link control and status
43 * interface supports autonegotiation or auto-detection.
44 * Read-onl
[all...]
H A Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2025 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
95 * Frame registration is done on a per-interface basis and registrations
137 * software, like the AP-VLA
[all...]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c1 // SPDX-License-Identifier: GPL-2.0+
53 itr->offset = offset; in vcap_iter_set()
54 itr->sw_width = sw_width; in vcap_iter_set()
55 itr->regs_per_sw = DIV_ROUND_UP(sw_width, 32); in vcap_iter_set()
56 itr->tg = tg; in vcap_iter_set()
62 * A typegroup table ends with an all-zero terminator. in vcap_iter_skip_tg()
64 while (itr->tg->width && itr->offset >= itr->tg->offset) { in vcap_iter_skip_tg()
65 itr->offset += itr->tg->width; in vcap_iter_skip_tg()
66 itr->tg++; /* next typegroup */ in vcap_iter_skip_tg()
75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update()
[all …]
/linux/Documentation/arch/arm64/
H A Dacpi_object_usage.rst16 - Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP, SPCR, XSDT
18 - Recommended: BERT, EINJ, ERST, HEST, PCCT, SSDT
20 - Optional: AGDI, BGRT, CEDT, CPEP, CSRT, DBG2, DRTM, ECDT, FACS, FPDT,
24 - Not supported: AEST, APMT, BOOT, DBGP, DMAR, ETDT, HPET, IVRS, LPIT,
41 This table describes a non-maskable event, that is used by the platform
68 Optional, not currently supported, with no real use-case for an
83 time as ARM-compatible hardware is available, and the specification
151 UEFI-based; if it is UEFI-based, this table may be supplied. When this
167 the hardware reduced profile, and only 64-bit address fields will
184 filled in properly - that the PSCI_COMPLIANT flag is set and that
[all …]
/linux/drivers/acpi/acpica/
H A Dexstore.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: exstore - AML Interpreter object store support
6 * Copyright (C) 2000 - 2025, Intel Corp.
35 * PARAMETERS: *source_desc - Value to be stored
36 * *dest_desc - Where to store it. Must be an NS node
39 * walk_state - Current walk state
46 * the destination operand -- not just simply the actual "Store"
86 switch (dest_desc->common.type) { in acpi_ex_store()
93 /* Allow stores to Constants -- a Noop as per ACPI spec */ in acpi_ex_store()
95 if (dest_desc->common.flags & AOPOBJ_AML_CONSTANT) { in acpi_ex_store()
[all …]
/linux/kernel/time/
H A Dtimer.c1 // SPDX-License-Identifier: GPL-2.0
7 * 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better.
9 * 1997-09-10 Updated NTP code according to technical memorandum Jan '96
11 * 1998-12-24 Fixed a xtime SMP race (we need the xtime_lock rw spinlock to
14 * 1999-03-10 Improved NTP compatibility by Ulrich Windl
15 * 2002-05-31 Move sys_sysinfo here and make its locking sane, Robert Love
16 * 2000-10-05 Implemented scalable SMP per-CPU timer handling.
33 #include <linux/posix-timers.h>
54 #include "tick-internal.h"
106 * 0 0 1 ms 0 ms - 63 ms
[all …]
H A Dposix-cpu-timers.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/posix-timers.h>
20 #include "posix-timers.h"
28 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init()
29 pct->timers_active = true; in posix_cputimers_group_init()
35 * tsk->signal->posix_cputimers.bases[clock].nextevt expiration cache if
39 * Returns 0 on success, -ESRCH on failure. Can fail if the task is exiting and
48 return -ESRCH; in update_rlimit_cpu()
102 ret = pid_for_clock(clock, false) ? 0 : -EINVAL; in validate_clock_permissions()
115 return pid_task(timer->it.cpu.pid, clock_pid_type(timer->it_clock)); in cpu_timer_task_rcu()
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.h3 * Copyright 2009-2013 Broadcom Corporation
10 * at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html (the "GPL").
49 u32 cap; /* SR-IOV Capabilities */
50 u16 ctrl; /* SR-IOV Control */
81 /* VLAN-MACs object */
86 /* Queue Slow-path State object */
96 /* struct bnx2x_vf_queue_construct_params - prepare queue construction
97 * parameters: q-init, q-setup and SB index
157 * - xxq_count = 0 as the queues memory is not allocated yet.
159 * - sb_count = The number of status blocks configured for this VF in
[all …]
/linux/drivers/dma-buf/
H A Ddma-resv.c1 // SPDX-License-Identifier: MIT
3 * Copyright (C) 2012-2014 Canonical Ltd (Maarten Lankhorst)
8 * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
25 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
33 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
36 #include <linux/dma-resv.h>
37 #include <linux/dma-fence-array.h>
47 * The reservation object provides a mechanism to manage a container of
52 * locked write-side updates.
76 tmp = (long)rcu_dereference_check(list->table[index], in dma_resv_list_entry()
[all …]
/linux/include/linux/
H A Dperf_event.h4 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de>
5 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar
6 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra
12 * For licencing details see kernel-base/COPYING
21 * Kernel-internal data types and definitions:
30 # include <linux/rhashtable-types.h>
92 return frag->pad < sizeof(u64); in perf_raw_frag_last()
100 * -1ULL means invalid/unknown.
110 * The hw_idx index is between -1 (unknown) and max depth,
130 int idx; /* index in shared_regs->regs[] */
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dmcdi_pcol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2009-2018 Solarflare Communications Inc.
5 * Copyright 2019-2020 Xilinx Inc.
13 /* Power-on reset state */
35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */
38 /* The rest of these are firmware-defined */
46 /* Values to be written to the per-port status dword in shared
71 * | | \--- Response
72 * | \------- Error
73 * \------------------------------ Resync (always set)
[all …]
/linux/net/ipv4/
H A Dfib_frontend.c1 // SPDX-License-Identifier: GPL-2.0-or-later
58 return -ENOMEM; in fib4_rules_init()
64 hlist_add_head_rcu(&local_table->tb_hlist, in fib4_rules_init()
65 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX]); in fib4_rules_init()
66 hlist_add_head_rcu(&main_table->tb_hlist, in fib4_rules_init()
67 &net->ipv in fib4_rules_init()
[all...]
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_type.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */
20 /* MSI-X capability fields masks */
292 /* Per VF Port VLAN insertion rules */
427 #define WX_PX_TR_CFG_SWFLSH BIT(26) /* Tx Desc. wr-bk flushing */
491 #define WX_BT2KB(BT) (((BT) + (8 * 1024 - 1)) / (8 * 1024))
532 #define VMDQ_P(p) ((p) + wx->ring_feature[RING_F_VMDQ].offset)
608 /* Packet type non-ip values */
637 ((le32_to_cpu((_rxd)->wb.lower.lo_dword.data) >> 9) & 0xFF)
783 u8 buf_lenh_status; /* 7-5: high bits of buf_len, 4-0: status */
[all …]

12