Searched refs:mapi_func (Results 1 – 9 of 9) sorted by relevance
39 #define MAPI_TABLE_SIZE (MAPI_TABLE_NUM_SLOTS * sizeof(mapi_func))41 extern const mapi_func table_noop_array[];56 table_set_func(struct mapi_table *tbl, int slot, mapi_func func) in table_set_func()58 mapi_func *funcs = (mapi_func *) tbl; in table_set_func()65 static INLINE mapi_func68 const mapi_func *funcs = (const mapi_func *) tbl; in table_get_func()
71 mapi_func74 return (mapi_func) (x86_entry_start + slot * X86_ENTRY_SIZE); in entry_get_public()78 entry_patch(mapi_func entry, int slot) in entry_patch()82 *((unsigned long *) (code + 11)) = slot * sizeof(mapi_func); in entry_patch()83 *((unsigned long *) (code + 22)) = slot * sizeof(mapi_func); in entry_patch()86 mapi_func91 mapi_func entry; in entry_generate()98 entry = (mapi_func) code; in entry_generate()
82 mapi_func85 return (mapi_func) (x86_64_entry_start + slot * 32); in entry_get_public()89 entry_patch(mapi_func entry, int slot) in entry_patch()92 *((unsigned int *) (code + 12)) = slot * sizeof(mapi_func); in entry_patch()95 mapi_func106 mapi_func entry; in entry_generate()120 entry = (mapi_func) code; in entry_generate()
109 mapi_func112 return (mapi_func) (x86_entry_start + slot * 16); in entry_get_public()116 entry_patch(mapi_func entry, int slot) in entry_patch()119 *((unsigned long *) (code + 8)) = slot * sizeof(mapi_func); in entry_patch()122 mapi_func131 mapi_func entry; in entry_generate()140 entry = (mapi_func) code; in entry_generate()
34 typedef void (*mapi_func)(void); typedef39 mapi_func42 mapi_func46 entry_patch(mapi_func entry, int slot);
78 mapi_func85 mapi_func92 entry_patch(mapi_func entry, int slot) in entry_patch()
176 mapi_func func = (mapi_func) procs[i]; in mapi_table_fill()
44 mapi_func addr;202 mapi_func
54 mapi_func