/linux/tools/testing/selftests/kselftest_harness/ |
H A D | harness-selftest.expected | 2 1..9 5 # harness-selftest.c:19:standalone_pass:before 6 # harness-selftest.c:23:standalone_pass:after 8 ok 1 global.standalone_pass 10 # harness-selftest.c:27:standalone_fail:before 11 # harness-selftest.c:29:standalone_fail:Expected 0 (0) == 1 (1) 12 # harness-selftest.c:30:standalone_fail:Expected 0 (0) == 1 (1) 17 # harness-selftest.c:35:signal_pass:before 18 # harness-selftest.c:37:signal_pass:after 22 # harness-selftest.c:42:signal_fail:before [all …]
|
/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A 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/tools/perf/tests/ |
H A 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/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A 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 …]
|
H A 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 …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A 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/arch/mips/cavium-octeon/executive/ |
H A 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 38 * Returns fuse value: 0 or 1 46 read_cmd.s.pend = 1; in cvmx_fuse_read_byte() 56 * as running early in u-boot static/global variables don't work when 64 char pass[4]; in octeon_model_get_string_buffer() local 84 fus_dat3.s.nodfa_dte = 1; in octeon_model_get_string_buffer() 85 fus_dat3.s.nozip = 1; in octeon_model_get_string_buffer() 88 fus_dat3.s.nodfa_dte = 1; in octeon_model_get_string_buffer() [all …]
|
/linux/arch/mips/include/asm/sibyte/ |
H A 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/tools/testing/selftests/bpf/progs/ |
H A 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 …]
|
H A 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 modifie in ctx_pointer_to_helper_1() [all...] |
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | csum.json | 16 1, 23 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 800 ref", 24 "matchCount": "1", 43 1, 50 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 7 ref", 51 "matchCount": "1", 70 1, 77 "matchPattern": "action order [0-9]*: csum \\(iph\\) action pass.*index 1122 ref", 78 "matchCount": "1", 97 1, [all …]
|
/linux/tools/testing/selftests/net/ |
H A 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 …]
|
H A 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 …]
|
H A D | rtnetlink.sh | 5 # set -e 37 devdummy="test-dummy0" 47 if [ $ret -eq 0 ]; then 48 ret=$1 50 [ -n "$2" ] && echo "$2" 53 # same but inverted -- used when command must fail for test to pass 56 if [ $1 -e [all...] |
/linux/tools/testing/selftests/arm64/fp/ |
H A D | fp-ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 #include "fp-ptrace.h" 205 if (config->svcr_in & SVCR_SM) in vl_in() 206 vl = config->sme_vl_in; in vl_in() 208 vl = config->sve_vl_in; in vl_in() 217 if (config->svcr_expected & SVCR_SM) in vl_expected() 218 vl = config->sme_vl_expected; in vl_expected() 220 vl = config->sve_vl_expected; in vl_expected() 237 ret = prctl(PR_SVE_SET_VL, config->sve_vl_in); in run_child() 238 if (ret != config->sve_vl_in) { in run_child() [all …]
|
/linux/Documentation/devicetree/bindings/iio/filter/ |
H A D | adi,admv8818.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ADMV8818 Digitally Tunable, High-Pass and Low-Pass Filter 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 15 The device features four independently controlled high-pass 16 filters (HPFs) and four independently controlled low-pass filters 24 - adi,admv8818 27 maxItems: 1 29 spi-max-frequency: [all …]
|
/linux/tools/testing/selftests/tc-testing/ |
H A 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/net/netfilter/ipvs/ |
H A 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/tools/testing/selftests/arm64/gcs/ |
H A D | basic-gcs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include "gcs-util.h" 35 * The prctl takes 1 argument but we need to ensure that the in gcs_set_status() 49 ret = -EINVAL; in gcs_set_status() 59 ret = -EINVAL; in gcs_set_status() 189 bool pass = true; in map_guarded_stack() local 199 ksft_print_msg("Mapped GCS at %p-%p\n", buf, in map_guarded_stack() 203 elem = (page_size / sizeof(uint64_t)) - 1; in map_guarded_stack() 206 pass = false; in map_guarded_stack() 210 elem--; in map_guarded_stack() [all …]
|
/linux/drivers/gpu/drm/ast/ |
H A 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/sound/soc/renesas/rcar/ |
H A D | ctu.c | 1 // SPDX-License-Identifier: GPL-2.0 16 * CTUn_CPMDR : amixser set "CTU Pass" 22 * [CTU Pass] 25 * 0010: Connect input data of channel 1 33 * 1010: Connect calculated data by scale values of matrix row 1 50 * ----------------------------------------------------------------------- 53 * H'40_0000 1 0 H'C0_0000 1 0 55 * H'00_0001 2.38 x 10^-7 -132 56 * H'00_0000 0 Mute H'FF_FFFF 2.38 x 10^-7 -132 59 * Ex) Input ch -> Output ch [all …]
|