Searched refs:expected_value (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_get_xattr.c | 17 static const char expected_value[] = "hello"; variable 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)) in BPF_PROG() 76 if (ret != sizeof(expected_value)) in BPF_PROG() 78 if (bpf_strncmp(value2, ret, expected_value)) in BPF_PROG()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | global_func_args.c | 19 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 D | functions.sh | 355 # check_sysfs_value(modname, rel_path, expected_value) - check sysfs value 358 # expected_value - expected value read from the file 362 local expected_value="$1"; shift 366 if test "$value" != "$expected_value" ; then 367 die "Unexpected value in $path: $expected_value vs. $value"
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | soc15_common.h | 100 #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 D | amdgpu.h | 1359 uint32_t expected_value, uint32_t mask);
|
H A D | amdgpu_device.c | 7426 uint32_t expected_value, uint32_t mask) in amdgpu_device_wait_on_rreg() argument 7433 while ((tmp_ & (mask)) != (expected_value)) { in amdgpu_device_wait_on_rreg() 7445 inst, reg_name, (uint32_t)expected_value, in amdgpu_device_wait_on_rreg()
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | devlink.sh | 642 local expected_value=${bw##*:} 648 [ "$api_value" == "$expected_value" ] 649 check_err $? "Unexpected tc-bw value for tc$tc: $api_value != $expected_value"
|