/linux-6.12.1/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp2_transition.c | 34 struct mod_hdcp_connection *conn = &hdcp->connection; in mod_hdcp_hdcp2_transition() 35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp2_transition() 39 if (input->hdcp2version_read != PASS || in mod_hdcp_hdcp2_transition() 40 input->hdcp2_capable_check != PASS) { in mod_hdcp_hdcp2_transition() 41 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition() 50 if (input->create_session != PASS || in mod_hdcp_hdcp2_transition() 51 input->ake_init_prepare != PASS) { in mod_hdcp_hdcp2_transition() 53 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition() 56 } else if (input->ake_init_write != PASS) { in mod_hdcp_hdcp2_transition() 65 if (input->ake_cert_available != PASS) { in mod_hdcp_hdcp2_transition() [all …]
|
D | hdcp1_transition.c | 34 struct mod_hdcp_connection *conn = &hdcp->connection; in mod_hdcp_hdcp1_transition() 35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; in mod_hdcp_hdcp1_transition() 39 if (input->bksv_read != PASS || input->bcaps_read != PASS) { in mod_hdcp_hdcp1_transition() 40 /* 1A-04: repeatedly attempts on port access failure */ in mod_hdcp_hdcp1_transition() 49 if (input->create_session != PASS) { in mod_hdcp_hdcp1_transition() 51 adjust->hdcp1.disable = 1; in mod_hdcp_hdcp1_transition() 54 } else if (input->an_write != PASS || in mod_hdcp_hdcp1_transition() 55 input->aksv_write != PASS || in mod_hdcp_hdcp1_transition() 56 input->bksv_read != PASS || in mod_hdcp_hdcp1_transition() 57 input->bksv_validation != PASS || in mod_hdcp_hdcp1_transition() [all …]
|
/linux-6.12.1/tools/perf/tests/ |
D | time-utils-test.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include "time-utils.h" 73 .first_sample_time = d->first, in test__perf_time__parse_for_ranges() 74 .last_sample_time = d->last, in test__perf_time__parse_for_ranges() 79 bool pass = false; in test__perf_time__parse_for_ranges() local 82 pr_debug("\nperf_time__parse_for_ranges(\"%s\")\n", d->str); in test__perf_time__parse_for_ranges() 84 if (strchr(d->str, '%')) in test__perf_time__parse_for_ranges() 86 d->first, d->last); in test__perf_time__parse_for_ranges() 88 err = perf_time__parse_for_ranges(d->str, &session, &ptime, &range_size, in test__perf_time__parse_for_ranges() 95 if (range_size < d->num || range_num != d->num) { in test__perf_time__parse_for_ranges() [all …]
|
/linux-6.12.1/tools/testing/selftests/tc-testing/tc-tests/filters/ |
D | matchall.json | 4 "name": "Add ingress matchall filter for protocol ipv4 and action PASS", 15 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 17 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 18 …Pattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref 1 b… 19 "matchCount": "1", 26 "name": "Add egress matchall filter for protocol ipv4 and action PASS", 35 "$TC qdisc add dev $DUMMY root handle 1: prio" 37 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 39 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall", 40 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … [all …]
|
D | fw.json | 4 "name": "Add fw filter with prio at 32-bit maxixum", 15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok", 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw", 18 "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass", 19 "matchCount": "1", 26 "name": "Add fw filter with prio exceeding 32-bit maxixum", 37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok", 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw", 40 "matchPattern": "pref 65536 fw.*handle 0x1.*gact action pass", 59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", [all …]
|
D | cgroup.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c… 18 …"matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u8 at 0 la… 19 "matchCount": "1", 26 "name": "Add cgroup filter with cmp ematch u8/link layer with trans flag and pass action", 37 …dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'cmp(u8 at 0 layer link mask 0xff … 40 …"matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u8 at 0 la… 41 "matchCount": "1", 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 cgroup match 'c… 62 …"matchPattern": "^filter protocol ip pref [0-9]+ cgroup chain [0-9]+.*handle 0x1.*cmp\\(u16 at 0 l… 63 "matchCount": "1", [all …]
|
/linux-6.12.1/tools/testing/selftests/net/forwarding/ |
D | lib_sh_test.sh | 2 # SPDX-License-Identifier: GPL-2.0 17 local msg=$1; shift 40 pass() function 91 local expect_ret=$1; shift 92 local expect_retmsg=$1; shift 93 local -a tests=( "$@" ) 95 local status_names=(pass fail xfail xpass skip) 111 log_test "RET $(echo ${tests[@]}) -> ${status_names[$ret]}" 146 local expect_exit_status=$1; shift 147 local tests=$1; shift [all …]
|
/linux-6.12.1/arch/mips/cavium-octeon/executive/ |
D | octeon-model.c | 7 * Copyright (c) 2003-2017 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 37 * Returns fuse value: 0 or 1 45 read_cmd.s.pend = 1; in cvmx_fuse_read_byte() 55 * as running early in u-boot static/global variables don't work when 63 char pass[4]; in octeon_model_get_string_buffer() local 83 fus_dat3.s.nodfa_dte = 1; in octeon_model_get_string_buffer() 84 fus_dat3.s.nozip = 1; in octeon_model_get_string_buffer() 87 fus_dat3.s.nodfa_dte = 1; in octeon_model_get_string_buffer() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_migrate_reuseport.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * 1. If reuse_md->migrating_sk is NULL (SYN packet), 7 * 2. If reuse_md->migrating_sk is not NULL (socket migration), 47 void *data_end = (void *)(long)xdp->data_end; in drop_ack() 48 void *data = (void *)(long)xdp->data; in drop_ack() 52 if (eth + 1 > data_end) in drop_ack() 53 goto pass; in drop_ack() 55 switch (bpf_ntohs(eth->h_proto)) { in drop_ack() 57 struct iphdr *ip = (struct iphdr *)(eth + 1); in drop_ack() 59 if (ip + 1 > data_end) in drop_ack() [all …]
|
D | verifier_ctx.c | 1 // SPDX-License-Identifier: GPL-2.0 33 offsetof(struct __sk_buff, data) - offsetof(struct __sk_buff, mark)), in make_ptr_to_ctx_unusable() 39 __description("pass unmodified ctx pointer to helper") 54 __description("pass modified ctx pointer to helper, 1") 55 __failure __msg("negative offset ctx ptr R1 off=-612 disallowed") 59 r1 += -612; \ in ctx_pointer_to_helper_1() 70 __description("pass modified ctx pointer to helper, 2") 71 __failure __msg("negative offset ctx ptr R1 off=-612 disallowed") 72 __failure_unpriv __msg_unpriv("negative offset ctx ptr R1 off=-612 disallowed") 76 r1 += -612; \ in ctx_pointer_to_helper_2() [all …]
|
/linux-6.12.1/arch/mips/include/asm/sibyte/ |
D | sb1250_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * SB1250 specification level: User's manual 1/02/02 24 * 'long long' (64-bit integer) support. 45 * #if SIBYTE_HDR_FEATURE(chip,pass) 54 * Note also that 'chip' and 'pass' must textually exactly 59 * #if SIBYTE_HDR_FEATURE_UP_TO(chip,pass) 64 * #if SIBYTE_HDR_FEATURE_EXACT(chip,pass) 98 #define SIBYTE_HDR_FMASK(chip, pass) \ argument 99 (SIBYTE_HDR_FMASK_ ## chip ## _ ## pass) 121 #define SIBYTE_HDR_FMASK_BEFORE(chip, pass) \ argument [all …]
|
/linux-6.12.1/tools/testing/selftests/tc-testing/tc-tests/actions/ |
D | ctinfo.json | 16 1, 23 "matchPattern": "action order [0-9]*: ctinfo zone 0 pipe.*index 10 ref", 24 "matchCount": "1", 43 1, 50 …"matchPattern": "action order [0-9]*: ctinfo zone 0 pipe.*index 100 ref.*dscp 0xfc000000 0x0100000… 51 "matchCount": "1", 70 1, 74 "cmdUnderTest": "$TC action add action ctinfo cpmark 0x01000000 zone 1 index 1", 76 "verifyCmd": "$TC action get action ctinfo index 1", 77 "matchPattern": "action order [0-9]*: ctinfo zone 1 pipe.*index 1 ref.*cpmark 0x01000000", [all …]
|
D | gact.json | 4 "name": "Add valid pass action", 16 1, 20 "cmdUnderTest": "$TC actions add action pass index 8", 23 "matchPattern": "action order [0-9]*: gact action pass.*index 8 ref", 24 "matchCount": "1", 43 1, 50 "matchPattern": "action order [0-9]*: gact action pipe.*index 6 ref", 51 "matchCount": "1", 70 1, 77 "matchPattern": "action order [0-9]*: gact action reclassify.*index 5 ref", [all …]
|
D | connmark.json | 16 1, 23 "matchPattern": "action order [0-9]+: connmark zone 0 pipe", 24 "matchCount": "1", 31 "name": "Add valid connmark action with control pass", 43 1, 47 "cmdUnderTest": "$TC actions add action connmark pass index 1", 49 "verifyCmd": "$TC actions get action connmark index 1", 50 "matchPattern": "action order [0-9]+: connmark zone 0 pass.*index 1 ref", 51 "matchCount": "1", 70 1, [all …]
|
D | ife.json | 4 "name": "Create valid ife encode action with mark and pass control", 16 1, 20 "cmdUnderTest": "$TC actions add action ife encode allow mark pass index 2", 23 …"matchPattern": "action order [0-9]*: ife encode action pass.*type 0[xX]ED3E.*allow mark.*index 2", 24 "matchCount": "1", 43 1, 50 … "matchPattern": "action order [0-9]*: ife encode action pipe.*type 0[xX]ED3E.*use mark.*index 2", 51 "matchCount": "1", 70 1, 77 …"matchPattern": "action order [0-9]*: ife encode action continue.*type 0[xX]ED3E.*allow mark.*inde… [all …]
|
/linux-6.12.1/tools/testing/selftests/arm64/fp/ |
D | fp-ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 #include "fp-ptrace.h" 179 if (config->svcr_in & SVCR_SM) in vl_in() 180 vl = config->sme_vl_in; in vl_in() 182 vl = config->sve_vl_in; in vl_in() 191 if (config->svcr_expected & SVCR_SM) in vl_expected() 192 vl = config->sme_vl_expected; in vl_expected() 194 vl = config->sve_vl_expected; in vl_expected() 211 ret = prctl(PR_SVE_SET_VL, config->sve_vl_in); in run_child() 212 if (ret != config->sve_vl_in) { in run_child() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | recovery_passes.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include "super-io.h" 30 /* Fake recovery pass, so that scan_for_btree_nodes isn't 0: */ 38 struct journal_keys *keys = &c->journal_keys; in bch2_set_may_go_rw() 42 * setting journal_key->overwritten: it will be accessed by multiple in bch2_set_may_go_rw() 45 move_gap(keys, keys->nr); in bch2_set_may_go_rw() 47 set_bit(BCH_FS_may_go_rw, &c->flags); in bch2_set_may_go_rw() 49 if (keys->nr || c->opts.fsck || !c->sb.clean || c->opts.recovery_passes) in bch2_set_may_go_rw() 71 static enum bch_recovery_pass_stable bch2_recovery_pass_to_stable(enum bch_recovery_pass pass) in bch2_recovery_pass_to_stable() argument 73 return passes_to_stable_map[pass]; in bch2_recovery_pass_to_stable() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | sctp_vrf.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # TOPO: CLIENT_NS1 (veth1) <---> (veth1) -> vrf_s1 7 # CLIENT_NS2 (veth1) <---> (veth2) -> vrf_s2 11 CLIENT_IP6="2000::1" 23 ip net exec $CLIENT_NS1 sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 24 ip net exec $CLIENT_NS2 sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 25 ip net exec $SERVER_NS sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 27 ip -n $SERVER_NS link add veth1 type veth peer name veth1 netns $CLIENT_NS1 28 ip -n $SERVER_NS link add veth2 type veth peer name veth1 netns $CLIENT_NS2 30 ip -n $CLIENT_NS1 link set veth1 up [all …]
|
D | netdevice.sh | 2 # SPDX-License-Identifier: GPL-2.0 11 # Kselftest framework requirement - SKIP code is 4. 19 netdev=$1 21 ip link show "$netdev" |grep -q UP 22 if [ $? -eq 0 ];then 28 if [ $? -ne 0 ];then 30 return 1 32 echo "PASS: $netdev: set interface up" 33 NETDEV_STARTED=1 43 netdev=$1 [all …]
|
/linux-6.12.1/tools/testing/selftests/tc-testing/ |
D | TdcPlugin.py | 6 print(' -- {}.__init__'.format(self.sub_class)) 12 if self.args.verbose > 1: 13 print(' -- {}.pre_suite'.format(self.sub_class)) 18 if self.args.verbose > 1: 19 print(' -- {}.post_suite'.format(self.sub_class)) 23 if self.args.verbose > 1: 24 print(' -- {}.pre_case'.format(self.sub_class)) 30 if self.args.verbose > 1: 31 print(' -- {}.post_case'.format(self.sub_class)) 34 '''run command before test-runner does the execute step''' [all …]
|
/linux-6.12.1/arch/powerpc/net/ |
D | bpf_jit_comp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <asm/asm-compat.h> 21 #include <asm/code-patching.h> 32 if (!exit_addr || is_offset_in_branch_range(exit_addr - (ctx->idx * 4))) { in bpf_jit_emit_exit_insn() 34 } else if (ctx->alt_exit_addr) { in bpf_jit_emit_exit_insn() 35 if (WARN_ON(!is_offset_in_branch_range((long)ctx->alt_exit_addr - (ctx->idx * 4)))) in bpf_jit_emit_exit_insn() 36 return -1; in bpf_jit_emit_exit_insn() 37 PPC_JMP(ctx->alt_exit_addr); in bpf_jit_emit_exit_insn() 39 ctx->alt_exit_addr = ctx->idx * 4; in bpf_jit_emit_exit_insn() 71 int pass; in bpf_int_jit_compile() local [all …]
|
/linux-6.12.1/net/netfilter/ipvs/ |
D | ip_vs_wrr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * IPVS: Weighted Round-Robin Scheduling module 10 * Wensong Zhang : changed for the d-linked destination list 28 * - mw: maximum weight 29 * - di: weight step, greatest common divisor from all weights 30 * - cw: current required weight 35 * Last pass should be with cw = di. We have mw/di passes in total: 37 * pass 1: cw = max weight 38 * pass 2: cw = max weight - di 39 * pass 3: cw = max weight - 2 * di [all …]
|
/linux-6.12.1/drivers/gpu/drm/ast/ |
D | ast_ddc.c | 1 // SPDX-License-Identifier: MIT 13 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 24 #include <linux/i2c-algo-bit.h> 43 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_setsda() 48 ujcrb7 = ((state & 0x01) ? 0 : 1) << 2; in ast_ddc_algo_bit_data_setsda() 59 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_setscl() 64 ujcrb7 = ((state & 0x01) ? 0 : 1); in ast_ddc_algo_bit_data_setscl() 75 struct ast_device *ast = ddc->ast; in ast_ddc_algo_bit_data_pre_xfer() 79 * by acquiring the I/O-register lock. in ast_ddc_algo_bit_data_pre_xfer() 81 mutex_lock(&ast->modeset_lock); in ast_ddc_algo_bit_data_pre_xfer() [all …]
|
/linux-6.12.1/fs/jbd2/ |
D | recovery.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright 1999-2000 Red Hat Software --- All Rights Reserved 41 struct recovery_info *info, enum passtype pass); 50 while (--n >= 0) in journal_brelse_array() 63 * the readahead size, though. 128K is a purely arbitrary, good-enough 78 max = start + (128 * 1024 / journal->j_blocksize); in do_readahead() 79 if (max > journal->j_total_len) in do_readahead() 80 max = journal->j_total_len; in do_readahead() 96 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize); in do_readahead() 98 err = -ENOMEM; in do_readahead() [all …]
|
/linux-6.12.1/tools/testing/selftests/kselftest/ |
D | ksft.py | 1 # SPDX-License-Identifier: GPL-2.0 10 ksft_cnt = {"pass": 0, "fail": 0, "skip": 0} 12 ksft_test_number = 1 15 KSFT_FAIL = 1 26 print("1..{}".format(num_tests)) 31 …f"# Totals: pass:{ksft_cnt['pass']} fail:{ksft_cnt['fail']} xfail:0 xpass:0 skip:{ksft_cnt['skip']… 47 ksft_test_number += 1 52 ksft_cnt["pass"] += 1 57 ksft_cnt["fail"] += 1 62 ksft_cnt["skip"] += 1 [all …]
|