Home
last modified time | relevance | path

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

1234

/include/linux/
Dinit.h143 extern int do_one_initcall(initcall_t fn);
188 #define ___define_initcall(fn, id, __sec) \ argument
189 __ADDRESSABLE(fn) \
191 "__initcall_" #fn #id ": \n" \
192 ".long " #fn " - . \n" \
206 #define ___lto_initcall(c, l, fn, id, __sec) \ argument
207 static initcall_t __initcall_##c##_##l##_##fn##id __used \
209 __stringify(.init..##c##_##l##_##fn)))) = fn;
210 #define __lto_initcall(c, l, fn, id, __sec) \ argument
211 ___lto_initcall(c, l, fn, id, __sec)
[all …]
Dstop_machine.h26 cpu_stop_fn_t fn; member
31 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);
32 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg);
33 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
35 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg);
36 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg);
47 cpu_stop_fn_t fn; member
51 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
56 ret = fn(arg); in stop_one_cpu()
66 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn()
[all …]
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()
Dirqchip.h27 #define IRQCHIP_DECLARE(name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn) argument
41 #define IRQCHIP_ACPI_DECLARE(name, subtable, validate, data, fn) \ argument
43 subtable, validate, data, fn)
Dmodule.h110 #define early_initcall(fn) module_init(fn) argument
111 #define core_initcall(fn) module_init(fn) argument
112 #define core_initcall_sync(fn) module_init(fn) argument
113 #define postcore_initcall(fn) module_init(fn) argument
114 #define postcore_initcall_sync(fn) module_init(fn) argument
115 #define arch_initcall(fn) module_init(fn) argument
116 #define subsys_initcall(fn) module_init(fn) argument
117 #define subsys_initcall_sync(fn) module_init(fn) argument
118 #define fs_initcall(fn) module_init(fn) argument
119 #define fs_initcall_sync(fn) module_init(fn) argument
[all …]
Dkthread.h117 #define KTHREAD_WORK_INIT(work, fn) { \ argument
119 .func = (fn), \
122 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument
123 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \
131 #define DEFINE_KTHREAD_WORK(work, fn) \ argument
132 struct kthread_work work = KTHREAD_WORK_INIT(work, fn)
134 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument
136 KTHREAD_DELAYED_WORK_INIT(dwork, fn)
160 #define kthread_init_work(work, fn) \ argument
164 (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 *,
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);
Dmemory.h127 #define hotplug_memory_notifier(fn, pri) ({ \ argument
128 static __meminitdata struct notifier_block fn##_mem_nb =\
129 { .notifier_call = fn, .priority = pri };\
130 register_memory_notifier(&fn##_mem_nb); \
135 #define hotplug_memory_notifier(fn, pri) ({ 0; }) argument
Ddm-kcopyd.h67 unsigned flags, dm_kcopyd_notify_fn fn, void *context);
81 dm_kcopyd_notify_fn fn, void *context);
86 unsigned flags, dm_kcopyd_notify_fn fn, void *context);
Dsuspend.h477 #define pm_notifier(fn, pri) { \ argument
478 static struct notifier_block fn##_nb = \
479 { .notifier_call = fn, .priority = pri }; \
480 register_pm_notifier(&fn##_nb); \
516 #define pm_notifier(fn, pri) do { (void)(fn); } while (0) argument
Dclocksource.h264 #define TIMER_OF_DECLARE(name, compat, fn) \ argument
265 OF_DECLARE_1_RET(timer, name, compat, fn)
273 #define TIMER_ACPI_DECLARE(name, table_id, fn) \ argument
274 ACPI_DECLARE_PROBE_ENTRY(timer, name, table_id, 0, NULL, 0, fn)
Dthread_info.h48 long (*fn)(struct restart_block *)) in set_restart_fn()
50 restart->fn = fn; in set_restart_fn()
Dsock_diag.h25 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
26 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
Dworkqueue.h466 int execute_in_process_context(work_func_t fn, struct execute_work *);
621 static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg) in work_on_cpu()
623 return fn(arg); in work_on_cpu()
625 static inline long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg) in work_on_cpu_safe()
627 return fn(arg); in work_on_cpu_safe()
630 long work_on_cpu(int cpu, long (*fn)(void *), void *arg);
631 long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg);
/include/crypto/
Dcbc.h17 void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) in crypto_cbc_encrypt_segment()
27 fn(tfm, iv, dst); in crypto_cbc_encrypt_segment()
39 void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) in crypto_cbc_encrypt_inplace()
48 fn(tfm, src, src); in crypto_cbc_encrypt_inplace()
60 void (*fn)(struct crypto_skcipher *, in crypto_cbc_encrypt_walk()
71 err = crypto_cbc_encrypt_inplace(&walk, tfm, fn); in crypto_cbc_encrypt_walk()
73 err = crypto_cbc_encrypt_segment(&walk, tfm, fn); in crypto_cbc_encrypt_walk()
82 void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) in crypto_cbc_decrypt_segment()
91 fn(tfm, src, dst); in crypto_cbc_decrypt_segment()
106 void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) in crypto_cbc_decrypt_inplace()
[all …]
Dctr.h21 void (*fn)(struct crypto_skcipher *, in crypto_ctr_encrypt_walk()
50 fn(tfm, walk.iv, buf); in crypto_ctr_encrypt_walk()
/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/misc/
Docxl.h80 struct list_head *ocxl_function_afu_list(struct ocxl_fn *fn);
92 struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx);
116 const struct ocxl_fn_config *ocxl_function_config(struct ocxl_fn *fn);
127 void ocxl_function_close(struct ocxl_fn *fn);
354 struct ocxl_fn_config *fn,
439 struct ocxl_fn_config *fn);
/include/uapi/linux/netfilter_bridge/
Debtables.h216 #define EBT_MATCH_ITERATE(e, fn, args...) \ argument
228 __ret = fn(__match , ## args); \
239 #define EBT_WATCHER_ITERATE(e, fn, args...) \ argument
251 __ret = fn(__watcher , ## args); \
262 #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \ argument
270 __ret = fn(__entry , ## 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.h60 void (*fn)(void *); member
143 void (*fn)(void *), void *arg, u16 count);
292 xen_grant_fn_t fn,
297 unsigned len, xen_grant_fn_t fn, in gnttab_for_one_grant() argument
304 gnttab_foreach_grant_in_range(page, offset, len, fn, data); in gnttab_for_one_grant()
310 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.h71 activate_complete fn, void *data) in scsi_dh_activate() argument
73 fn(data, 0); in scsi_dh_activate()
/include/net/
Dip6_fib.h92 #define FIB6_SUBTREE(fn) NULL argument
94 #define FIB6_SUBTREE(fn) (rcu_dereference_protected((fn)->subtree, 1)) argument
203 #define for_each_fib6_node_rt_rcu(fn) \ argument
204 for (rt = rcu_dereference((fn)->leaf); rt; \
244 struct fib6_node *fn; in fib6_get_cookie_safe() local
247 fn = rcu_dereference(f6i->fib6_node); in fib6_get_cookie_safe()
249 if (fn) { in fib6_get_cookie_safe()
250 *cookie = READ_ONCE(fn->fn_sernum); in fib6_get_cookie_safe()

1234