Lines Matching refs:func
18 * @func: Function name of the entry point
21 * - The ASM entry point: asm_##func
22 * - The XEN PV trap entry point: xen_##func (maybe unused)
29 #define DECLARE_IDTENTRY(vector, func) \
30 asmlinkage void asm_##func(void); \
31 asmlinkage void xen_asm_##func(void); \
32 __visible void func(struct pt_regs *regs)
36 * @func: Function name of the entry point
38 * @func is called from ASM entry code with interrupts disabled.
47 #define DEFINE_IDTENTRY(func) \
48 static __always_inline void __##func(struct pt_regs *regs); \
50 __visible noinstr void func(struct pt_regs *regs) \
55 __##func (regs); \
60 static __always_inline void __##func(struct pt_regs *regs)
70 * @func: Function name of the entry point
73 * - The ASM entry point: asm_##func
74 * - The XEN PV trap entry point: xen_##func (maybe unused)
80 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \
81 asmlinkage void asm_##func(void); \
82 asmlinkage void xen_asm_##func(void); \
83 __visible void func(struct pt_regs *regs, unsigned long error_code)
88 * @func: Function name of the entry point
92 #define DEFINE_IDTENTRY_ERRORCODE(func) \
93 static __always_inline void __##func(struct pt_regs *regs, \
96 __visible noinstr void func(struct pt_regs *regs, \
102 __##func (regs, error_code); \
107 static __always_inline void __##func(struct pt_regs *regs, \
114 * @func: Function name of the entry point
118 #define DECLARE_IDTENTRY_RAW(vector, func) \
119 DECLARE_IDTENTRY(vector, func)
123 * @func: Function name of the entry point
125 * @func is called from ASM entry code with interrupts disabled.
135 #define DEFINE_IDTENTRY_RAW(func) \
136 __visible noinstr void func(struct pt_regs *regs)
142 * @func: Function name of the entry point
146 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \
147 DECLARE_IDTENTRY_ERRORCODE(vector, func)
151 * @func: Function name of the entry point
153 * @func is called from ASM entry code with interrupts disabled.
163 #define DEFINE_IDTENTRY_RAW_ERRORCODE(func) \
164 __visible noinstr void func(struct pt_regs *regs, unsigned long error_code)
170 * @func: Function name of the entry point
174 #define DECLARE_IDTENTRY_IRQ(vector, func) \
175 DECLARE_IDTENTRY_ERRORCODE(vector, func)
179 * @func: Function name of the entry point
189 #define DEFINE_IDTENTRY_IRQ(func) \
190 static __always_inline void __##func(struct pt_regs *regs, u8 vector); \
192 __visible noinstr void func(struct pt_regs *regs, \
200 __##func (regs, (u8)error_code); \
206 static __always_inline void __##func(struct pt_regs *regs, u8 vector)
211 * @func: Function name of the entry point
214 * - The ASM entry point: asm_##func
215 * - The XEN PV trap entry point: xen_##func (maybe unused)
220 #define DECLARE_IDTENTRY_SYSVEC(vector, func) \
221 DECLARE_IDTENTRY(vector, func)
225 * @func: Function name of the entry point
232 #define DEFINE_IDTENTRY_SYSVEC(func) \
233 static void __##func(struct pt_regs *regs); \
235 __visible noinstr void func(struct pt_regs *regs) \
242 run_sysvec_on_irqstack_cond(__##func, regs); \
248 static noinline void __##func(struct pt_regs *regs)
253 * @func: Function name of the entry point
261 #define DEFINE_IDTENTRY_SYSVEC_SIMPLE(func) \
262 static __always_inline void __##func(struct pt_regs *regs); \
264 __visible noinstr void func(struct pt_regs *regs) \
271 __##func (regs); \
277 static __always_inline void __##func(struct pt_regs *regs)
282 * @func: Function name of the entry point
285 * - The ASM entry point: asm_##func
286 * - The XEN PV trap entry point: xen_##func (maybe unused)
292 #define DECLARE_IDTENTRY_XENCB(vector, func) \
293 DECLARE_IDTENTRY(vector, func)
299 * @func: Function name of the entry point
304 #define DECLARE_IDTENTRY_IST(vector, func) \
305 DECLARE_IDTENTRY_RAW(vector, func); \
306 __visible void noist_##func(struct pt_regs *regs)
311 * @func: Function name of the entry point
316 #define DECLARE_IDTENTRY_VC(vector, func) \
317 DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func); \
318 __visible noinstr void kernel_##func(struct pt_regs *regs, unsigned long error_code); \
319 __visible noinstr void user_##func(struct pt_regs *regs, unsigned long error_code)
323 * @func: Function name of the entry point
327 #define DEFINE_IDTENTRY_IST(func) \
328 DEFINE_IDTENTRY_RAW(func)
333 * @func: Function name of the entry point. Must be the same as
338 #define DEFINE_IDTENTRY_NOIST(func) \
339 DEFINE_IDTENTRY_RAW(noist_##func)
344 * @func: Function name of the entry point
348 #define DECLARE_IDTENTRY_DF(vector, func) \
349 DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func)
353 * @func: Function name of the entry point
357 #define DEFINE_IDTENTRY_DF(func) \
358 DEFINE_IDTENTRY_RAW_ERRORCODE(func)
363 * @func: Function name of the entry point
367 #define DEFINE_IDTENTRY_VC_KERNEL(func) \
368 DEFINE_IDTENTRY_RAW_ERRORCODE(kernel_##func)
373 * @func: Function name of the entry point
377 #define DEFINE_IDTENTRY_VC_USER(func) \
378 DEFINE_IDTENTRY_RAW_ERRORCODE(user_##func)
385 * @func: Function name of the entry point
388 * - The ASM entry point: asm_##func
391 #define DECLARE_IDTENTRY_DF(vector, func) \
392 asmlinkage void asm_##func(void); \
393 __visible void func(struct pt_regs *regs, \
399 * @func: Function name of the entry point
404 #define DEFINE_IDTENTRY_DF(func) \
405 __visible noinstr void func(struct pt_regs *regs, \
430 #define DECLARE_IDTENTRY(vector, func) \
431 idtentry vector asm_##func func has_error_code=0
433 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \
434 idtentry vector asm_##func func has_error_code=1
437 #define DECLARE_IDTENTRY_SW(vector, func)
439 #define DECLARE_IDTENTRY_RAW(vector, func) \
440 DECLARE_IDTENTRY(vector, func)
442 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \
443 DECLARE_IDTENTRY_ERRORCODE(vector, func)
446 #define DECLARE_IDTENTRY_IRQ(vector, func) \
447 idtentry_irq vector func
450 #define DECLARE_IDTENTRY_SYSVEC(vector, func) \
451 idtentry_sysvec vector func
454 # define DECLARE_IDTENTRY_MCE(vector, func) \
455 idtentry_mce_db vector asm_##func func
457 # define DECLARE_IDTENTRY_DEBUG(vector, func) \
458 idtentry_mce_db vector asm_##func func
460 # define DECLARE_IDTENTRY_DF(vector, func) \
461 idtentry_df vector asm_##func func
463 # define DECLARE_IDTENTRY_XENCB(vector, func) \
464 DECLARE_IDTENTRY(vector, func)
466 # define DECLARE_IDTENTRY_VC(vector, func) \
467 idtentry_vc vector asm_##func func
470 # define DECLARE_IDTENTRY_MCE(vector, func) \
471 DECLARE_IDTENTRY(vector, func)
474 # define DECLARE_IDTENTRY_DF(vector, func)
477 # define DECLARE_IDTENTRY_XENCB(vector, func)
482 #define DECLARE_IDTENTRY_NMI(vector, func)