/include/linux/ |
D | init.h | 148 extern int do_one_initcall(initcall_t fn); 178 #define __define_initcall(fn, id) \ argument 179 static initcall_t __initcall_##fn##id __used \ 180 __attribute__((__section__(".initcall" #id ".init"))) = fn 187 #define early_initcall(fn) __define_initcall(fn, early) argument 196 #define pure_initcall(fn) __define_initcall(fn, 0) argument 198 #define core_initcall(fn) __define_initcall(fn, 1) argument 199 #define core_initcall_sync(fn) __define_initcall(fn, 1s) argument 200 #define postcore_initcall(fn) __define_initcall(fn, 2) argument 201 #define postcore_initcall_sync(fn) __define_initcall(fn, 2s) argument [all …]
|
D | stop_machine.h | 25 cpu_stop_fn_t fn; member 30 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); 31 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 33 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 34 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 42 cpu_stop_fn_t fn; member 46 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument 51 ret = fn(arg); in stop_one_cpu() 61 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn() 66 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument [all …]
|
D | cpu.h | 118 #define cpu_notifier(fn, pri) { \ argument 119 static struct notifier_block fn##_nb __cpuinitdata = \ 120 { .notifier_call = fn, .priority = pri }; \ 121 register_cpu_notifier(&fn##_nb); \ 124 #define __cpu_notifier(fn, pri) { \ argument 125 static struct notifier_block fn##_nb = \ 126 { .notifier_call = fn, .priority = pri }; \ 127 __register_cpu_notifier(&fn##_nb); \ 130 #define cpu_notifier(fn, pri) do { (void)(fn); } while (0) argument 131 #define __cpu_notifier(fn, pri) do { (void)(fn); } while (0) argument [all …]
|
D | kthread.h | 85 #define KTHREAD_WORK_INIT(work, fn) { \ argument 87 .func = (fn), \ 94 #define DEFINE_KTHREAD_WORK(work, fn) \ argument 95 struct kthread_work work = KTHREAD_WORK_INIT(work, fn) 107 # define KTHREAD_WORK_INIT_ONSTACK(work, fn) \ argument 108 ({ init_kthread_work((&work), fn); work; }) 109 # define DEFINE_KTHREAD_WORK_ONSTACK(work, fn) \ argument 110 struct kthread_work work = KTHREAD_WORK_INIT_ONSTACK(work, fn) 113 # define DEFINE_KTHREAD_WORK_ONSTACK(work, fn) DEFINE_KTHREAD_WORK(work, fn) argument 125 #define init_kthread_work(work, fn) \ argument [all …]
|
D | attribute_container.h | 43 int (*fn)(struct attribute_container *, 47 int (*fn)(struct attribute_container *, 51 void (*fn)(struct attribute_container *, 55 int (*fn)(struct attribute_container *, 59 int (*fn)(struct attribute_container *,
|
D | memory.h | 132 #define hotplug_memory_notifier(fn, pri) ({ \ argument 133 static __meminitdata struct notifier_block fn##_mem_nb =\ 134 { .notifier_call = fn, .priority = pri };\ 135 register_memory_notifier(&fn##_mem_nb); \ 140 #define hotplug_memory_notifier(fn, pri) ({ 0; }) argument
|
D | dm-kcopyd.h | 66 unsigned flags, dm_kcopyd_notify_fn fn, void *context); 80 dm_kcopyd_notify_fn fn, void *context); 85 unsigned flags, dm_kcopyd_notify_fn fn, void *context);
|
D | clocksource.h | 341 #define CLOCKSOURCE_OF_DECLARE(name, compat, fn) \ argument 345 .data = (fn == (clocksource_of_init_fn)NULL) ? fn : fn } 348 #define CLOCKSOURCE_OF_DECLARE(name, compat, fn) \ argument 352 .data = (fn == (clocksource_of_init_fn)NULL) ? fn : fn }
|
D | sock_diag.h | 20 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)); 21 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
|
D | suspend.h | 353 #define pm_notifier(fn, pri) { \ argument 354 static struct notifier_block fn##_nb = \ 355 { .notifier_call = fn, .priority = pri }; \ 356 register_pm_notifier(&fn##_nb); \ 406 #define pm_notifier(fn, pri) do { (void)(fn); } while (0) argument
|
D | timer.h | 152 #define setup_timer(timer, fn, data) \ argument 153 __setup_timer((timer), (fn), (data), 0) 154 #define setup_timer_on_stack(timer, fn, data) \ argument 155 __setup_timer_on_stack((timer), (fn), (data), 0) 156 #define setup_deferrable_timer_on_stack(timer, fn, data) \ argument 157 __setup_timer_on_stack((timer), (fn), (data), TIMER_DEFERRABLE)
|
D | icmpv6.h | 18 extern int inet6_register_icmp_sender(ip6_icmp_send_t *fn); 19 extern int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn);
|
D | kallsyms.h | 23 int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, 55 static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, in kallsyms_on_each_symbol()
|
D | pm.h | 647 extern void __suspend_report_result(const char *function, void *fn, int ret); 649 #define suspend_report_result(fn, ret) \ argument 651 __suspend_report_result(__func__, fn, ret); \ 655 extern void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)); 688 #define suspend_report_result(fn, ret) do {} while (0) argument 695 static inline void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)) in dpm_for_each_dev()
|
D | perf_event.h | 806 #define perf_cpu_notifier(fn) \ argument 808 static struct notifier_block fn##_nb __cpuinitdata = \ 809 { .notifier_call = fn, .priority = CPU_PRI_PERF }; \ 812 fn(&fn##_nb, (unsigned long)CPU_UP_PREPARE, \ 815 fn(&fn##_nb, (unsigned long)CPU_STARTING, \ 818 fn(&fn##_nb, (unsigned long)CPU_ONLINE, \ 820 register_cpu_notifier(&fn##_nb); \
|
D | crash_dump.h | 72 extern int register_oldmem_pfn_is_ram(int (*fn)(unsigned long pfn));
|
D | dm-io.h | 51 io_notify_fn fn; /* Callback for asynchronous requests */ member
|
/include/uapi/linux/netfilter/ |
D | x_tables.h | 128 #define XT_MATCH_ITERATE(type, e, fn, args...) \ argument 139 __ret = fn(__m , ## args); \ 147 #define XT_ENTRY_ITERATE_CONTINUE(type, entries, size, n, fn, args...) \ argument 159 __ret = fn(__entry , ## args); \ 167 #define XT_ENTRY_ITERATE(type, entries, size, fn, args...) \ argument 168 XT_ENTRY_ITERATE_CONTINUE(type, entries, size, 0, fn, args)
|
/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 199 #define EBT_MATCH_ITERATE(e, fn, args...) \ argument 211 __ret = fn(__match , ## args); \ 222 #define EBT_WATCHER_ITERATE(e, fn, args...) \ argument 234 __ret = fn(__watcher , ## args); \ 245 #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \ argument 253 __ret = fn(__entry , ## args); \
|
/include/scsi/ |
D | scsi_dh.h | 67 activate_complete fn, void *data) in scsi_dh_activate() argument 69 fn(data, 0); in scsi_dh_activate()
|
/include/uapi/linux/netfilter_ipv4/ |
D | ip_tables.h | 60 #define IPT_MATCH_ITERATE(e, fn, args...) \ argument 61 XT_MATCH_ITERATE(struct ipt_entry, e, fn, ## args) 64 #define IPT_ENTRY_ITERATE(entries, size, fn, args...) \ argument 65 XT_ENTRY_ITERATE(struct ipt_entry, entries, size, fn, ## args)
|
/include/uapi/linux/netfilter_ipv6/ |
D | ip6_tables.h | 55 #define IP6T_MATCH_ITERATE(e, fn, args...) \ argument 56 XT_MATCH_ITERATE(struct ip6t_entry, e, fn, ## args) 57 #define IP6T_ENTRY_ITERATE(entries, size, fn, args...) \ argument 58 XT_ENTRY_ITERATE(struct ip6t_entry, entries, size, fn, ## args)
|
/include/uapi/linux/netfilter_arp/ |
D | arp_tables.h | 30 #define ARPT_ENTRY_ITERATE(entries, size, fn, args...) \ argument 31 XT_ENTRY_ITERATE(struct arpt_entry, entries, size, fn, ## args)
|
/include/xen/ |
D | grant_table.h | 56 void (*fn)(void *); member 126 void (*fn)(void *), void *arg, u16 count);
|
/include/net/ |
D | wpan-phy.h | 71 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
|