Home
last modified time | relevance | path

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

1234

/include/linux/
Dinit.h142 extern int do_one_initcall(initcall_t fn);
205 #define __initcall_id(fn) \ argument
211 __PASTE(_, fn))))))
236 #define __initcall_stub(fn, __iid, id) \ argument
239 #define __define_initcall_stub(__stub, fn) \ argument
243 return fn(); \
250 #define __initcall_stub(fn, __iid, id) fn argument
252 #define __define_initcall_stub(__stub, fn) \ argument
253 __ADDRESSABLE(fn)
257 #define ____define_initcall(fn, __stub, __name, __sec) \ argument
[all …]
Dstop_machine.h26 cpu_stop_fn_t fn; member
32 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);
33 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg);
34 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
48 cpu_stop_fn_t fn; member
52 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
57 ret = fn(arg); in stop_one_cpu()
67 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn()
72 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
77 work_buf->fn = fn; in stop_one_cpu_nowait()
[all …]
Dirqchip.h23 #define typecheck_irq_init_cb(fn) \ argument
24 (__typecheck(typecheck_irq_init_cb, &fn) ? fn : fn)
36 #define IRQCHIP_DECLARE(name, compat, fn) \ argument
37 OF_DECLARE_2(irqchip, name, compat, typecheck_irq_init_cb(fn))
44 #define IRQCHIP_MATCH(compat, fn) { .compatible = compat, \ argument
45 .data = typecheck_irq_init_cb(fn), },
77 #define IRQCHIP_ACPI_DECLARE(name, subtable, validate, data, fn) \ argument
80 validate, data, fn)
Ddelayed_call.h11 void (*fn)(void *); member
19 void (*fn)(void *), void *arg) in set_delayed_call()
21 call->fn = fn; in set_delayed_call()
27 if (call->fn) in do_delayed_call()
28 call->fn(call->arg); in do_delayed_call()
33 call->fn = NULL; in clear_delayed_call()
Dmodule.h112 #define early_initcall(fn) module_init(fn) argument
113 #define core_initcall(fn) module_init(fn) argument
114 #define core_initcall_sync(fn) module_init(fn) argument
115 #define postcore_initcall(fn) module_init(fn) argument
116 #define postcore_initcall_sync(fn) module_init(fn) argument
117 #define arch_initcall(fn) module_init(fn) argument
118 #define subsys_initcall(fn) module_init(fn) argument
119 #define subsys_initcall_sync(fn) module_init(fn) argument
120 #define fs_initcall(fn) module_init(fn) argument
121 #define fs_initcall_sync(fn) module_init(fn) argument
[all …]
Dkthread.h145 #define KTHREAD_WORK_INIT(work, fn) { \ argument
147 .func = (fn), \
150 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument
151 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \
156 #define DEFINE_KTHREAD_WORK(work, fn) \ argument
157 struct kthread_work work = KTHREAD_WORK_INIT(work, fn)
159 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument
161 KTHREAD_DELAYED_WORK_INIT(dwork, fn)
172 #define kthread_init_work(work, fn) \ argument
176 (work)->func = (fn); \
[all …]
Dattribute_container.h42 int (*fn)(struct attribute_container *,
46 int (*fn)(struct attribute_container *,
50 void (*fn)(struct attribute_container *,
54 int (*fn)(struct attribute_container *,
58 int (*fn)(struct attribute_container *,
65 int (*fn)(struct attribute_container *,
Dmemory.h138 static inline int hotplug_memory_notifier(notifier_fn_t fn, int pri) in hotplug_memory_notifier() argument
164 #define hotplug_memory_notifier(fn, pri) ({ \ argument
165 static __meminitdata struct notifier_block fn##_mem_nb =\
166 { .notifier_call = fn, .priority = pri };\
167 register_memory_notifier(&fn##_mem_nb); \
Dicmpv6.h30 static inline int inet6_register_icmp_sender(ip6_icmp_send_t *fn) in inet6_register_icmp_sender() argument
32 BUILD_BUG_ON(fn != icmp6_send); in inet6_register_icmp_sender()
35 static inline int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn) in inet6_unregister_icmp_sender() argument
37 BUILD_BUG_ON(fn != icmp6_send); in inet6_unregister_icmp_sender()
43 extern int inet6_register_icmp_sender(ip6_icmp_send_t *fn);
44 extern int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn);
Ddm-kcopyd.h69 unsigned int flags, dm_kcopyd_notify_fn fn, void *context);
83 dm_kcopyd_notify_fn fn, void *context);
88 unsigned int flags, dm_kcopyd_notify_fn fn, void *context);
Dkallsyms.h73 int kallsyms_on_each_symbol(int (*fn)(void *, const char *, unsigned long),
75 int kallsyms_on_each_match_symbol(int (*fn)(void *, unsigned long),
157 static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, unsigned long), in kallsyms_on_each_symbol()
163 static inline int kallsyms_on_each_match_symbol(int (*fn)(void *, unsigned long), in kallsyms_on_each_match_symbol()
Dsuspend.h511 #define pm_notifier(fn, pri) { \ argument
512 static struct notifier_block fn##_nb = \
513 { .notifier_call = fn, .priority = pri }; \
514 register_pm_notifier(&fn##_nb); \
557 #define pm_notifier(fn, pri) do { (void)(fn); } while (0) argument
Dclocksource.h282 #define TIMER_OF_DECLARE(name, compat, fn) \ argument
283 OF_DECLARE_1_RET(timer, name, compat, fn)
291 #define TIMER_ACPI_DECLARE(name, table_id, fn) \ argument
292 ACPI_DECLARE_PROBE_ENTRY(timer, name, table_id, 0, NULL, 0, fn)
/include/trace/events/
Dmaple_tree.h15 TP_PROTO(const char *fn, struct ma_state *mas),
17 TP_ARGS(fn, mas),
20 __field(const char *, fn)
29 __entry->fn = fn;
38 __entry->fn,
48 TP_PROTO(const char *fn, struct ma_state *mas),
50 TP_ARGS(fn, mas),
53 __field(const char *, fn)
62 __entry->fn = fn;
71 __entry->fn,
[all …]
/include/uapi/linux/netfilter/
Dx_tables.h129 #define XT_MATCH_ITERATE(type, e, fn, args...) \ argument
140 __ret = fn(__m , ## args); \
148 #define XT_ENTRY_ITERATE_CONTINUE(type, entries, size, n, fn, args...) \ argument
160 __ret = fn(__entry , ## args); \
168 #define XT_ENTRY_ITERATE(type, entries, size, fn, args...) \ argument
169 XT_ENTRY_ITERATE_CONTINUE(type, entries, size, 0, fn, args)
/include/uapi/linux/netfilter_bridge/
Debtables.h218 #define EBT_MATCH_ITERATE(e, fn, args...) \ argument
230 __ret = fn(__match , ## args); \
241 #define EBT_WATCHER_ITERATE(e, fn, args...) \ argument
253 __ret = fn(__watcher , ## args); \
264 #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \ argument
272 __ret = fn(__entry , ## args); \
/include/misc/
Docxl.h78 struct list_head *ocxl_function_afu_list(struct ocxl_fn *fn);
89 struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx);
110 const struct ocxl_fn_config *ocxl_function_config(struct ocxl_fn *fn);
120 void ocxl_function_close(struct ocxl_fn *fn);
334 struct ocxl_fn_config *fn,
419 struct ocxl_fn_config *fn);
/include/linux/platform_data/
Dpm33xx.h51 int (*soc_suspend)(unsigned int state, int (*fn)(unsigned long),
53 int (*cpu_suspend)(int (*fn)(unsigned long), unsigned long args);
/include/uapi/linux/netfilter_ipv4/
Dip_tables.h62 #define IPT_MATCH_ITERATE(e, fn, args...) \ argument
63 XT_MATCH_ITERATE(struct ipt_entry, e, fn, ## args)
66 #define IPT_ENTRY_ITERATE(entries, size, fn, args...) \ argument
67 XT_ENTRY_ITERATE(struct ipt_entry, entries, size, fn, ## args)
/include/xen/
Dgrant_table.h65 void (*fn)(void *); member
146 void (*fn)(void *), void *arg, u16 count);
309 xen_grant_fn_t fn,
314 unsigned len, xen_grant_fn_t fn, in gnttab_for_one_grant() argument
321 gnttab_foreach_grant_in_range(page, offset, len, fn, data); in gnttab_for_one_grant()
327 xen_grant_fn_t fn,
/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h57 #define IP6T_MATCH_ITERATE(e, fn, args...) \ argument
58 XT_MATCH_ITERATE(struct ip6t_entry, e, fn, ## args)
59 #define IP6T_ENTRY_ITERATE(entries, size, fn, args...) \ argument
60 XT_ENTRY_ITERATE(struct ip6t_entry, entries, size, fn, ## args)
/include/scsi/
Dscsi_dh.h72 activate_complete fn, void *data) in scsi_dh_activate() argument
74 fn(data, 0); in scsi_dh_activate()
/include/linux/sched/
Dtask.h40 int (*fn)(void *); member
97 struct task_struct *create_io_thread(int (*fn)(void *), void *arg, int node);
99 extern pid_t kernel_thread(int (*fn)(void *), void *arg, const char *name,
101 extern pid_t user_mode_thread(int (*fn)(void *), void *arg, unsigned long flags);
Dvhost_task.h8 struct vhost_task *vhost_task_create(bool (*fn)(void *), void *arg,
/include/crypto/
Dctr.h21 void (*fn)(struct crypto_skcipher *, in crypto_ctr_encrypt_walk()
50 fn(tfm, walk.iv, buf); in crypto_ctr_encrypt_walk()

1234