Lines Matching refs:rv
79 int rv; in test_read_invalid() local
83 rv = _vcpu_run(vcpu); in test_read_invalid()
84 TEST_ASSERT(rv < 0 && errno == EINVAL, in test_read_invalid()
86 rv); in test_read_invalid()
90 rv = _vcpu_run(vcpu); in test_read_invalid()
91 TEST_ASSERT(rv < 0 && errno == EINVAL, in test_read_invalid()
93 rv); in test_read_invalid()
100 int rv; in test_set_invalid() local
104 rv = _vcpu_run(vcpu); in test_set_invalid()
105 TEST_ASSERT(rv < 0 && errno == EINVAL, in test_set_invalid()
107 rv); in test_set_invalid()
111 rv = _vcpu_run(vcpu); in test_set_invalid()
112 TEST_ASSERT(rv < 0 && errno == EINVAL, in test_set_invalid()
114 rv); in test_set_invalid()
123 int rv; in test_req_and_verify_all_valid_regs() local
127 rv = _vcpu_run(vcpu); in test_req_and_verify_all_valid_regs()
128 TEST_ASSERT(rv == 0, "vcpu_run failed: %d\n", rv); in test_req_and_verify_all_valid_regs()
149 int rv; in test_set_and_verify_various_reg_values() local
163 rv = _vcpu_run(vcpu); in test_set_and_verify_various_reg_values()
164 TEST_ASSERT(rv == 0, "vcpu_run failed: %d\n", rv); in test_set_and_verify_various_reg_values()
186 int rv; in test_clear_kvm_dirty_regs_bits() local
195 rv = _vcpu_run(vcpu); in test_clear_kvm_dirty_regs_bits()
196 TEST_ASSERT(rv == 0, "vcpu_run failed: %d\n", rv); in test_clear_kvm_dirty_regs_bits()