Home
last modified time | relevance | path

Searched refs:expected_value (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_get_xattr.c17 static const char expected_value[] = "hello";
47 if (ret == sizeof(expected_value)) in BPF_PROG()
50 if (ret != sizeof(expected_value)) in BPF_PROG()
52 if (bpf_strncmp(value1, ret, expected_value)) in BPF_PROG()
73 if (ret == sizeof(expected_value))
76 if (ret != sizeof(expected_value))
78 if (bpf_strncmp(value2, ret, expected_value))
16 static const char expected_value[] = "hello"; global() variable
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_func_args.c19 int expected_value; in test_global_func_args0() member
31 const int expected_value = tests[i].expected_value; in test_global_func_args0() local
35 CHECK(err || actual_value != expected_value, tests[i].descr, in test_global_func_args0()
36 "err %d result %d expected %d\n", err, actual_value, expected_value); in test_global_func_args0()
/linux/tools/testing/selftests/livepatch/
H A Dfunctions.sh366 local expected_value="$1"; shift
370 if test "$value" != "$expected_value" ; then
371 die "Unexpected value in $path: $expected_value vs. $value"
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15_common.h100 #define SOC15_WAIT_ON_RREG(ip, inst, reg, expected_value, mask) \ argument
103 #reg, expected_value, mask)
105 #define SOC15_WAIT_ON_RREG_OFFSET(ip, inst, reg, offset, expected_value, mask) \ argument
108 #reg, expected_value, mask)
H A Damdgpu.h1380 uint32_t expected_value, uint32_t mask);
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh746 local expected_value=${bw##*:}
752 [ "$api_value" == "$expected_value" ]
753 check_err $? "Unexpected tc-bw value for tc$tc: $api_value != $expected_value"