Lines Matching defs:slot
67 #define STUB_ASM_CODE(slot) \
75 "jmp *(4 * " slot ")(%eax)"
104 int slot = 0;
106 entry += X86_ENTRY_SIZE, ++slot)
107 entry_generate_or_patch(slot, entry, X86_ENTRY_SIZE);
112 entry_get_public(int slot)
114 return (mapi_func) (x86_entry_start + slot * X86_ENTRY_SIZE);
118 entry_patch(mapi_func entry, int slot)
121 *((unsigned long *) (code + 8)) = slot * sizeof(mapi_func);
125 entry_generate_or_patch(int slot, char *code, size_t size)
145 entry_patch(entry, slot);
151 entry_generate(int slot)
153 return entry_generate_or_patch(slot, NULL, 0);