Lines Matching refs:func

20  * @func:	Function name of the entry point
23 * - The ASM entry point: asm_##func
24 * - The XEN PV trap entry point: xen_##func (maybe unused)
31 #define DECLARE_IDTENTRY(vector, func) \
32 asmlinkage void asm_##func(void); \
33 asmlinkage void xen_asm_##func(void); \
34 __visible void func(struct pt_regs *regs)
38 * @func: Function name of the entry point
40 * @func is called from ASM entry code with interrupts disabled.
49 #define DEFINE_IDTENTRY(func) \
50 static __always_inline void __##func(struct pt_regs *regs); \
52 __visible noinstr void func(struct pt_regs *regs) \
57 __##func (regs); \
62 static __always_inline void __##func(struct pt_regs *regs)
72 * @func: Function name of the entry point
75 * - The ASM entry point: asm_##func
76 * - The XEN PV trap entry point: xen_##func (maybe unused)
82 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \
83 asmlinkage void asm_##func(void); \
84 asmlinkage void xen_asm_##func(void); \
85 __visible void func(struct pt_regs *regs, unsigned long error_code)
90 * @func: Function name of the entry point
94 #define DEFINE_IDTENTRY_ERRORCODE(func) \
95 static __always_inline void __##func(struct pt_regs *regs, \
98 __visible noinstr void func(struct pt_regs *regs, \
104 __##func (regs, error_code); \
109 static __always_inline void __##func(struct pt_regs *regs, \
116 * @func: Function name of the entry point
120 #define DECLARE_IDTENTRY_RAW(vector, func) \
121 DECLARE_IDTENTRY(vector, func)
125 * @func: Function name of the entry point
127 * @func is called from ASM entry code with interrupts disabled.
137 #define DEFINE_IDTENTRY_RAW(func) \
138 __visible noinstr void func(struct pt_regs *regs)
144 * @func: Function name of the entry point
148 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \
149 DECLARE_IDTENTRY_ERRORCODE(vector, func)
153 * @func: Function name of the entry point
155 * @func is called from ASM entry code with interrupts disabled.
165 #define DEFINE_IDTENTRY_RAW_ERRORCODE(func) \
166 __visible noinstr void func(struct pt_regs *regs, unsigned long error_code)
172 * @func: Function name of the entry point
176 #define DECLARE_IDTENTRY_IRQ(vector, func) \
177 DECLARE_IDTENTRY_ERRORCODE(vector, func)
181 * @func: Function name of the entry point
191 #define DEFINE_IDTENTRY_IRQ(func) \
192 static void __##func(struct pt_regs *regs, u32 vector); \
194 __visible noinstr void func(struct pt_regs *regs, \
202 run_irq_on_irqstack_cond(__##func, regs, vector); \
207 static noinline void __##func(struct pt_regs *regs, u32 vector)
212 * @func: Function name of the entry point
215 * - The ASM entry point: asm_##func
216 * - The XEN PV trap entry point: xen_##func (maybe unused)
221 #define DECLARE_IDTENTRY_SYSVEC(vector, func) \
222 DECLARE_IDTENTRY(vector, func)
226 * @func: Function name of the entry point
233 #define DEFINE_IDTENTRY_SYSVEC(func) \
234 static void __##func(struct pt_regs *regs); \
236 __visible noinstr void func(struct pt_regs *regs) \
242 run_sysvec_on_irqstack_cond(__##func, regs); \
247 static noinline void __##func(struct pt_regs *regs)
252 * @func: Function name of the entry point
260 #define DEFINE_IDTENTRY_SYSVEC_SIMPLE(func) \
261 static __always_inline void __##func(struct pt_regs *regs); \
263 __visible noinstr void func(struct pt_regs *regs) \
270 __##func (regs); \
276 static __always_inline void __##func(struct pt_regs *regs)
281 * @func: Function name of the entry point
284 * - The ASM entry point: asm_##func
285 * - The XEN PV trap entry point: xen_##func (maybe unused)
291 #define DECLARE_IDTENTRY_XENCB(vector, func) \
292 DECLARE_IDTENTRY(vector, func)
298 * @func: Function name of the entry point
303 #define DECLARE_IDTENTRY_IST(vector, func) \
304 DECLARE_IDTENTRY_RAW(vector, func); \
305 __visible void noist_##func(struct pt_regs *regs)
310 * @func: Function name of the entry point
315 #define DECLARE_IDTENTRY_VC(vector, func) \
316 DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func); \
317 __visible noinstr void kernel_##func(struct pt_regs *regs, unsigned long error_code); \
318 __visible noinstr void user_##func(struct pt_regs *regs, unsigned long error_code)
322 * @func: Function name of the entry point
326 #define DEFINE_IDTENTRY_IST(func) \
327 DEFINE_IDTENTRY_RAW(func)
332 * @func: Function name of the entry point. Must be the same as
337 #define DEFINE_IDTENTRY_NOIST(func) \
338 DEFINE_IDTENTRY_RAW(noist_##func)
343 * @func: Function name of the entry point
347 #define DECLARE_IDTENTRY_DF(vector, func) \
348 DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func)
352 * @func: Function name of the entry point
356 #define DEFINE_IDTENTRY_DF(func) \
357 DEFINE_IDTENTRY_RAW_ERRORCODE(func)
362 * @func: Function name of the entry point
366 #define DEFINE_IDTENTRY_VC_KERNEL(func) \
367 DEFINE_IDTENTRY_RAW_ERRORCODE(kernel_##func)
372 * @func: Function name of the entry point
376 #define DEFINE_IDTENTRY_VC_USER(func) \
377 DEFINE_IDTENTRY_RAW_ERRORCODE(user_##func)
384 * @func: Function name of the entry point
387 * - The ASM entry point: asm_##func
390 #define DECLARE_IDTENTRY_DF(vector, func) \
391 asmlinkage void asm_##func(void); \
392 __visible void func(struct pt_regs *regs, \
398 * @func: Function name of the entry point
403 #define DEFINE_IDTENTRY_DF(func) \
404 __visible noinstr void func(struct pt_regs *regs, \
429 #define DECLARE_IDTENTRY(vector, func) \
430 idtentry vector asm_##func func has_error_code=0
432 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \
433 idtentry vector asm_##func func has_error_code=1
436 #define DECLARE_IDTENTRY_SW(vector, func)
438 #define DECLARE_IDTENTRY_RAW(vector, func) \
439 DECLARE_IDTENTRY(vector, func)
441 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \
442 DECLARE_IDTENTRY_ERRORCODE(vector, func)
445 #define DECLARE_IDTENTRY_IRQ(vector, func) \
446 idtentry_irq vector func
449 #define DECLARE_IDTENTRY_SYSVEC(vector, func) \
450 idtentry_sysvec vector func
453 # define DECLARE_IDTENTRY_MCE(vector, func) \
454 idtentry_mce_db vector asm_##func func
456 # define DECLARE_IDTENTRY_DEBUG(vector, func) \
457 idtentry_mce_db vector asm_##func func
459 # define DECLARE_IDTENTRY_DF(vector, func) \
460 idtentry_df vector asm_##func func
462 # define DECLARE_IDTENTRY_XENCB(vector, func) \
463 DECLARE_IDTENTRY(vector, func)
465 # define DECLARE_IDTENTRY_VC(vector, func) \
466 idtentry_vc vector asm_##func func
469 # define DECLARE_IDTENTRY_MCE(vector, func) \
470 DECLARE_IDTENTRY(vector, func)
473 # define DECLARE_IDTENTRY_DF(vector, func)
476 # define DECLARE_IDTENTRY_XENCB(vector, func)
481 #define DECLARE_IDTENTRY_NMI(vector, func)