Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 203) sorted by relevance

123456789

/arch/mips/include/asm/
Dunroll.h16 #define unroll(times, fn, ...) do { \ argument
31 case 32: fn(__VA_ARGS__); fallthrough; \
32 case 31: fn(__VA_ARGS__); fallthrough; \
33 case 30: fn(__VA_ARGS__); fallthrough; \
34 case 29: fn(__VA_ARGS__); fallthrough; \
35 case 28: fn(__VA_ARGS__); fallthrough; \
36 case 27: fn(__VA_ARGS__); fallthrough; \
37 case 26: fn(__VA_ARGS__); fallthrough; \
38 case 25: fn(__VA_ARGS__); fallthrough; \
39 case 24: fn(__VA_ARGS__); fallthrough; \
[all …]
Dtraps.h32 #define nmi_notifier(fn, pri) \ argument
34 static struct notifier_block fn##_nb = { \
35 .notifier_call = fn, \
39 register_nmi_notifier(&fn##_nb); \
Dcop2.h62 #define cu2_notifier(fn, pri) \ argument
64 static struct notifier_block fn##_nb = { \
65 .notifier_call = fn, \
69 register_cu2_notifier(&fn##_nb); \
/arch/um/include/shared/
Dinit.h71 #define __uml_exitcall(fn) \ argument
72 static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn
76 #define __uml_postsetup(fn) \ argument
77 static initcall_t __uml_postsetup_##fn __uml_postsetup_call = fn
86 #define __uml_setup(str, fn, help...) \ argument
87 __non_empty_string(fn ##_setup, str); \
88 __uml_help(fn, help); \
89 static char __uml_setup_str_##fn[] __initdata = str; \
90 static struct uml_param __uml_setup_##fn __uml_init_setup = { __uml_setup_str_##fn, fn }
92 #define __uml_setup(str, fn, help...) \ argument
[all …]
/arch/powerpc/include/asm/
Dmachdep.h274 #define __define_machine_initcall(mach, fn, id) \ argument
275 static int __init __machine_initcall_##mach##_##fn(void) { \
276 if (machine_is(mach)) return fn(); \
279 __define_initcall(__machine_initcall_##mach##_##fn, id);
281 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument
282 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument
283 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument
284 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument
285 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument
286 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument
[all …]
Dkasan.h6 #define _GLOBAL_KASAN(fn) _GLOBAL(__##fn) argument
7 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn) argument
8 #define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn) argument
10 #define _GLOBAL_KASAN(fn) _GLOBAL(fn) argument
11 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn) argument
12 #define EXPORT_SYMBOL_KASAN(fn) argument
/arch/arm/include/asm/
Dglue.h16 #define ____glue(name,fn) name##fn argument
18 #define ____glue(name,fn) name/**/fn argument
20 #define __glue(name,fn) ____glue(name,fn) argument
Dsystem_misc.h23 harden_branch_predictor_fn_t fn = per_cpu(harden_branch_predictor_fn, in harden_branch_predictor() local
25 if (fn) in harden_branch_predictor()
26 fn(); in harden_branch_predictor()
Dsetup.h18 #define __tagtable(tag, fn) \ argument
19 static const struct tagtable __tagtable_##fn __tag = { tag, fn }
/arch/arm/mach-omap2/
Dsoc.h468 #define omap_initcall(level, fn) \ argument
469 static int __init __used __##fn(void) \
473 return fn(); \
475 level(__##fn);
477 #define omap_early_initcall(fn) omap_initcall(early_initcall, fn) argument
478 #define omap_core_initcall(fn) omap_initcall(core_initcall, fn) argument
479 #define omap_postcore_initcall(fn) omap_initcall(postcore_initcall, fn) argument
480 #define omap_arch_initcall(fn) omap_initcall(arch_initcall, fn) argument
481 #define omap_subsys_initcall(fn) omap_initcall(subsys_initcall, fn) argument
482 #define omap_device_initcall(fn) omap_initcall(device_initcall, fn) argument
[all …]
Dpm33xx-core.c160 static int am33xx_suspend(unsigned int state, int (*fn)(unsigned long), in am33xx_suspend()
166 ret = cpu_suspend(args, fn); in am33xx_suspend()
183 static int am43xx_suspend(unsigned int state, int (*fn)(unsigned long), in am43xx_suspend()
200 ret = cpu_suspend(args, fn); in am43xx_suspend()
222 static int am33xx_cpu_suspend(int (*fn)(unsigned long), unsigned long args) in am33xx_cpu_suspend()
229 ret = cpu_suspend(args, fn); in am33xx_cpu_suspend()
234 static int am43xx_cpu_suspend(int (*fn)(unsigned long), unsigned long args) in am43xx_cpu_suspend()
242 ret = cpu_suspend(args, fn); in am43xx_cpu_suspend()
Domap-secure.c82 void omap_smccc_smc(u32 fn, u32 arg) in omap_smccc_smc() argument
86 arm_smccc_smc(OMAP_SIP_SMC_STD_CALL_VAL(fn), arg, in omap_smccc_smc()
88 WARN(res.a0, "Secure function call 0x%08x failed\n", fn); in omap_smccc_smc()
91 void omap_smc1(u32 fn, u32 arg) in omap_smc1() argument
98 omap_smccc_smc(fn, arg); in omap_smc1()
100 _omap_smc1(fn, arg); in omap_smc1()
/arch/x86/kernel/apic/
Dmsi.c192 struct fwnode_handle *fn; in native_create_pci_msi_domain() local
198 fn = irq_domain_alloc_named_fwnode("PCI-MSI"); in native_create_pci_msi_domain()
199 if (!fn) in native_create_pci_msi_domain()
202 d = pci_msi_create_irq_domain(fn, &pci_msi_domain_info, in native_create_pci_msi_domain()
205 irq_domain_free_fwnode(fn); in native_create_pci_msi_domain()
241 struct fwnode_handle *fn; in arch_create_remap_msi_irq_domain() local
244 fn = irq_domain_alloc_named_id_fwnode(name, id); in arch_create_remap_msi_irq_domain()
245 if (!fn) in arch_create_remap_msi_irq_domain()
247 d = pci_msi_create_irq_domain(fn, &pci_msi_ir_domain_info, parent); in arch_create_remap_msi_irq_domain()
249 irq_domain_free_fwnode(fn); in arch_create_remap_msi_irq_domain()
[all …]
/arch/um/include/linux/
Dtime-internal.h19 void (*fn)(struct time_travel_event *d); member
28 void (*fn)(struct time_travel_event *d)) in time_travel_set_event_fn()
30 e->fn = fn; in time_travel_set_event_fn()
62 #define time_travel_set_event_fn(e, fn) do {} while (0) argument
/arch/arm64/crypto/
Dsha512-ce-glue.c57 sha512_block_fn *fn = crypto_simd_usable() ? __sha512_ce_transform in sha512_ce_update() local
60 sha512_base_do_update(desc, data, len, fn); in sha512_ce_update()
67 sha512_block_fn *fn = crypto_simd_usable() ? __sha512_ce_transform in sha512_ce_finup() local
70 sha512_base_do_update(desc, data, len, fn); in sha512_ce_finup()
71 sha512_base_do_finalize(desc, fn); in sha512_ce_finup()
77 sha512_block_fn *fn = crypto_simd_usable() ? __sha512_ce_transform in sha512_ce_final() local
80 sha512_base_do_finalize(desc, fn); in sha512_ce_final()
/arch/x86/include/asm/
Dnmi.h47 #define register_nmi_handler(t, fn, fg, n, init...) \ argument
49 static struct nmiaction init fn##_na = { \
50 .handler = (fn), \
54 __register_nmi_handler((t), &fn##_na); \
/arch/x86/boot/compressed/
Dmem_encrypt.S114 movl $0, %eax # Request CPUID[fn].EAX
115 movl %ebx, %edx # CPUID fn
121 movl $1, %eax # Request CPUID[fn].EBX
122 movl %ebx, %edx # CPUID fn
128 movl $2, %eax # Request CPUID[fn].ECX
129 movl %ebx, %edx # CPUID fn
135 movl $3, %eax # Request CPUID[fn].EDX
136 movl %ebx, %edx # CPUID fn
/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c1040 void (*fn)(struct kvm_vcpu *, u32, int); in __vgic_v3_perform_cpuif_access() local
1063 fn = __vgic_v3_read_iar; in __vgic_v3_perform_cpuif_access()
1069 fn = __vgic_v3_write_eoir; in __vgic_v3_perform_cpuif_access()
1073 fn = __vgic_v3_read_igrpen1; in __vgic_v3_perform_cpuif_access()
1075 fn = __vgic_v3_write_igrpen1; in __vgic_v3_perform_cpuif_access()
1079 fn = __vgic_v3_read_bpr1; in __vgic_v3_perform_cpuif_access()
1081 fn = __vgic_v3_write_bpr1; in __vgic_v3_perform_cpuif_access()
1086 fn = __vgic_v3_read_apxr0; in __vgic_v3_perform_cpuif_access()
1088 fn = __vgic_v3_write_apxr0; in __vgic_v3_perform_cpuif_access()
1093 fn = __vgic_v3_read_apxr1; in __vgic_v3_perform_cpuif_access()
[all …]
/arch/arm/kernel/
Dsuspend.c20 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend()
42 ret = __cpu_suspend(arg, fn, __mpidr); in cpu_suspend()
56 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend()
62 ret = __cpu_suspend(arg, fn, __mpidr); in cpu_suspend()
/arch/mips/pci/
Dpci-xtalk-bridge.c125 int fn = PCI_FUNC(devfn); in pci_conf0_read_config() local
130 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_read_config()
139 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config()
144 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config()
163 int fn = PCI_FUNC(devfn); in pci_conf1_read_config() local
169 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_read_config()
178 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where & ~3)]; in pci_conf1_read_config()
183 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_read_config()
210 int fn = PCI_FUNC(devfn); in pci_conf0_write_config() local
215 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_write_config()
[all …]
/arch/powerpc/crypto/
Dsha1-powerpc-asm.S113 #define STEPUP4(t, fn) \ argument
114 STEP##fn##_UPDATE(t); \
115 STEP##fn##_UPDATE((t)+1); \
116 STEP##fn##_UPDATE((t)+2); \
117 STEP##fn##_UPDATE((t)+3)
119 #define STEPUP20(t, fn) \ argument
120 STEPUP4(t, fn); \
121 STEPUP4((t)+4, fn); \
122 STEPUP4((t)+8, fn); \
123 STEPUP4((t)+12, fn); \
[all …]
/arch/arm64/include/asm/
Dspectre.h66 bp_hardening_cb_t fn; member
80 if (d->fn) in arm64_apply_bp_hardening()
81 d->fn(); in arm64_apply_bp_hardening()
/arch/xtensa/kernel/
Dpci-dma.c25 void (*fn)(unsigned long, unsigned long)) in do_cache_op()
32 fn((unsigned long)phys_to_virt(paddr), size); in do_cache_op()
38 fn((unsigned long)vaddr + off, sz); in do_cache_op()
/arch/arm/mm/
Dfault.c488 int (*fn)(unsigned long addr, unsigned int fsr, struct pt_regs *regs); member
502 hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, struct pt_regs *), in hook_fault_code()
508 fsr_info[nr].fn = fn; in hook_fault_code()
522 if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs)) in do_DataAbort()
535 hook_ifault_code(int nr, int (*fn)(unsigned long, unsigned int, struct pt_regs *), in hook_ifault_code()
541 ifsr_info[nr].fn = fn; in hook_ifault_code()
552 if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs)) in do_PrefetchAbort()
579 fsr_info[FSR_FS_AEA].fn = early_abort_handler; in early_abt_enable()
581 fsr_info[FSR_FS_AEA].fn = do_bad; in early_abt_enable()
/arch/riscv/include/asm/
Dsoc.h14 #define SOC_EARLY_INIT_DECLARE(name, compat, fn) \ argument
17 = { .compatible = compat, .data = fn }

123456789