Lines Matching refs:read_val
34 uint64_t read_val[MAX_TPIDRS]; in test_tpidr() local
40 read_iov.iov_base = read_val; in test_tpidr()
50 write_val[0] = read_val[0]++; in test_tpidr()
56 ksft_test_result(ret == 0 && write_val[0] == read_val[0], in test_tpidr()
60 read_iov.iov_len = sizeof(read_val); in test_tpidr()
64 if (read_iov.iov_len >= sizeof(read_val)) in test_tpidr()
81 write_val[i] = read_val[i] + 1; in test_tpidr()
89 read_iov.iov_len = sizeof(read_val); in test_tpidr()
95 read_iov.iov_len >= sizeof(read_val) && in test_tpidr()
96 memcmp(read_val, write_val, in test_tpidr()
97 sizeof(read_val)) == 0, in test_tpidr()
102 read_iov.iov_len >= sizeof(read_val) && in test_tpidr()
103 read_val[0] == write_val[0] && in test_tpidr()
104 read_val[1] == 0, in test_tpidr()
110 memcpy(write_val, read_val, sizeof(read_val)); in test_tpidr()
116 read_iov.iov_len = sizeof(read_val); in test_tpidr()
121 read_iov.iov_len >= sizeof(read_val) && in test_tpidr()
122 memcmp(read_val, write_val, in test_tpidr()
123 sizeof(read_val)) == 0, in test_tpidr()