Searched refs:stb (Results 1 – 4 of 4) sorted by relevance
31 #define get_stub(stb) ({ \ argument33 ASSERT(!(stb).ptr); \34 (stb).addr = this_cpu(stubs.addr) + STUB_BUF_SIZE / 2; \35 memset(((stb).ptr = map_domain_page(_mfn(this_cpu(stubs.mfn)))) + \36 ((stb).addr & ~PAGE_MASK), 0xcc, STUB_BUF_SIZE / 2); \38 #define put_stub(stb) ({ \ argument39 if ( (stb).ptr ) \41 unmap_domain_page((stb).ptr); \42 (stb).ptr = NULL; \
172 : [stb] "r" (addr), "a" (tests[i].rax)); in stub_selftest()
27 #define get_stub(stb) ({ \ argument28 assert(!(stb).addr); \29 (void *)((stb).addr = (uintptr_t)(stb).buf); \31 #define put_stub(stb) ((stb).addr = 0) argument
3825 uint8_t *stb = get_stub(stub); in x86_emulate() local3828 stb[0] = 0xc4; in x86_emulate()3829 stb[1] = 0xe1; in x86_emulate()3830 stb[2] = cpu_has_avx512bw ? 0xf8 : 0x78; in x86_emulate()3831 stb[3] = 0x91; in x86_emulate()3832 stb[4] = evex.opmsk << 3; in x86_emulate()3834 stb[5] = 0xc3; in x86_emulate()
Completed in 22 milliseconds