Home
last modified time | relevance | path

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

/external/mesa3d/src/mapi/
Dtable.h38 #define MAPI_TABLE_SIZE (MAPI_TABLE_NUM_SLOTS * sizeof(mapi_func))
42 extern const mapi_func table_noop_array[];
65 table_set_func(struct _glapi_table *tbl, int slot, mapi_func func) in table_set_func()
67 mapi_func *funcs = (mapi_func *) tbl; in table_set_func()
74 static inline mapi_func
77 const mapi_func *funcs = (const mapi_func *) tbl; in table_get_func()
Dentry_x86_tsd.h74 mapi_func
77 return (mapi_func) (x86_entry_start + slot * X86_ENTRY_SIZE); in entry_get_public()
81 entry_patch(mapi_func entry, int slot) in entry_patch()
85 *((unsigned long *) (code + 11)) = slot * sizeof(mapi_func); in entry_patch()
86 *((unsigned long *) (code + 22)) = slot * sizeof(mapi_func); in entry_patch()
89 mapi_func
94 mapi_func entry; in entry_generate()
101 entry = (mapi_func) code; in entry_generate()
Dentry_x86-64_tls.h77 mapi_func
80 return (mapi_func) (x86_64_entry_start + slot * 32); in entry_get_public()
84 entry_patch(mapi_func entry, int slot) in entry_patch()
91 *((unsigned int *) (code + offset)) = slot * sizeof(mapi_func); in entry_patch()
94 mapi_func
114 mapi_func entry; in entry_generate()
129 entry = (mapi_func) code; in entry_generate()
Dentry_x86_tls.h100 mapi_func
103 return (mapi_func) (x86_entry_start + slot * 16); in entry_get_public()
107 entry_patch(mapi_func entry, int slot) in entry_patch()
110 *((unsigned long *) (code + 8)) = slot * sizeof(mapi_func); in entry_patch()
113 mapi_func
122 mapi_func entry; in entry_generate()
131 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_ppc64le_tsd.h117 mapi_func
120 return (mapi_func) (ppc64le_entry_start + slot * PPC64LE_ENTRY_SIZE); in entry_get_public()
184 entry_patch(mapi_func entry, int slot) in entry_patch()
189 *((uint64_t *) (code + TEMPLATE_OFFSET_SLOT)) = slot * sizeof(mapi_func); in entry_patch()
192 mapi_func
196 mapi_func entry; in entry_generate()
204 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.c87 mapi_func
94 mapi_func
101 entry_patch(mapi_func entry, int slot) in entry_patch()
Dmapi_glapi.c235 table = malloc(num_entries * sizeof(mapi_func)); in _glapi_new_nop_table()
237 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