Searched refs:code_templ (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/mapi/ |
D | entry_ppc64le_tsd.h | 123 static const uint32_t code_templ[] = { variable 179 static const uint64_t TEMPLATE_OFFSET_CURRENT_TABLE = sizeof(code_templ) - 3*8; 180 static const uint64_t TEMPLATE_OFFSET_CURRENT_TABLE_GET = sizeof(code_templ) - 2*8; 181 static const uint64_t TEMPLATE_OFFSET_SLOT = sizeof(code_templ) - 1*8; 198 code = u_execmem_alloc(sizeof(code_templ)); in entry_generate() 202 memcpy(code, code_templ, sizeof(code_templ)); in entry_generate()
|
D | entry_ppc64le_tls.h | 98 static const uint32_t code_templ[] = { variable 123 static const uint64_t TEMPLATE_OFFSET_TLS_ADDR = sizeof(code_templ) - 2*8; 124 static const uint64_t TEMPLATE_OFFSET_SLOT = sizeof(code_templ) - 1*8; 140 code = u_execmem_alloc(sizeof(code_templ)); in entry_generate() 144 memcpy(code, code_templ, sizeof(code_templ)); in entry_generate()
|
D | entry_x86_tls.h | 127 const char code_templ[16] = { in entry_generate_or_patch() local 135 size = sizeof(code_templ); in entry_generate_or_patch() 138 if (!code || size < sizeof(code_templ)) in entry_generate_or_patch() 141 memcpy(code, code_templ, sizeof(code_templ)); in entry_generate_or_patch()
|
D | entry_x86-64_tls.h | 105 const char code_templ[] = { in entry_generate() local 130 code = u_execmem_alloc(sizeof(code_templ)); in entry_generate() 134 memcpy(code, code_templ, sizeof(code_templ)); in entry_generate()
|
D | entry_x86_tsd.h | 137 const char *code_templ = x86_entry_end; in entry_generate() local 145 memcpy(code, code_templ, X86_ENTRY_SIZE); in entry_generate()
|