/linux-6.14.4/kernel/kcsan/ |
D | permissive.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Special rules for ignoring entire classes of data-racy memory accesses. None 4 * of the rules here imply that such data races are generally safe! 6 * All rules in this file can be configured via CONFIG_KCSAN_PERMISSIVE. Keep 20 * Access ignore rules based on address. 28 * Data-racy bitops on current->flags are too common, ignore completely in kcsan_ignore_address() 31 return ptr == ¤t->flags; in kcsan_ignore_address() 35 * Data race ignore rules based on access type and value change patterns. 44 * Rules here are only for plain read accesses, so that we still report in kcsan_ignore_data_race() 45 * data races between plain read-write accesses. in kcsan_ignore_data_race() [all …]
|
/linux-6.14.4/Documentation/filesystems/ |
D | directory-locking.rst | 7 kinds of locks - per-inode (->i_rwsem) and per-filesystem 8 (->s_vfs_rename_mutex). 10 When taking the i_rwsem on multiple non-directory objects, we 20 1. read access. Locking rules: 24 2. object creation. Locking rules: 28 3. object removal. Locking rules: 34 4. link creation. Locking rules: 40 5. rename that is _not_ cross-directory. Locking rules: 45 The source needs to be locked if it's a non-directory, target - if it's 46 a non-directory or about to be removed. [all …]
|
/linux-6.14.4/drivers/net/ethernet/marvell/prestera/ |
D | prestera_matchall.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2019-2022 Marvell International Ltd. All rights reserved */ 21 err = prestera_flower_prio_get(block, f->common.chain_index, in prestera_mall_prio_check() 23 if (err == -ENOENT) in prestera_mall_prio_check() 28 NL_SET_ERR_MSG(f->common.extack, "Failed to get flower priorities"); in prestera_mall_prio_check() 32 if (f->common.prio <= flower_prio_max && !block->ingress) { in prestera_mall_prio_check() 33 NL_SET_ERR_MSG(f->common.extack, "Failed to add in front of existing flower rules"); in prestera_mall_prio_check() 34 return -EOPNOTSUPP; in prestera_mall_prio_check() 36 if (f->common.prio >= flower_prio_min && block->ingress) { in prestera_mall_prio_check() 37 NL_SET_ERR_MSG(f->common.extack, "Failed to add behind of existing flower rules"); in prestera_mall_prio_check() [all …]
|
D | prestera_flower.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 19 prestera_acl_ruleset_put(template->ruleset); in prestera_flower_template_free() 20 list_del(&template->list); in prestera_flower_template_free() 29 list_for_each_entry_safe(template, tmp, &block->template_list, list) in prestera_flower_template_cleanup() 41 if (act->chain_index <= chain_index) in prestera_flower_parse_goto_action() 43 return -EINVAL; in prestera_flower_parse_goto_action() 45 if (rule->re_arg.jump.valid) in prestera_flower_parse_goto_action() 46 return -EEXIST; in prestera_flower_parse_goto_action() 48 ruleset = prestera_acl_ruleset_get(block->sw->acl, block, in prestera_flower_parse_goto_action() 49 act->chain_index); in prestera_flower_parse_goto_action() [all …]
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_matchall.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2017-2020 Mellanox Technologies. All rights reserved */ 18 list_for_each_entry(mall_entry, &block->mall.list, list) in mlxsw_sp_mall_entry_find() 19 if (mall_entry->cookie == cookie) in mlxsw_sp_mall_entry_find() 30 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_mall_port_mirror_add() 36 if (!mall_entry->mirror.to_dev) { in mlxsw_sp_mall_port_mirror_add() 38 return -EINVAL; in mlxsw_sp_mall_port_mirror_add() 41 agent_parms.to_dev = mall_entry->mirror.to_dev; in mlxsw_sp_mall_port_mirror_add() 42 err = mlxsw_sp_span_agent_get(mlxsw_sp, &mall_entry->mirror.span_id, in mlxsw_sp_mall_port_mirror_add() 50 mall_entry->ingress); in mlxsw_sp_mall_port_mirror_add() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/ |
D | dts-coding-style.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 should be considered complementary to any rules expressed already in 12 Individual architectures and subarchitectures can define additional rules, 16 --------------------------- 24 * Lowercase characters: [a-z] 25 * Digits: [0-9] 26 * Dash: - 30 * Lowercase characters: [a-z] 31 * Digits: [0-9] 42 gpi_dma2: dma-controller@a00000 { [all …]
|
/linux-6.14.4/drivers/net/phy/mediatek/ |
D | mtk-phy-lib.c | 1 // SPDX-License-Identifier: GPL-2.0 22 unsigned long rules, in mtk_phy_led_hw_is_supported() argument 26 return -EINVAL; in mtk_phy_led_hw_is_supported() 29 if (rules & ~supported_triggers) in mtk_phy_led_hw_is_supported() 30 return -EOPNOTSUPP; in mtk_phy_led_hw_is_supported() 37 unsigned long *rules, u16 on_set, in mtk_phy_led_hw_ctrl_get() argument 44 struct mtk_socphy_priv *priv = phydev->priv; in mtk_phy_led_hw_ctrl_get() 48 return -EINVAL; in mtk_phy_led_hw_ctrl_get() 54 return -EIO; in mtk_phy_led_hw_ctrl_get() 60 return -EIO; in mtk_phy_led_hw_ctrl_get() [all …]
|
D | mtk.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Common definition for Mediatek Ethernet PHYs 73 unsigned long rules, 76 unsigned long rules, u16 on_set, 79 unsigned long *rules, u16 on_set,
|
/linux-6.14.4/security/apparmor/ |
D | capability.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 42 * audit_cb - call back for capability components of audit struct 51 audit_log_untrustedstring(ab, capability_names[sa->u.cap]); in audit_cb() 55 * audit_caps - audit a capability 64 * Returns: 0 or ad->error on success, error code on failure 71 struct aa_ruleset *rules = list_first_entry(&profile->rules, in audit_caps() local 72 typeof(*rules), list); in audit_caps() 76 ad->error = error; in audit_caps() [all …]
|
/linux-6.14.4/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_tc_flower.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 #define SPX5_MAX_RULE_SIZE 13 /* allows X1, X2, X4, X6 and X12 rules */ 19 /* Collect keysets and type ids for multiple rules per size */ 39 /* SparX-5 VCAP fragment types: 41 * 2 = suspicious fragment, 3 = valid follow-up fragment 57 /* 0/0 0/1 1/0 1/1 <-- first_frag */ 65 switch (st->tpid) { in sparx5_tc_flower_es0_tpid() 67 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_es0_tpid() 72 err = vcap_rule_add_key_u32(st->vrule, in sparx5_tc_flower_es0_tpid() 77 NL_SET_ERR_MSG_MOD(st->fco->common.extack, in sparx5_tc_flower_es0_tpid() [all …]
|
/linux-6.14.4/drivers/gpu/drm/etnaviv/ |
D | state_blt.xml.h | 6 This file was generated by the rules-ng-ng headergen tool in this git repository: 7 http://0x04.net/cgit/index.cgi/rules-ng-ng 8 git clone git://0x04.net/rules-ng-ng 10 The rules-ng-ng source files this header was generated from are: 11 - state.xml ( 29355 bytes, from 2024-01-19 10:18:54) 12 - common.xml ( 35664 bytes, from 2023-12-06 10:55:32) 13 - common_3d.xml ( 15069 bytes, from 2023-11-22 10:05:24) 14 - state_hi.xml ( 35854 bytes, from 2023-12-11 15:50:17) 15 - copyright.xml ( 1597 bytes, from 2016-11-10 13:58:32) 16 - state_2d.xml ( 52271 bytes, from 2023-06-02 12:35:03) [all …]
|
/linux-6.14.4/drivers/net/ethernet/netronome/nfp/flower/ |
D | main.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ 89 * struct nfp_fl_tunnel_offloads - priv data for tunnel offloads 109 * struct nfp_tun_neigh_lag - lag info 119 * struct nfp_tun_neigh - basic neighbour data 122 * @port_id: NFP port to output packet on - associated with source IPv4 131 * struct nfp_tun_neigh_ext - extended neighbour data 143 * struct nfp_tun_neigh_v4 - neighbour/route entry on the NFP for IPv4 146 * @common: Neighbour/route common info 153 struct nfp_tun_neigh common; member [all …]
|
D | conntrack.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 30 * get_hashentry() - Wrapper around hashtable lookup. 51 return ERR_PTR(-ENOMEM); in get_hashentry() 59 struct flow_dissector *dissector = rule->match.dissector; in is_pre_ct_flow() 64 if (dissector->used_keys & BIT_ULL(FLOW_DISSECTOR_KEY_CT)) { in is_pre_ct_flow() 66 if (ct.key->ct_state) in is_pre_ct_flow() 70 if (flow->common.chain_index) in is_pre_ct_flow() 73 flow_action_for_each(i, act, &flow->rule->action) { in is_pre_ct_flow() 74 if (act->id == FLOW_ACTION_CT) { in is_pre_ct_flow() 78 if ((!act->ct.action || act->ct.action == TCA_CT_ACT_NAT)) in is_pre_ct_flow() [all …]
|
/linux-6.14.4/Documentation/dev-tools/ |
D | clang-format.rst | 3 clang-format 6 ``clang-format`` is a tool to format C/C++/... code according to 7 a set of rules and heuristics. Like most tools, it is not perfect 10 ``clang-format`` can be used for several purposes: 12 - Quickly reformat a block of code to the kernel style. Specially useful 15 - Spot style mistakes, typos and possible improvements in files 18 - Help you follow the coding style rules, specially useful for those 22 Its configuration file is ``.clang-format`` in the root of the kernel tree. 23 The rules contained there try to approximate the most common kernel 24 coding style. They also try to follow :ref:`Documentation/process/coding-style.rst <codingstyle>` [all …]
|
/linux-6.14.4/drivers/gpu/drm/ci/ |
D | gitlab-ci.yml | 2 DRM_CI_PROJECT_PATH: &drm-ci-project-path mesa/mesa 3 DRM_CI_COMMIT_SHA: &drm-ci-commit-sha c6a9a9c3bce90923f7700219354e0b6e5a3c9ba6 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 d5aa3941aa03c2f716595116354fb81eb8012acb 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-6.14.4/Documentation/sound/designs/ |
D | tracepoints.rst | 19 ------------------------------------ 25 ----------------------------------------------------- 53 - SNDRV_PCM_HW_PARAM_ACCESS 54 - SNDRV_PCM_HW_PARAM_FORMAT 55 - SNDRV_PCM_HW_PARAM_SUBFORMAT 61 - SNDRV_PCM_HW_PARAM_SAMPLE_BITS 62 - SNDRV_PCM_HW_PARAM_FRAME_BITS 63 - SNDRV_PCM_HW_PARAM_CHANNELS 64 - SNDRV_PCM_HW_PARAM_RATE 65 - SNDRV_PCM_HW_PARAM_PERIOD_TIME [all …]
|
/linux-6.14.4/drivers/net/netdevsim/ |
D | fib.c | 6 * June 1991 as shown in the file COPYING in the top-level directory of this 42 struct nsim_fib_entry rules; member 82 struct nsim_fib_rt common; member 89 struct nsim_fib_rt common; member 143 entry = &fib_data->ipv4.fib; in nsim_fib_get_val() 146 entry = &fib_data->ipv4.rules; in nsim_fib_get_val() 149 entry = &fib_data->ipv6.fib; in nsim_fib_get_val() 152 entry = &fib_data->ipv6.rules; in nsim_fib_get_val() 155 entry = &fib_data->nexthops; in nsim_fib_get_val() 161 return max ? entry->max : atomic64_read(&entry->num); in nsim_fib_get_val() [all …]
|
/linux-6.14.4/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_tc_flower.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 switch (st->admin->vtype) { in lan966x_tc_is_known_etype() 37 NL_SET_ERR_MSG_MOD(st->fco->common.extack, in lan966x_tc_is_known_etype() 48 struct netlink_ext_ack *extack = st->fco->common.extack; in lan966x_tc_flower_handler_control_usage() 52 flow_rule_match_control(st->frule, &match); in lan966x_tc_flower_handler_control_usage() 53 if (match.mask->flags & FLOW_DIS_IS_FRAGMENT) { in lan966x_tc_flower_handler_control_usage() 54 if (match.key->flags & FLOW_DIS_IS_FRAGMENT) in lan966x_tc_flower_handler_control_usage() 55 err = vcap_rule_add_key_bit(st->vrule, in lan966x_tc_flower_handler_control_usage() 59 err = vcap_rule_add_key_bit(st->vrule, in lan966x_tc_flower_handler_control_usage() 66 if (match.mask->flags & FLOW_DIS_FIRST_FRAG) { in lan966x_tc_flower_handler_control_usage() [all …]
|
/linux-6.14.4/drivers/net/phy/ |
D | phy-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * phy_speed_to_str - Return a string representing the PHY link speed 57 return "Unsupported (update phy-core.c)"; in phy_speed_to_str() 63 * phy_duplex_to_str - Return string describing the duplex 75 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str() 80 * phy_rate_matching_to_str - Return a string describing the rate matching 94 return "open-loop"; in phy_rate_matching_to_str() 96 return "Unsupported (update phy-core.c)"; in phy_rate_matching_to_str() 101 * phy_interface_num_ports - Return the number of links that can be carried by 102 * a given MAC-PHY physical link. Returns 0 if this is [all …]
|
/linux-6.14.4/security/selinux/ss/ |
D | policydb.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 * Copyright (C) 2004-2005 Trusted Computer Solutions, Inc. 17 * Copyright (C) 2003-2004 Tresys Technology, LLC 34 * common prefixes for access vectors, classes, 43 /* Attributes of a common prefix for access vectors */ 45 u32 value; /* internal common value */ 46 struct symtab permissions; /* common permissions */ 52 char *comkey; /* common name */ 53 struct common_datum *comdatum; /* common datum */ 54 struct symtab permissions; /* class-specific permission symbol table */ [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/leds/ |
D | leds-cr0014114.txt | 1 Crane Merchandising System - cr0014114 LED driver 2 ------------------------------------------------- 8 - compatible: "crane,cr0014114" 10 Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt 11 apply. In particular, "reg" and "spi-max-frequency" properties must be given. 13 LED sub-node properties: 14 - function : 15 see Documentation/devicetree/bindings/leds/common.txt 16 - color : 17 see Documentation/devicetree/bindings/leds/common.txt [all …]
|
/linux-6.14.4/tools/testing/selftests/mm/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 12 uname_M := $(shell uname -m 2>/dev/null || echo not) 14 uname_M := $(shell echo $(CROSS_COMPILE) | grep -o '^[a-z0-9]\+') 16 ARCH ?= $(shell echo $(uname_M) | sed -e 's/aarch64.*/arm64/' -e 's/ppc64.*/powerpc/') 19 # Without this, failed build products remain, with up-to-date timestamps, 24 # Avoid accidental wrong builds, due to built-in rules working just a little 25 # bit too well--but not quite as well as required for our situation here. 29 # However, the built-in rules, if not suppressed, will pick up CFLAGS and the 30 # initial LDLIBS (but not the target-specific LDLIBS, because those are only 34 MAKEFLAGS += --no-builtin-rules [all …]
|
/linux-6.14.4/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 1 // SPDX-License-Identifier: GPL-2.0 12 list_for_each_entry(rule, &priv->flow_block.rules, list) in sja1105_rule_find() 13 if (rule->cookie == cookie) in sja1105_rule_find() 24 if (!priv->flow_block.l2_policer_used[i]) in sja1105_find_free_l2_policer() 27 return -1; in sja1105_find_free_l2_policer() 38 struct dsa_switch *ds = priv->ds; in sja1105_setup_bcast_policer() 46 return -ENOMEM; in sja1105_setup_bcast_policer() 48 rule->cookie = cookie; in sja1105_setup_bcast_policer() 49 rule->type = SJA1105_RULE_BCAST_POLICER; in sja1105_setup_bcast_policer() 50 rule->bcast_pol.sharindx = sja1105_find_free_l2_policer(priv); in sja1105_setup_bcast_policer() [all …]
|
/linux-6.14.4/Documentation/userspace-api/gpio/ |
D | gpio-get-linehandle-ioctl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 gpio-v2-get-line-ioctl.rst. 16 GPIO_GET_LINEHANDLE_IOCTL - Request a line or lines from the kernel. 55 .. _gpio-get-linehandle-config-rules: 57 Configuration Rules 58 ------------------- 60 The following configuration rules apply: 65 line is requested "as-is" to allow reading of the line value without altering 71 If none are set then the line is assumed push-pull. 80 .. _gpio-get-linehandle-config-support: [all …]
|
/linux-6.14.4/Documentation/admin-guide/cgroup-v1/ |
D | blkio-controller.rst | 22 ----------------------------- 33 mount -t cgroup -o blkio none /sys/fs/cgroup/blkio 45 # dd iflag=direct if=/mnt/common/zerofile of=/dev/null bs=4K count=1024 98 -------------------------------- 106 see Documentation/block/bfq-iosched.rst. 110 weight. For more details, see Documentation/block/bfq-iosched.rst. 152 are further divided by the type of operation - read or write, sync 159 are further divided by the type of operation - read or write, sync 173 the type of operation - read or write, sync or async. First two fields 186 (there might be a time lag here due to re-ordering of requests by the [all …]
|