Home
last modified time | relevance | path

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

1234

/include/linux/
A Dinit.h255 #define __initcall_stub(fn, __iid, id) fn argument
282 __unique_initcall(fn, id, __sec, __initcall_id(fn))
300 #define pure_initcall(fn) __define_initcall(fn, 0) argument
302 #define core_initcall(fn) __define_initcall(fn, 1) argument
306 #define arch_initcall(fn) __define_initcall(fn, 3) argument
310 #define fs_initcall(fn) __define_initcall(fn, 5) argument
315 #define late_initcall(fn) __define_initcall(fn, 7) argument
318 #define __initcall(fn) device_initcall(fn) argument
321 static exitcall_t __exitcall_##fn __exit_call = fn
353 __setup_param(str, fn, fn, 0)
[all …]
A Dstop_machine.h26 cpu_stop_fn_t fn; member
32 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);
48 cpu_stop_fn_t fn; member
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()
171 ret = fn(data); in stop_machine_cpuslocked()
179 return stop_machine_cpuslocked(fn, data, cpus); in stop_machine()
183 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu() argument
[all …]
A 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)
A 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()
A Dmodule.h112 #define early_initcall(fn) module_init(fn) argument
113 #define core_initcall(fn) module_init(fn) argument
115 #define postcore_initcall(fn) module_init(fn) argument
117 #define arch_initcall(fn) module_init(fn) argument
118 #define subsys_initcall(fn) module_init(fn) argument
120 #define fs_initcall(fn) module_init(fn) argument
121 #define fs_initcall_sync(fn) module_init(fn) argument
122 #define rootfs_initcall(fn) module_init(fn) argument
123 #define device_initcall(fn) module_init(fn) argument
125 #define late_initcall(fn) module_init(fn) argument
[all …]
A 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 *,
A Dkthread.h146 #define KTHREAD_WORK_INIT(work, fn) { \ argument
148 .func = (fn), \
151 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument
152 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \
157 #define DEFINE_KTHREAD_WORK(work, fn) \ argument
160 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument
162 KTHREAD_DELAYED_WORK_INIT(dwork, fn)
173 #define kthread_init_work(work, fn) \ argument
177 (work)->func = (fn); \
180 #define kthread_init_delayed_work(dwork, fn) \ argument
[all …]
A 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);
A 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);
A Dnode.h145 #define hotplug_node_notifier(fn, pri) ({ \ argument
146 static __meminitdata struct notifier_block fn##_node_nb =\
147 { .notifier_call = fn, .priority = pri };\
148 register_node_notifier(&fn##_node_nb); \
162 static inline int hotplug_node_notifier(notifier_fn_t fn, int pri) in hotplug_node_notifier() argument
A Dmemory.h146 static inline int hotplug_memory_notifier(notifier_fn_t fn, int pri) in hotplug_memory_notifier() argument
181 #define hotplug_memory_notifier(fn, pri) ({ \ argument
182 static __meminitdata struct notifier_block fn##_mem_nb =\
183 { .notifier_call = fn, .priority = pri };\
184 register_memory_notifier(&fn##_mem_nb); \
A Dclosure.h149 closure_fn *fn; member
248 static inline void set_closure_fn(struct closure *cl, closure_fn *fn, in set_closure_fn() argument
252 cl->fn = fn; in set_closure_fn()
263 BUILD_BUG_ON(offsetof(struct closure, fn) in closure_queue()
270 cl->fn(&cl->work); in closure_queue()
311 cl->fn = NULL; in closure_init()
427 static inline void closure_call(struct closure *cl, closure_fn fn, in closure_call() argument
432 continue_at_nobarrier(cl, fn, wq); in closure_call()
A Dkallsyms.h72 int kallsyms_on_each_symbol(int (*fn)(void *, const char *, unsigned long),
74 int kallsyms_on_each_match_symbol(int (*fn)(void *, unsigned long),
156 static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, unsigned long), in kallsyms_on_each_symbol()
162 static inline int kallsyms_on_each_match_symbol(int (*fn)(void *, unsigned long), in kallsyms_on_each_match_symbol()
A Diova_bitmap.h24 iova_bitmap_fn_t fn);
41 iova_bitmap_fn_t fn) in iova_bitmap_for_each() argument
A Dsuspend.h452 #define pm_notifier(fn, pri) { \ argument
453 static struct notifier_block fn##_nb = \
454 { .notifier_call = fn, .priority = pri }; \
455 register_pm_notifier(&fn##_nb); \
503 #define pm_notifier(fn, pri) do { (void)(fn); } while (0) argument
/include/trace/events/
A Dmaple_tree.h17 TP_ARGS(fn, mas),
20 __field(const char *, fn)
29 __entry->fn = fn;
38 __entry->fn,
50 TP_ARGS(fn, mas),
53 __field(const char *, fn)
62 __entry->fn = fn;
71 __entry->fn,
85 TP_ARGS(fn, mas, piv, val),
99 __entry->fn = fn;
[all …]
/include/uapi/linux/netfilter/
A 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/
A 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/
A 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/
A 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/
A 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/
A 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/
A 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/
A Dscsi_dh.h72 activate_complete fn, void *data) in scsi_dh_activate() argument
74 fn(data, 0); in scsi_dh_activate()
/include/linux/sched/
A Dtask.h42 int (*fn)(void *); member
101 struct task_struct *create_io_thread(int (*fn)(void *), void *arg, int node);
103 extern pid_t kernel_thread(int (*fn)(void *), void *arg, const char *name,
105 extern pid_t user_mode_thread(int (*fn)(void *), void *arg, unsigned long flags);

Completed in 44 milliseconds

1234