Searched refs:fn (Results 1 - 25 of 48) sorted by relevance

12

/include/linux/
H A Dinit.h149 extern int do_one_initcall(initcall_t fn);
178 #define __define_initcall(level,fn,id) \
179 static initcall_t __initcall_##fn##id __used \
180 __attribute__((__section__(".initcall" level ".init"))) = fn
187 #define early_initcall(fn) __define_initcall("early",fn,early)
195 #define pure_initcall(fn) __define_initcall("0",fn,0)
197 #define core_initcall(fn) __define_initcall("1",fn,
[all...]
H A Dstop_machine.h25 cpu_stop_fn_t fn; member in struct:cpu_stop_work
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 in struct:cpu_stop_work
46 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) argument
51 ret = fn(arg);
61 stwork->fn(stwork->arg);
66 cpu_stop_fn_t fn, voi
65 stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, struct cpu_stop_work *work_buf) argument
77 stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) argument
85 try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) argument
[all...]
H A Ddm-kcopyd.h43 unsigned flags, dm_kcopyd_notify_fn fn, void *context);
57 dm_kcopyd_notify_fn fn, void *context);
62 unsigned flags, dm_kcopyd_notify_fn fn, void *context);
H A Dkthread.h75 #define KTHREAD_WORK_INIT(work, fn) { \
77 .func = (fn), \
84 #define DEFINE_KTHREAD_WORK(work, fn) \
85 struct kthread_work work = KTHREAD_WORK_INIT(work, fn)
97 # define KTHREAD_WORK_INIT_ONSTACK(work, fn) \
98 ({ init_kthread_work((&work), fn); work; })
99 # define DEFINE_KTHREAD_WORK_ONSTACK(work, fn) \
100 struct kthread_work work = KTHREAD_WORK_INIT_ONSTACK(work, fn)
103 # define DEFINE_KTHREAD_WORK_ONSTACK(work, fn) DEFINE_KTHREAD_WORK(work, fn)
[all...]
H A Dsh_pfc.h128 #define PORT_1(fn, pfx, sfx) fn(pfx, sfx)
130 #define PORT_10(fn, pfx, sfx) \
131 PORT_1(fn, pfx##0, sfx), PORT_1(fn, pfx##1, sfx), \
132 PORT_1(fn, pfx##2, sfx), PORT_1(fn, pfx##3, sfx), \
133 PORT_1(fn, pfx##4, sfx), PORT_1(fn, pfx##5, sfx), \
134 PORT_1(fn, pf
[all...]
H A Dattribute_container.h43 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 *,
H A Dcpu.h118 #define cpu_notifier(fn, pri) { \
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) do { (void)(fn); } while (0)
152 #define cpu_notifier(fn, pri) do { (void)(fn); } while (0)
179 #define hotcpu_notifier(fn, pri) cpu_notifier(fn, pr
[all...]
H A Dmemory.h128 #define hotplug_memory_notifier(fn, pri) { \
129 static __meminitdata struct notifier_block fn##_mem_nb =\
130 { .notifier_call = fn, .priority = pri }; \
131 register_memory_notifier(&fn##_mem_nb); \
134 #define hotplug_memory_notifier(fn, pri) do { } while (0)
H A Dsock_diag.h38 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
39 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
H A Dtimer.h117 #define setup_timer(timer, fn, data) \
120 setup_timer_key((timer), #timer, &__key, (fn), (data));\
123 #define setup_timer_on_stack(timer, fn, data) \
127 (fn), (data)); \
129 #define setup_deferrable_timer_on_stack(timer, fn, data) \
133 &__key, (fn), \
143 #define setup_timer(timer, fn, data)\
144 setup_timer_key((timer), NULL, NULL, (fn), (data))
145 #define setup_timer_on_stack(timer, fn, data)\
146 setup_timer_on_stack_key((timer), NULL, NULL, (fn), (dat
[all...]
H A Dsuspend.h349 #define pm_notifier(fn, pri) { \
350 static struct notifier_block fn##_nb = \
351 { .notifier_call = fn, .priority = pri }; \
352 register_pm_notifier(&fn##_nb); \
402 #define pm_notifier(fn, pri) do { (void)(fn); } while (0)
H A Dcrash_dump.h72 extern int register_oldmem_pfn_is_ram(int (*fn)(unsigned long pfn));
H A Dkallsyms.h23 int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *,
54 static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *,
H A Ddm-io.h51 io_notify_fn fn; /* Callback for asynchronous requests */ member in struct:dm_io_notify
62 struct dm_io_notify notify; /* Synchronous if notify.fn is NULL */
H A Dpm.h633 extern void __suspend_report_result(const char *function, void *fn, int ret);
635 #define suspend_report_result(fn, ret) \
637 __suspend_report_result(__func__, fn, ret); \
673 #define suspend_report_result(fn, ret) do {} while (0)
H A Dperf_event.h1338 #define perf_cpu_notifier(fn) \
1340 static struct notifier_block fn##_nb __cpuinitdata = \
1341 { .notifier_call = fn, .priority = CPU_PRI_PERF }; \
1342 fn(&fn##_nb, (unsigned long)CPU_UP_PREPARE, \
1344 fn(&fn##_nb, (unsigned long)CPU_STARTING, \
1346 fn(&fn##_nb, (unsigned long)CPU_ONLINE, \
1348 register_cpu_notifier(&fn##_n
[all...]
H A Denclosure.h130 int enclosure_for_each_device(int (*fn)(struct enclosure_device *, void *),
/include/scsi/
H A Dscsi_dh.h66 activate_complete fn, void *data)
68 fn(data, 0);
65 scsi_dh_activate(struct request_queue *req, activate_complete fn, void *data) argument
/include/linux/netfilter_ipv4/
H A Dip_tables.h65 /* fn returns 0 to continue iteration */
66 #define IPT_MATCH_ITERATE(e, fn, args...) \
67 XT_MATCH_ITERATE(struct ipt_entry, e, fn, ## args)
69 /* fn returns 0 to continue iteration */
70 #define IPT_ENTRY_ITERATE(entries, size, fn, args...) \
71 XT_ENTRY_ITERATE(struct ipt_entry, entries, size, fn, ## args)
/include/linux/netfilter_bridge/
H A Debtables.h310 * fn returns 0 to continue iteration */
311 #define EBT_MATCH_ITERATE(e, fn, args...) \
323 __ret = fn(__match , ## args); \
334 #define EBT_WATCHER_ITERATE(e, fn, args...) \
346 __ret = fn(__watcher , ## args); \
357 #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \
365 __ret = fn(__entry , ## args); \
/include/linux/netfilter_ipv6/
H A Dip6_tables.h61 #define IP6T_MATCH_ITERATE(e, fn, args...) \
62 XT_MATCH_ITERATE(struct ip6t_entry, e, fn, ## args)
63 #define IP6T_ENTRY_ITERATE(entries, size, fn, args...) \
64 XT_ENTRY_ITERATE(struct ip6t_entry, entries, size, fn, ## args)
/include/net/
H A Dwpan-phy.h63 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
/include/linux/netfilter/
H A Dx_tables.h127 /* fn returns 0 to continue iteration */
128 #define XT_MATCH_ITERATE(type, e, fn, args...) \
139 __ret = fn(__m , ## args); \
146 /* fn returns 0 to continue iteration */
147 #define XT_ENTRY_ITERATE_CONTINUE(type, entries, size, n, fn, args...) \
159 __ret = fn(__entry , ## args); \
166 /* fn returns 0 to continue iteration */
167 #define XT_ENTRY_ITERATE(type, entries, size, fn, args...) \
168 XT_ENTRY_ITERATE_CONTINUE(type, entries, size, 0, fn, args)
/include/linux/netfilter_arp/
H A Darp_tables.h36 #define ARPT_ENTRY_ITERATE(entries, size, fn, args...) \
37 XT_ENTRY_ITERATE(struct arpt_entry, entries, size, fn, ## args)
/include/xen/
H A Dgrant_table.h54 void (*fn)(void *); member in struct:gnttab_free_callback
124 void (*fn)(void *), void *arg, u16 count);

Completed in 388 milliseconds

12