Lines Matching refs:func
67 * - func:
81 #define call_on_stack(stack, func, asm_call, argconstr...) \
96 : [__func] "i" (func), [tos] "r" (tos) argconstr \
118 #define call_on_irqstack(func, asm_call, argconstr...) \
120 func, asm_call, argconstr)
123 #define assert_function_type(func, proto) \
124 static_assert(__builtin_types_compatible_p(typeof(&func), proto))
132 #define call_on_irqstack_cond(func, regs, asm_call, constr, c_args...) \
140 func(c_args); \
150 call_on_irqstack(func, asm_call, constr); \
176 #define run_sysvec_on_irqstack_cond(func, regs) \
178 assert_function_type(func, void (*)(struct pt_regs *)); \
181 call_on_irqstack_cond(func, regs, ASM_CALL_SYSVEC, \
196 #define run_irq_on_irqstack_cond(func, regs, vector) \
198 assert_function_type(func, void (*)(struct pt_regs *, u32)); \
202 call_on_irqstack_cond(func, regs, ASM_CALL_IRQ, \
224 #define run_sysvec_on_irqstack_cond(func, regs) \
227 func(regs); \
231 /* Switches to the irq stack within func() */
232 #define run_irq_on_irqstack_cond(func, regs, vector) \
235 func(regs, vector); \