Lines Matching refs:func

22  * @func:	Function name of the entry point
25 * - The ASM entry point: asm_##func
26 * - The XEN PV trap entry point: xen_##func (maybe unused)
34 #define DECLARE_IDTENTRY(vector, func) \
35 asmlinkage void asm_##func(void); \
36 asmlinkage void xen_asm_##func(void); \
37 void fred_##func(struct pt_regs *regs); \
38 __visible void func(struct pt_regs *regs)
42 * @func: Function name of the entry point
44 * @func is called from ASM entry code with interrupts disabled.
53 #define DEFINE_IDTENTRY(func) \
54 static __always_inline void __##func(struct pt_regs *regs); \
56 __visible noinstr void func(struct pt_regs *regs) \
61 __##func (regs); \
66 static __always_inline void __##func(struct pt_regs *regs)
76 * @func: Function name of the entry point
79 * - The ASM entry point: asm_##func
80 * - The XEN PV trap entry point: xen_##func (maybe unused)
86 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \
87 asmlinkage void asm_##func(void); \
88 asmlinkage void xen_asm_##func(void); \
89 __visible void func(struct pt_regs *regs, unsigned long error_code)
94 * @func: Function name of the entry point
98 #define DEFINE_IDTENTRY_ERRORCODE(func) \
99 static __always_inline void __##func(struct pt_regs *regs, \
102 __visible noinstr void func(struct pt_regs *regs, \
108 __##func (regs, error_code); \
113 static __always_inline void __##func(struct pt_regs *regs, \
120 * @func: Function name of the entry point
124 #define DECLARE_IDTENTRY_RAW(vector, func) \
125 DECLARE_IDTENTRY(vector, func)
129 * @func: Function name of the entry point
131 * @func is called from ASM entry code with interrupts disabled.
141 #define DEFINE_IDTENTRY_RAW(func) \
142 __visible noinstr void func(struct pt_regs *regs)
146 * @func: Function name of the entry point
148 * @func is called from the FRED event dispatcher with interrupts disabled.
152 #define DEFINE_FREDENTRY_RAW(func) \
153 noinstr void fred_##func(struct pt_regs *regs)
159 * @func: Function name of the entry point
163 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \
164 DECLARE_IDTENTRY_ERRORCODE(vector, func)
168 * @func: Function name of the entry point
170 * @func is called from ASM entry code with interrupts disabled.
180 #define DEFINE_IDTENTRY_RAW_ERRORCODE(func) \
181 __visible noinstr void func(struct pt_regs *regs, unsigned long error_code)
187 * @func: Function name of the entry point
191 #define DECLARE_IDTENTRY_IRQ(vector, func) \
192 DECLARE_IDTENTRY_ERRORCODE(vector, func)
196 * @func: Function name of the entry point
206 #define DEFINE_IDTENTRY_IRQ(func) \
207 static void __##func(struct pt_regs *regs, u32 vector); \
209 __visible noinstr void func(struct pt_regs *regs, \
217 run_irq_on_irqstack_cond(__##func, regs, vector); \
222 static noinline void __##func(struct pt_regs *regs, u32 vector)
227 * @func: Function name of the entry point
230 * - The ASM entry point: asm_##func
231 * - The XEN PV trap entry point: xen_##func (maybe unused)
236 #define DECLARE_IDTENTRY_SYSVEC(vector, func) \
237 DECLARE_IDTENTRY(vector, func)
241 * @func: Function name of the entry point
248 #define DEFINE_IDTENTRY_SYSVEC(func) \
249 static void __##func(struct pt_regs *regs); \
251 static __always_inline void instr_##func(struct pt_regs *regs) \
254 run_sysvec_on_irqstack_cond(__##func, regs); \
257 __visible noinstr void func(struct pt_regs *regs) \
262 instr_##func (regs); \
267 void fred_##func(struct pt_regs *regs) \
269 instr_##func (regs); \
272 static noinline void __##func(struct pt_regs *regs)
277 * @func: Function name of the entry point
285 #define DEFINE_IDTENTRY_SYSVEC_SIMPLE(func) \
286 static __always_inline void __##func(struct pt_regs *regs); \
288 static __always_inline void instr_##func(struct pt_regs *regs) \
292 __##func (regs); \
296 __visible noinstr void func(struct pt_regs *regs) \
301 instr_##func (regs); \
306 void fred_##func(struct pt_regs *regs) \
308 instr_##func (regs); \
311 static __always_inline void __##func(struct pt_regs *regs)
316 * @func: Function name of the entry point
319 * - The ASM entry point: asm_##func
320 * - The XEN PV trap entry point: xen_##func (maybe unused)
326 #define DECLARE_IDTENTRY_XENCB(vector, func) \
327 DECLARE_IDTENTRY(vector, func)
333 * @func: Function name of the entry point
338 #define DECLARE_IDTENTRY_IST(vector, func) \
339 DECLARE_IDTENTRY_RAW(vector, func); \
340 __visible void noist_##func(struct pt_regs *regs)
345 * @func: Function name of the entry point
350 #define DECLARE_IDTENTRY_VC(vector, func) \
351 DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func); \
352 __visible noinstr void kernel_##func(struct pt_regs *regs, unsigned long error_code); \
353 __visible noinstr void user_##func(struct pt_regs *regs, unsigned long error_code)
357 * @func: Function name of the entry point
361 #define DEFINE_IDTENTRY_IST(func) \
362 DEFINE_IDTENTRY_RAW(func)
367 * @func: Function name of the entry point. Must be the same as
372 #define DEFINE_IDTENTRY_NOIST(func) \
373 DEFINE_IDTENTRY_RAW(noist_##func)
378 * @func: Function name of the entry point
382 #define DECLARE_IDTENTRY_DF(vector, func) \
383 DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func)
387 * @func: Function name of the entry point
391 #define DEFINE_IDTENTRY_DF(func) \
392 DEFINE_IDTENTRY_RAW_ERRORCODE(func)
397 * @func: Function name of the entry point
401 #define DEFINE_IDTENTRY_VC_KERNEL(func) \
402 DEFINE_IDTENTRY_RAW_ERRORCODE(kernel_##func)
407 * @func: Function name of the entry point
411 #define DEFINE_IDTENTRY_VC_USER(func) \
412 DEFINE_IDTENTRY_RAW_ERRORCODE(user_##func)
419 * @func: Function name of the entry point
422 * - The ASM entry point: asm_##func
425 #define DECLARE_IDTENTRY_DF(vector, func) \
426 asmlinkage void asm_##func(void); \
427 __visible void func(struct pt_regs *regs, \
433 * @func: Function name of the entry point
438 #define DEFINE_IDTENTRY_DF(func) \
439 __visible noinstr void func(struct pt_regs *regs, \
482 #define DECLARE_IDTENTRY(vector, func) \
483 idtentry vector asm_##func func has_error_code=0
485 #define DECLARE_IDTENTRY_ERRORCODE(vector, func) \
486 idtentry vector asm_##func func has_error_code=1
489 #define DECLARE_IDTENTRY_SW(vector, func)
491 #define DECLARE_IDTENTRY_RAW(vector, func) \
492 DECLARE_IDTENTRY(vector, func)
494 #define DECLARE_IDTENTRY_RAW_ERRORCODE(vector, func) \
495 DECLARE_IDTENTRY_ERRORCODE(vector, func)
498 #define DECLARE_IDTENTRY_IRQ(vector, func) \
499 idtentry_irq vector func
502 #define DECLARE_IDTENTRY_SYSVEC(vector, func) \
503 DECLARE_IDTENTRY(vector, func)
506 # define DECLARE_IDTENTRY_MCE(vector, func) \
507 idtentry_mce_db vector asm_##func func
509 # define DECLARE_IDTENTRY_DEBUG(vector, func) \
510 idtentry_mce_db vector asm_##func func
512 # define DECLARE_IDTENTRY_DF(vector, func) \
513 idtentry_df vector asm_##func func
515 # define DECLARE_IDTENTRY_XENCB(vector, func) \
516 DECLARE_IDTENTRY(vector, func)
518 # define DECLARE_IDTENTRY_VC(vector, func) \
519 idtentry_vc vector asm_##func func
522 # define DECLARE_IDTENTRY_MCE(vector, func) \
523 DECLARE_IDTENTRY(vector, func)
526 # define DECLARE_IDTENTRY_DF(vector, func)
529 # define DECLARE_IDTENTRY_XENCB(vector, func)
534 #define DECLARE_IDTENTRY_NMI(vector, func)