Lines Matching refs:GADDR_V
218 #define GADDR_V(v) ._gaddr_v = 1, .gaddr_v = ((uintptr_t)v) macro
303 GADDR_V(mem1), KEY(key)); in default_write_read()
306 GADDR_V(mem2), KEY(key)); in default_write_read()
314 CHECK_N_DO(MOP, mop_cpu, mop_target, WRITE, mem1, size, GADDR_V(mem1)); in default_read()
317 GADDR_V(mem2), KEY(key)); in default_read()
334 size, GADDR_V(mem1 + offset), in default_cmpxchg()
338 MOP(test->vm, ABSOLUTE, READ, mem2, 16, GADDR_V(mem2)); in default_cmpxchg()
347 size, GADDR_V(mem1 + offset), in default_cmpxchg()
351 MOP(test->vm, ABSOLUTE, READ, mem2, 16, GADDR_V(mem2)); in default_cmpxchg()
393 GADDR_V(mem1), AR(1)); in test_copy_access_register()
397 GADDR_V(mem2), AR(1)); in test_copy_access_register()
680 MOP(t.vcpu, LOGICAL, WRITE, mem1, max_block, GADDR_V(mem2)); in test_cmpxchg_key_concurrent()
688 sizeof(new), GADDR_V(mem1), in test_cmpxchg_key_concurrent()
697 size, GADDR_V(mem2 + offset), in test_cmpxchg_key_concurrent()
706 MOP(t.vcpu, LOGICAL, READ, mem2, max_block, GADDR_V(mem2)); in test_cmpxchg_key_concurrent()
785 CHECK_N_DO(ERR_PROT_MOP, t.vcpu, LOGICAL, WRITE, mem1, t.size, GADDR_V(mem1), KEY(2)); in test_errors_key()
786 CHECK_N_DO(ERR_PROT_MOP, t.vcpu, LOGICAL, READ, mem2, t.size, GADDR_V(mem1), KEY(2)); in test_errors_key()
787 CHECK_N_DO(ERR_PROT_MOP, t.vm, ABSOLUTE, WRITE, mem1, t.size, GADDR_V(mem1), KEY(2)); in test_errors_key()
788 CHECK_N_DO(ERR_PROT_MOP, t.vm, ABSOLUTE, READ, mem2, t.size, GADDR_V(mem1), KEY(2)); in test_errors_key()
804 ERR_PROT_MOP(t.vm, ABSOLUTE, CMPXCHG, mem2, i, GADDR_V(mem2), in test_errors_cmpxchg_key()
823 ERR_PROT_MOP(t.vcpu, LOGICAL, WRITE, mem1, t.size, GADDR_V(mem1), KEY(1), INJECT); in test_termination()
852 CHECK_N_DO(ERR_PROT_MOP, t.vm, ABSOLUTE, WRITE, mem1, t.size, GADDR_V(mem1), KEY(2)); in test_errors_key_storage_prot_override()
853 CHECK_N_DO(ERR_PROT_MOP, t.vm, ABSOLUTE, READ, mem2, t.size, GADDR_V(mem2), KEY(2)); in test_errors_key_storage_prot_override()
897 MOP(t.vcpu, LOGICAL, WRITE, mem1, PAGE_SIZE, GADDR_V(mem1)); in test_copy_key_fetch_prot_override()
899 CHECK_N_DO(MOP, t.vcpu, LOGICAL, READ, mem2, 2048, GADDR_V(guest_0_page), KEY(2)); in test_copy_key_fetch_prot_override()
907 MOP(t.vcpu, LOGICAL, WRITE, mem1, 2 * PAGE_SIZE, GADDR_V(guest_last_page)); in test_copy_key_fetch_prot_override()
910 GADDR_V(guest_last_page), KEY(2)); in test_copy_key_fetch_prot_override()
932 CHECK_N_DO(ERR_PROT_MOP, t.vcpu, LOGICAL, READ, mem2, 2048, GADDR_V(0), KEY(2)); in test_errors_key_fetch_prot_override_not_enabled()
958 CHECK_N_DO(ERR_PROT_MOP, t.vcpu, LOGICAL, READ, mem2, 2048 + 1, GADDR_V(0), KEY(2)); in test_errors_key_fetch_prot_override_enabled()
960 GADDR_V(guest_last_page), KEY(2)); in test_errors_key_fetch_prot_override_enabled()
963 CHECK_N_DO(ERR_PROT_MOP, t.vm, ABSOLUTE, READ, mem2, 2048, GADDR_V(guest_0_page), KEY(2)); in test_errors_key_fetch_prot_override_enabled()
981 rv = ERR_MOP(info, target, WRITE, mem1, -1, GADDR_V(mem1)); in _test_errors_common()
985 rv = ERR_MOP(info, target, WRITE, mem1, 0, GADDR_V(mem1)); in _test_errors_common()
990 rv = ERR_MOP(info, target, WRITE, mem1, size, GADDR_V(mem1), SET_FLAGS(-1)); in _test_errors_common()
1000 rv = ERR_MOP(info, target, WRITE, 0, size, GADDR_V(mem1)); in _test_errors_common()
1005 rv = ERR_MOP(info, target, WRITE, mem1, size, GADDR_V(mem1), KEY(17)); in _test_errors_common()
1020 rv = ERR_MOP(t.vcpu, INVALID, WRITE, mem1, t.size, GADDR_V(mem1)); in test_errors()
1030 rv = ERR_MOP(t.vcpu, LOGICAL, WRITE, mem1, t.size, GADDR_V(mem1), AR(17)); in test_errors()
1059 rv = ERR_MOP(t.vm, ABSOLUTE, CMPXCHG, mem1, i, GADDR_V(mem1), in test_errors_cmpxchg()
1070 rv = ERR_MOP(t.vm, ABSOLUTE, CMPXCHG, mem1, i, GADDR_V(mem1 + 1), in test_errors_cmpxchg()