/arch/um/include/shared/ |
D | init.h | 71 #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/ |
D | machdep.h | 278 #define __define_machine_initcall(mach, fn, id) \ argument 279 static int __init __machine_initcall_##mach##_##fn(void) { \ 280 if (machine_is(mach)) return fn(); \ 283 __define_initcall(__machine_initcall_##mach##_##fn, id); 285 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument 286 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument 287 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument 288 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument 289 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument 290 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument [all …]
|
D | kasan.h | 6 #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/ |
D | glue.h | 16 #define ____glue(name,fn) name##fn argument 18 #define ____glue(name,fn) name/**/fn argument 20 #define __glue(name,fn) ____glue(name,fn) argument
|
D | system_misc.h | 23 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()
|
D | setup.h | 18 #define __tagtable(tag, fn) \ argument 19 static const struct tagtable __tagtable_##fn __tag = { tag, fn }
|
/arch/arm/mach-omap2/ |
D | soc.h | 468 #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 …]
|
/arch/mips/include/asm/ |
D | traps.h | 28 #define nmi_notifier(fn, pri) \ argument 30 static struct notifier_block fn##_nb = { \ 31 .notifier_call = fn, \ 35 register_nmi_notifier(&fn##_nb); \
|
D | cop2.h | 62 #define cu2_notifier(fn, pri) \ argument 64 static struct notifier_block fn##_nb = { \ 65 .notifier_call = fn, \ 69 register_cu2_notifier(&fn##_nb); \
|
D | cpu-info.h | 127 #define proc_cpuinfo_notifier(fn, pri) \ argument 129 static struct notifier_block fn##_nb = { \ 130 .notifier_call = fn, \ 134 register_proc_cpuinfo_notifier(&fn##_nb); \
|
/arch/x86/kernel/apic/ |
D | msi.c | 258 struct fwnode_handle *fn; in arch_init_msi_domain() local 263 fn = irq_domain_alloc_named_fwnode("PCI-MSI"); in arch_init_msi_domain() 264 if (fn) { in arch_init_msi_domain() 266 pci_msi_create_irq_domain(fn, &pci_msi_domain_info, in arch_init_msi_domain() 270 irq_domain_free_fwnode(fn); in arch_init_msi_domain() 301 struct fwnode_handle *fn; in arch_create_remap_msi_irq_domain() local 304 fn = irq_domain_alloc_named_id_fwnode(name, id); in arch_create_remap_msi_irq_domain() 305 if (!fn) in arch_create_remap_msi_irq_domain() 307 d = pci_msi_create_irq_domain(fn, &pci_msi_ir_domain_info, parent); in arch_create_remap_msi_irq_domain() 309 irq_domain_free_fwnode(fn); in arch_create_remap_msi_irq_domain() [all …]
|
/arch/x86/include/asm/ |
D | nmi.h | 48 #define register_nmi_handler(t, fn, fg, n, init...) \ argument 50 static struct nmiaction init fn##_na = { \ 51 .handler = (fn), \ 55 __register_nmi_handler((t), &fn##_na); \
|
/arch/mips/pci/ |
D | pci-xtalk-bridge.c | 99 int fn = PCI_FUNC(devfn); in pci_conf0_read_config() local 104 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_read_config() 113 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config() 117 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config() 136 int fn = PCI_FUNC(devfn); in pci_conf1_read_config() local 142 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_read_config() 151 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where & ~3)]; in pci_conf1_read_config() 155 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_read_config() 182 int fn = PCI_FUNC(devfn); in pci_conf0_write_config() local 187 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_write_config() [all …]
|
/arch/arm/kernel/ |
D | suspend.c | 21 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() 43 ret = __cpu_suspend(arg, fn, __mpidr); in cpu_suspend() 57 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() 63 ret = __cpu_suspend(arg, fn, __mpidr); in cpu_suspend()
|
/arch/powerpc/crypto/ |
D | sha1-powerpc-asm.S | 113 #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/arm/plat-samsung/ |
D | pm-check.c | 46 static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg) in s3c_pm_run_res() argument 50 s3c_pm_run_res(ptr->child, fn, arg); in s3c_pm_run_res() 57 arg = (fn)(ptr, arg); in s3c_pm_run_res() 64 static void s3c_pm_run_sysram(run_fn_t fn, u32 *arg) in s3c_pm_run_sysram() argument 66 s3c_pm_run_res(&iomem_resource, fn, arg); in s3c_pm_run_sysram()
|
/arch/arm/mm/ |
D | fault.c | 499 int (*fn)(unsigned long addr, unsigned int fsr, struct pt_regs *regs); member 513 hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, struct pt_regs *), in hook_fault_code() 519 fsr_info[nr].fn = fn; in hook_fault_code() 533 if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs)) in do_DataAbort() 546 hook_ifault_code(int nr, int (*fn)(unsigned long, unsigned int, struct pt_regs *), in hook_ifault_code() 552 ifsr_info[nr].fn = fn; in hook_ifault_code() 563 if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs)) in do_PrefetchAbort() 590 fsr_info[FSR_FS_AEA].fn = early_abort_handler; in early_abt_enable() 592 fsr_info[FSR_FS_AEA].fn = do_bad; in early_abt_enable()
|
/arch/arm/mach-shmobile/ |
D | platsmp.c | 19 void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) in shmobile_smp_hook() argument 25 shmobile_smp_fn[cpu] = fn; in shmobile_smp_hook()
|
/arch/x86/pci/ |
D | direct.c | 99 int dev, fn; in pci_conf2_read() local 108 fn = PCI_FUNC(devfn); in pci_conf2_read() 115 outb((u8)(0xF0 | (fn << 1)), 0xCF8); in pci_conf2_read() 141 int dev, fn; in pci_conf2_write() local 148 fn = PCI_FUNC(devfn); in pci_conf2_write() 155 outb((u8)(0xF0 | (fn << 1)), 0xCF8); in pci_conf2_write()
|
/arch/x86/xen/ |
D | multicalls.c | 48 void (*fn)(void *); member 131 (*cb->fn)(cb->data); in xen_mc_flush() 199 void xen_mc_callback(void (*fn)(void *), void *data) in xen_mc_callback() 209 trace_xen_mc_callback(fn, data); in xen_mc_callback() 212 cb->fn = fn; in xen_mc_callback()
|
/arch/x86/kvm/ |
D | mmu_audit.c | 35 inspect_spte_fn fn, int level) in __mmu_spte_walk() argument 42 fn(vcpu, ent + i, level); in __mmu_spte_walk() 49 __mmu_spte_walk(vcpu, child, fn, level - 1); in __mmu_spte_walk() 54 static void mmu_spte_walk(struct kvm_vcpu *vcpu, inspect_spte_fn fn) in mmu_spte_walk() argument 66 __mmu_spte_walk(vcpu, sp, fn, vcpu->arch.mmu->root_level); in mmu_spte_walk() 76 __mmu_spte_walk(vcpu, sp, fn, 2); in mmu_spte_walk() 85 static void walk_all_active_sps(struct kvm *kvm, sp_handler fn) in walk_all_active_sps() argument 90 fn(kvm, sp); in walk_all_active_sps()
|
/arch/nds32/kernel/ |
D | dma.c | 14 void (*fn)(unsigned long start, unsigned long end)) in cache_op() 37 fn(start, start + len); in cache_op() 41 fn(start, start + size); in cache_op()
|
/arch/csky/mm/ |
D | dma-mapping.c | 18 void (*fn)(unsigned long start, unsigned long end)) in cache_op() 34 fn((unsigned long)start + offset, in cache_op() 39 fn((unsigned long)start + offset, in cache_op()
|
/arch/arm64/include/asm/ |
D | mmu.h | 84 bp_hardening_cb_t fn; member 115 if (d->fn) in arm64_apply_bp_hardening() 116 d->fn(); in arm64_apply_bp_hardening()
|
/arch/arm/mach-pxa/ |
D | irq.c | 144 int (*fn)(struct irq_data *, unsigned int)) in pxa_init_irq_common() 165 pxa_internal_irq_chip.irq_set_wake = fn; in pxa_init_irq_common() 168 void __init pxa_init_irq(int irq_nr, int (*fn)(struct irq_data *, unsigned int)) in pxa_init_irq() 174 pxa_init_irq_common(NULL, irq_nr, fn); in pxa_init_irq() 233 void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) in pxa_dt_irq_init() 268 pxa_init_irq_common(node, pxa_internal_irq_nr, fn); in pxa_dt_irq_init()
|