Lines Matching refs:write_val
35 uint64_t write_val[MAX_TPIDRS]; in test_tpidr() local
41 write_iov.iov_base = write_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()
79 write_iov.iov_len = sizeof(write_val); in test_tpidr()
81 write_val[i] = read_val[i] + 1; in test_tpidr()
85 write_iov.iov_len == sizeof(write_val), in test_tpidr()
96 memcmp(read_val, write_val, in test_tpidr()
103 read_val[0] == write_val[0] && in test_tpidr()
110 memcpy(write_val, read_val, sizeof(read_val)); in test_tpidr()
111 write_val[0] += 1; in test_tpidr()
122 memcmp(read_val, write_val, in test_tpidr()