Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/ci/
H A Dgitlab-ci.yml2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa
3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha 02337aec715c25dae7ff2479d986f831c77fe536
6 TARGET_BRANCH: drm-next
10 DEQP_RUNNER_GIT_URL: https://gitlab.freedesktop.org/mesa/deqp-runner.git
13 FDO_UPSTREAM_REPO: helen.fornazier/linux # The repo where the git-archive daily runs
14 MESA_TEMPLATES_COMMIT: &ci-templates-commit c6aeb16f86e32525fa630fb99c66c4f3e62fc3cb
16 CI_PRE_CLONE_SCRIPT: |-
17 set -o xtrace
18-L --retry 4 -f --retry-all-errors --retry-delay 60 -s ${DRM_CI_PROJECT_URL}/-/raw/${DRM_CI_COMMIT…
19 bash download-git-cache.sh
[all …]
/linux/drivers/net/dsa/mv88e6xxx/
H A Dleds.c1 // SPDX-License-Identifier: GPL-2.0-or-later
40 err = mv88e6xxx_port_led_read(p->chip, p->port, in mv88e6xxx_led_brightness_set()
67 return mv88e6xxx_port_led_write(p->chip, p->port, reg); in mv88e6xxx_led_brightness_set()
76 mv88e6xxx_reg_lock(p->chip); in mv88e6xxx_led0_brightness_set_blocking()
78 mv88e6xxx_reg_unlock(p->chip); in mv88e6xxx_led0_brightness_set_blocking()
89 mv88e6xxx_reg_lock(p->chip); in mv88e6xxx_led1_brightness_set_blocking()
91 mv88e6xxx_reg_unlock(p->chip); in mv88e6xxx_led1_brightness_set_blocking()
99 unsigned long rules; member
105 /* The following is a lookup table to check what rules we can support on a
106 * certain LED given restrictions such as that some rules only work with fiber
[all …]
/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/apparmor/
H A Dpolicy.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 1998-2008 Novell/SUSE
8 * Copyright 2009-2010 Canonical Ltd.
10 * AppArmor policy is based around profiles, which contain the rules a
13 * visible set of profiles or by following a profiles attachment rules.
15 * Each profile exists in a profile namespace which is a container of
21 * :namespace:profile - used by kernel interfaces for easy detection
22 * namespace://profile - used by policy
27 * unconfined - special automatically generated unconfined profile
28 * inherit - special name to indicate profile inheritance
[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/include/uapi/linux/
H A Dvfio.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
38 /* Two-stage IOMMU */
44 * The No-IOMMU IOMMU offers no translation or isolation for devices and
45 * supports no ioctls outside of VFIO_CHECK_EXTENSION. Use of VFIO's No-IOMMU
101 /* -------- IOCTLs for VFIO file descriptor (/dev/vfio/vfio) -------- */
104 * VFIO_GET_API_VERSION - _IO(VFIO_TYPE, VFIO_BASE + 0)
115 * VFIO_CHECK_EXTENSION - _IOW(VFIO_TYPE, VFIO_BASE + 1, __u32)
124 * VFIO_SET_IOMMU - _IOW(VFIO_TYPE, VFIO_BASE + 2, __s32)
131 * Return: 0 on success, -errno on failure
136 /* -------- IOCTLs for GROUP file descriptors (/dev/vfio/$GROUP) -------- */
[all …]
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 …]
/linux/include/drm/ttm/
H A Dttm_resource.h31 #include <linux/iosys-map.h>
32 #include <linux/dma-fence.h>
55 * define TTM_NUM_MOVE_FENCES - How many entities can be used for evictions
64 * enum ttm_lru_item_type - enumerate ttm_lru_item subclasses
74 * struct ttm_lru_item - The TTM lru list node base class
84 * ttm_lru_item_init() - initialize a struct ttm_lru_item
91 item->type = type; in ttm_lru_item_init()
92 INIT_LIST_HEAD(&item->link); in ttm_lru_item_init()
97 return item->type == TTM_LRU_RESOURCE; in ttm_lru_item_is_res()
114 * If the manager can't fulfill the request -ENOSPC should be returned.
[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/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/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)
24 /// Note that this may be `u64` even on 32-bit architectures.
42 unsafe fn dma_set_mask(&self, mask: DmaMask) -> Result { in dma_set_mask()
44 // - By the type invariant of `device::Device`, `self.as_ref().as_raw()` is valid. in dma_set_mask()
45 // - The safety requirement of this function guarantees that there are no concurrent calls in dma_set_mask()
59 unsafe fn dma_set_coherent_mask(&self, mask: DmaMask) -> Result { in dma_set_coherent_mask()
61 // - By the type invariant of `device::Device`, `self.as_ref().as_raw()` is valid. in dma_set_coherent_mask()
62 // - The safety requirement of this function guarantees that there are no concurrent calls in dma_set_coherent_mask()
78 unsafe fn dma_set_mask_and_coherent(&self, mask: DmaMask) -> Result { in dma_set_mask_and_coherent()
[all …]
/linux/arch/x86/kernel/fpu/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
50 * Track FPU initialization and kernel-mode usage. 'true' means the FPU is
63 if (WARN_ON_ONCE(task->flags & PF_KTHREAD)) in x86_task_fpu()
82 * - FPU is not yet initialized. This can happen only when the call is in irq_fpu_usable()
84 * - The kernel is already using the FPU, either because of explicit in irq_fpu_usable()
86 * nesting when a hardirq interrupted a kernel-mode FPU section. in irq_fpu_usable()
96 * - Task context except from within fpregs_lock()'ed critical in irq_fpu_usable()
99 * - Soft interrupt processing context which cannot happen in irq_fpu_usable()
123 if (fpu->fpstate->regs.xsave.header.xfeatures & AVX512_TRACKING_MASK) in update_avx_timestamp()
124 fpu->avx512_timestamp = jiffies; in update_avx_timestamp()
[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/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. */
21 /* MSI-X capability fields masks */
307 /* Per VF Port VLAN insertion rules */
445 #define WX_PX_TR_CFG_SWFLSH BIT(26) /* Tx Desc. wr-bk flushing */
513 #define WX_BT2KB(BT) (((BT) + (8 * 1024 - 1)) / (8 * 1024))
554 #define VMDQ_P(p) ((p) + wx->ring_feature[RING_F_VMDQ].offset)
623 /* Packet type non-ip values */
652 ((le32_to_cpu((_rxd)->wb.lower.lo_dword.data) >> 9) & 0xFF)
804 u8 buf_lenh_status; /* 7-5: high bits of buf_len, 4-0: status */
[all …]
/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.c1 // SPDX-License-Identifier: GPL-2.0
3 * Cadence USBSS DRD Driver - gadget side.
5 * Copyright (C) 2018-2019 Cadence Design Systems.
6 * Copyright (C) 2017-2018 NXP
32 * Controller for OUT endpoints has shared on-chip buffers for all incoming
37 * Additionally the packets directed to one endpoint can block entire on-chip
59 #include <linux/dma-mapping.h>
67 #include "gadget-export.h"
68 #include "cdns3-gadget.h"
69 #include "cdns3-trace.h"
[all …]
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c1 // SPDX-License-Identifier: GPL-2.0
3 * Cadence USBHS-DEV Driver - gadget side.
28 #include <linux/dma-mapping.h>
36 #include "cdns2-gadget.h"
37 #include "cdns2-trace.h"
40 * set_reg_bit_32 - set bit in given 32 bits register.
51 * clear_reg_bit_32 - clear bit in given 32 bits register.
80 dma_index = readl(&pdev->adma_regs->ep_traddr) - pep->ring.dma; in cdns2_get_dma_pos()
93 if (pdev->selected_ep == ep) in cdns2_select_ep()
96 pdev->selected_ep = ep; in cdns2_select_ep()
[all …]
/linux/kernel/sched/
H A Ddeadline.c1 // SPDX-License-Identifier: GPL-2.0
62 return dl_se->dl_server; in dl_server()
78 struct rq *rq = dl_se->rq; in rq_of_dl_se()
88 return &rq_of_dl_se(dl_se)->dl; in dl_rq_of_se()
93 return !RB_EMPTY_NODE(&dl_se->rb_node); in on_dl_rq()
99 return dl_se->pi_se; in pi_of()
122 return &cpu_rq(i)->rd->dl_bw; in dl_bw_of()
127 struct root_domain *rd = cpu_rq(i)->rd; in dl_bw_cpus()
132 return cpumask_weight_and(rd->span, cpu_active_mask); in dl_bw_cpus()
147 * XXX Fix: If 'rq->rd == def_root_domain' perform AC against capacity
[all …]

12