Home
last modified time | relevance | path

Searched refs:mapi_func (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/mapi/
Dtable.h37 #define MAPI_TABLE_SIZE (MAPI_TABLE_NUM_SLOTS * sizeof(mapi_func))
41 extern const mapi_func table_noop_array[];
64 table_set_func(struct _glapi_table *tbl, int slot, mapi_func func) in table_set_func()
66 mapi_func *funcs = (mapi_func *) tbl; in table_set_func()
73 static inline mapi_func
76 const mapi_func *funcs = (const mapi_func *) tbl; in table_get_func()
Dentry_x86_tls.h96 static inline mapi_func
111 mapi_func
114 return (mapi_func) (x86_entry_start + slot * X86_ENTRY_SIZE); in entry_get_public()
118 entry_patch(mapi_func entry, int slot) in entry_patch()
121 *((unsigned long *) (code + 8)) = slot * sizeof(mapi_func); in entry_patch()
124 static inline mapi_func
132 mapi_func entry; in entry_generate_or_patch()
144 entry = (mapi_func) code; in entry_generate_or_patch()
150 mapi_func
Dentry_x86-64_tls.h85 mapi_func
88 return (mapi_func) (x86_64_entry_start + slot * 32); in entry_get_public()
92 entry_patch(mapi_func entry, int slot) in entry_patch()
99 *((unsigned int *) (code + offset)) = slot * sizeof(mapi_func); in entry_patch()
102 mapi_func
122 mapi_func entry; in entry_generate()
137 entry = (mapi_func) code; in entry_generate()
Dentry_ppc64le_tls.h82 mapi_func
85 return (mapi_func) (ppc64le_entry_start + slot * PPC64LE_ENTRY_SIZE); in entry_get_public()
127 entry_patch(mapi_func entry, int slot) in entry_patch()
131 *((uint64_t *) (code + TEMPLATE_OFFSET_SLOT)) = slot * sizeof(mapi_func); in entry_patch()
134 mapi_func
138 mapi_func entry; in entry_generate()
146 entry = (mapi_func) code; in entry_generate()
Dentry.h32 typedef void (*mapi_func)(void); typedef
37 mapi_func
40 mapi_func
44 entry_patch(mapi_func entry, int slot);
Dentry.c81 mapi_func
88 mapi_func
95 entry_patch(mapi_func entry, int slot) in entry_patch()
Dmapi_glapi.c243 table = malloc(num_entries * sizeof(mapi_func)); in _glapi_new_nop_table()
245 memcpy(table, table_noop_array, num_entries * sizeof(mapi_func)); in _glapi_new_nop_table()
Dstub.c43 mapi_func addr;
215 mapi_func
Dstub.h56 mapi_func