Searched refs:scratch (Results 1 – 6 of 6) sorted by relevance
/kvm-unit-tests/x86/ |
H A D | svm_tests.c | 123 asm volatile ("mov %%cr3, %0" : "=r"(test->scratch) : : "memory"); in test_cr3_intercept() 133 return null_check(test) && test->scratch == read_cr3(); in check_cr3_nointercept() 141 while (!__sync_bool_compare_and_swap(&test->scratch, 1, 2)) in corrupt_cr3_intercept_bypass() 160 test->scratch = 1; in test_cr3_intercept_bypass() 161 while (test->scratch != 2) in test_cr3_intercept_bypass() 166 test->scratch = a; in test_cr3_intercept_bypass() 185 asm volatile ("mov %%dr0, %0" : "=r"(test->scratch) : : "memory"); in test_dr_intercept() 188 asm volatile ("mov %%dr1, %0" : "=r"(test->scratch) : : "memory"); in test_dr_intercept() 191 asm volatile ("mov %%dr2, %0" : "=r"(test->scratch) : : "memory"); in test_dr_intercept() 194 asm volatile ("mov %%dr3, %0" : "=r"(test->scratch) : : "memory"); in test_dr_intercept() [all …]
|
H A D | svm.c | 109 return test->scratch; in get_test_stage() 115 test->scratch = s; in set_test_stage() 122 test->scratch++; in inc_test_stage()
|
H A D | svm_npt.c | 42 test->scratch = rdmsr(MSR_EFER); in npt_nx_prepare() 43 wrmsr(MSR_EFER, test->scratch | EFER_NX); in npt_nx_prepare() 57 wrmsr(MSR_EFER, test->scratch); in npt_nx_check()
|
H A D | svm.h | 384 ulong scratch; member
|
/kvm-unit-tests/s390x/ |
H A D | spec_ex.c | 51 uint64_t scratch; in load_psw() local 62 : [scratch] "=&d" (scratch), in load_psw() 71 uint64_t scratch; in load_short_psw() local 78 : [scratch] "=&d" (scratch), in load_short_psw()
|
H A D | sclp.c | 159 uint8_t scratch[LC_SIZE]; in test_sccb_prefix() local 174 memcpy(scratch, (void *)(intptr_t)prefix, LC_SIZE); in test_sccb_prefix()
|