Searched refs:fn (Results 101 - 125 of 1002) sorted by relevance

1234567891011>>

/linux-master/arch/arm/mach-shmobile/
H A Dcommon.h15 extern void shmobile_smp_hook(unsigned int cpu, unsigned long fn,
/linux-master/arch/mips/include/asm/mach-pic32/
H A Dpic32.h32 void pic32_syskey_unlock_debug(const char *fn, const ulong ln);
/linux-master/arch/arm64/include/asm/
H A Dsuspend.h40 extern int cpu_suspend(unsigned long arg, int (*fn)(unsigned long));
/linux-master/drivers/base/
H A Dattribute_container.c126 * @fn: function to trigger addition of class device.
130 * fn is provided, the code will simply register the class device via
142 int (*fn)(struct attribute_container *,
170 if (fn)
171 fn(cont, dev, &ic->classdev);
194 * @fn: A function to call to remove the device
196 * This routine triggers device removal. If fn is NULL, then it is
201 * device, then you should use this routine with a fn that calls
207 void (*fn)(struct attribute_container *,
228 if (fn)
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-debug.c12 #define __iwl_fn(fn) \
13 void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \
22 dev_ ##fn(dev, "%pV", &vaf); \
23 trace_iwlwifi_ ##fn(&vaf); \
/linux-master/arch/mips/include/asm/
H A Dtraps.h32 #define nmi_notifier(fn, pri) \
34 static struct notifier_block fn##_nb = { \
35 .notifier_call = fn, \
39 register_nmi_notifier(&fn##_nb); \
/linux-master/arch/riscv/include/asm/
H A Dstacktrace.h15 bool (*fn)(void *, unsigned long), void *arg);
/linux-master/arch/arm/kernel/
H A Dsuspend.c21 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
50 ret = __cpu_suspend(arg, fn, __mpidr);
64 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
70 ret = __cpu_suspend(arg, fn, __mpidr);
/linux-master/virt/kvm/
H A Dvfio.c40 void (*fn)(struct file *file, struct kvm *kvm);
42 fn = symbol_get(vfio_file_set_kvm);
43 if (!fn)
46 fn(file, kvm);
53 bool (*fn)(struct file *file);
56 fn = symbol_get(vfio_file_enforced_coherent);
57 if (!fn)
60 ret = fn(file);
69 bool (*fn)(struct file *file);
72 fn
[all...]
/linux-master/arch/xtensa/kernel/
H A Dpci-dma.c25 void (*fn)(unsigned long, unsigned long))
32 fn((unsigned long)phys_to_virt(paddr), size);
38 fn((unsigned long)vaddr + off, sz);
/linux-master/scripts/kconfig/
H A Dlkc_proto.h16 void conf_set_changed_callback(void (*fn)(void));
17 void conf_set_message_callback(void (*fn)(const char *s));
43 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken);
/linux-master/arch/arm/mach-omap2/
H A Dsoc.h468 #define omap_initcall(level, fn) \
469 static int __init __used __##fn(void) \
473 return fn(); \
475 level(__##fn);
477 #define omap_early_initcall(fn) omap_initcall(early_initcall, fn)
478 #define omap_core_initcall(fn) omap_initcall(core_initcall, fn)
479 #define omap_postcore_initcall(fn) omap_initcall(postcore_initcall, fn)
[all...]
H A Domap-secure.c89 void omap_smccc_smc(u32 fn, u32 arg) argument
93 arm_smccc_smc(OMAP_SIP_SMC_STD_CALL_VAL(fn), arg,
95 WARN(res.a0, "Secure function call 0x%08x failed\n", fn);
98 void omap_smc1(u32 fn, u32 arg) argument
105 omap_smccc_smc(fn, arg);
107 _omap_smc1(fn, arg);
/linux-master/drivers/input/rmi4/
H A Drmi_driver.h103 const char *rmi_f01_get_product_ID(struct rmi_function *fn);
106 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button,
108 void rmi_f03_commit_buttons(struct rmi_function *fn);
110 static inline int rmi_f03_overwrite_button(struct rmi_function *fn, argument
115 static inline void rmi_f03_commit_buttons(struct rmi_function *fn) {} argument
H A Drmi_driver.c37 struct rmi_function *fn, *tmp; local
43 list_for_each_entry_safe_reverse(fn, tmp,
45 list_del(&fn->node);
46 rmi_unregister_function(fn);
60 static int reset_one_function(struct rmi_function *fn) argument
65 if (!fn || !fn->dev.driver)
68 fh = to_rmi_function_handler(fn->dev.driver);
70 retval = fh->reset(fn);
72 dev_err(&fn
79 configure_one_function(struct rmi_function *fn) argument
256 suspend_one_function(struct rmi_function *fn) argument
290 resume_one_function(struct rmi_function *fn) argument
834 struct rmi_function *fn; local
[all...]
/linux-master/net/ipv6/
H A Dip6_icmp.c16 int inet6_register_icmp_sender(ip6_icmp_send_t *fn) argument
18 return (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, NULL, fn) == NULL) ?
23 int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn) argument
27 ret = (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, fn, NULL) == fn) ?
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Dnotif-wait.c57 if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) {
86 bool (*fn)(struct iwl_notif_wait_data *notif_wait,
93 wait_entry->fn = fn;
/linux-master/tools/testing/selftests/mm/
H A Dcow.c202 child_fn fn, bool xfail)
219 exit(fn(mem, size, &comm_pipes));
741 static void do_run_with_base_page(test_fn fn, bool swapout) argument
771 fn(mem, pagesize, false);
776 static void run_with_base_page(test_fn fn, const char *desc) argument
779 do_run_with_base_page(fn, false);
782 static void run_with_base_page_swap(test_fn fn, const char *desc) argument
785 do_run_with_base_page(fn, true);
799 static void do_run_with_thp(test_fn fn, enum thp_run thp_run, size_t thpsize) argument
935 fn(me
201 do_test_cow_in_parent(char *mem, size_t size, bool do_mprotect, child_fn fn, bool xfail) argument
942 run_with_thp(test_fn fn, const char *desc, size_t size) argument
949 run_with_thp_swap(test_fn fn, const char *desc, size_t size) argument
956 run_with_pte_mapped_thp(test_fn fn, const char *desc, size_t size) argument
963 run_with_pte_mapped_thp_swap(test_fn fn, const char *desc, size_t size) argument
970 run_with_single_pte_of_thp(test_fn fn, const char *desc, size_t size) argument
977 run_with_single_pte_of_thp_swap(test_fn fn, const char *desc, size_t size) argument
984 run_with_partial_mremap_thp(test_fn fn, const char *desc, size_t size) argument
991 run_with_partial_shared_thp(test_fn fn, const char *desc, size_t size) argument
998 run_with_hugetlb(test_fn fn, const char *desc, size_t hugetlbsize) argument
1035 test_fn fn; member in struct:test_case
1471 run_with_zeropage(non_anon_test_fn fn, const char *desc) argument
1501 run_with_huge_zeropage(non_anon_test_fn fn, const char *desc) argument
1560 run_with_memfd(non_anon_test_fn fn, const char *desc) argument
1604 run_with_tmpfile(non_anon_test_fn fn, const char *desc) argument
1655 run_with_memfd_hugetlb(non_anon_test_fn fn, const char *desc, size_t hugetlbsize) argument
1707 non_anon_test_fn fn; member in struct:non_anon_test_case
[all...]
H A Dgup_longterm.c244 static void run_with_memfd(test_fn fn, const char *desc) argument
256 fn(fd, pagesize);
260 static void run_with_tmpfile(test_fn fn, const char *desc) argument
279 fn(fd, pagesize);
284 static void run_with_local_tmpfile(test_fn fn, const char *desc) argument
302 fn(fd, pagesize);
307 static void run_with_memfd_hugetlb(test_fn fn, const char *desc, argument
324 fn(fd, hugetlbsize);
330 test_fn fn; member in struct:test_case
434 run_with_memfd(test_case->fn, test_cas
[all...]
/linux-master/drivers/pinctrl/renesas/
H A Dpfc-r8a73a4.c13 #define CPU_ALL_PORT(fn, pfx, sfx) \
15 PORT_10(0, fn, pfx, sfx), \
16 PORT_10(10, fn, pfx##1, sfx), \
17 PORT_10(20, fn, pfx##2, sfx), \
18 PORT_1(30, fn, pfx##30, sfx), \
20 PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \
21 PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \
22 PORT_1(36, fn, pf
[all...]
/linux-master/include/misc/
H A Docxl.h76 * @fn: The OpenCAPI function containing the AFUs
78 struct list_head *ocxl_function_afu_list(struct ocxl_fn *fn);
82 * @fn: The OpenCAPI function to get the AFU from
89 struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx);
106 * @fn: The OpenCAPI function to get the config for
110 const struct ocxl_fn_config *ocxl_function_config(struct ocxl_fn *fn);
117 * @fn: The OpenCAPI function to close
120 void ocxl_function_close(struct ocxl_fn *fn);
334 struct ocxl_fn_config *fn,
419 struct ocxl_fn_config *fn);
[all...]
/linux-master/include/uapi/linux/netfilter/
H A Dx_tables.h128 /* fn returns 0 to continue iteration */
129 #define XT_MATCH_ITERATE(type, e, fn, args...) \
140 __ret = fn(__m , ## args); \
147 /* fn returns 0 to continue iteration */
148 #define XT_ENTRY_ITERATE_CONTINUE(type, entries, size, n, fn, args...) \
160 __ret = fn(__entry , ## args); \
167 /* fn returns 0 to continue iteration */
168 #define XT_ENTRY_ITERATE(type, entries, size, fn, args...) \
169 XT_ENTRY_ITERATE_CONTINUE(type, entries, size, 0, fn, args)
/linux-master/include/uapi/linux/netfilter_bridge/
H A Debtables.h217 * fn returns 0 to continue iteration */
218 #define EBT_MATCH_ITERATE(e, fn, args...) \
230 __ret = fn(__match , ## args); \
241 #define EBT_WATCHER_ITERATE(e, fn, args...) \
253 __ret = fn(__watcher , ## args); \
264 #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \
272 __ret = fn(__entry , ## args); \
/linux-master/arch/csky/mm/
H A Ddma-mapping.c15 void (*fn)(unsigned long start, unsigned long end))
31 fn((unsigned long)start + offset,
36 fn((unsigned long)start + offset,
/linux-master/scripts/dtc/
H A Ddtc-lexer.l62 struct data fn;
77 fn = data_copy_escape_string(fnstart + 1,
81 if (memchr(fn.val, '\0', fn.len - 1))
85 srcpos_set_line(xstrdup(fn.val), atoi(line) - 1);
86 data_free(fn);

Completed in 226 milliseconds

1234567891011>>