Lines Matching refs:slot
81 #define STUB_ASM_CODE(slot) \
89 "jmp *(4 * " slot ")(%eax)"
119 int slot = 0;
121 entry += X86_ENTRY_SIZE, ++slot)
122 entry_generate_or_patch(slot, entry, X86_ENTRY_SIZE);
127 entry_get_public(int slot)
129 return (mapi_func) (x86_entry_start + slot * X86_ENTRY_SIZE);
133 entry_patch(mapi_func entry, int slot)
136 *((unsigned long *) (code + 8)) = slot * sizeof(mapi_func);
140 entry_generate_or_patch(int slot, char *code, size_t size)
160 entry_patch(entry, slot);
166 entry_generate(int slot)
168 return entry_generate_or_patch(slot, NULL, 0);