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.c16 static const char expected_value[] = "hello"; variable
34 if (ret != sizeof(expected_value)) in BPF_PROG()
36 if (bpf_strncmp(value1, ret, expected_value)) in BPF_PROG()
56 if (ret != sizeof(expected_value)) in BPF_PROG()
58 if (bpf_strncmp(value2, ret, expected_value)) in BPF_PROG()
/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.sh339 local expected_value="$1"; shift
343 if test "$value" != "$expected_value" ; then
344 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.h1218 uint32_t expected_value, uint32_t mask);
H A Damdgpu_device.c6582 uint32_t expected_value, uint32_t mask) in amdgpu_device_wait_on_rreg() argument
6589 while ((tmp_ & (mask)) != (expected_value)) { in amdgpu_device_wait_on_rreg()
6599 inst, reg_name, (uint32_t)expected_value, in amdgpu_device_wait_on_rreg()