/linux/include/linux/ |
A D | init.h | 208 #define __initcall_id(fn) \ argument 239 #define __initcall_stub(fn, __iid, id) \ argument 242 #define __define_initcall_stub(__stub, fn) \ argument 253 #define __initcall_stub(fn, __iid, id) fn argument 255 #define __define_initcall_stub(__stub, fn) \ argument 279 #define ___define_initcall(fn, id, __sec) \ argument 308 #define fs_initcall(fn) __define_initcall(fn, 5) argument 316 #define __initcall(fn) device_initcall(fn) argument 318 #define __exitcall(fn) \ argument 350 #define __setup(str, fn) \ argument [all …]
|
A D | stop_machine.h | 26 cpu_stop_fn_t fn; member 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() 72 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 147 static __always_inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() 159 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() 165 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu()
|
A D | irqchip.h | 23 #define typecheck_irq_init_cb(fn) \ argument 36 #define IRQCHIP_DECLARE(name, compat, fn) \ argument 44 #define IRQCHIP_MATCH(compat, fn) { .compatible = compat, \ argument 77 #define IRQCHIP_ACPI_DECLARE(name, subtable, validate, data, fn) \ argument
|
A D | kthread.h | 145 #define KTHREAD_WORK_INIT(work, fn) { \ argument 150 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument 156 #define DEFINE_KTHREAD_WORK(work, fn) \ argument 159 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument 172 #define kthread_init_work(work, fn) \ argument 179 #define kthread_init_delayed_work(dwork, fn) \ argument
|
/linux/drivers/misc/ocxl/ |
A D | core.c | 6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get() 11 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put() 16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu() 56 struct ocxl_fn *fn = afu->fn; in assign_afu_actag() local 84 struct ocxl_fn *fn = afu->fn; in reclaim_afu_actag() local 94 struct ocxl_fn *fn = afu->fn; in assign_afu_pasid() local 123 struct ocxl_fn *fn = afu->fn; in reclaim_afu_pasid() local 301 struct ocxl_fn *fn; in alloc_function() local 451 struct ocxl_fn *fn; in init_function() local 479 struct ocxl_fn *fn; in ocxl_function_open() local [all …]
|
A D | config.c | 77 static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid() 100 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl() 117 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function() 144 static int read_dvsec_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_afu_info() 267 static int validate_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in validate_function() 324 static int read_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_info() 381 struct ocxl_fn_config *fn, int afu_idx) in ocxl_config_check_afu_index() 422 static int read_afu_name(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_name() 440 static int read_afu_mmio(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_mmio() 565 struct ocxl_fn_config *fn, in read_afu_lpc_memory_info() [all …]
|
A D | pasid.c | 81 int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_pasid_afu_alloc() 91 void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_pasid_afu_free() 96 int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_actag_afu_alloc() 104 void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_actag_afu_free()
|
/linux/drivers/pinctrl/renesas/ |
A D | sh_pfc.h | 361 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument 371 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument 382 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument 393 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument 405 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument 427 #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ argument 435 #define PINMUX_SINGLE(fn) \ argument 446 #define PORT_GP_CFG_2(bank, fn, sfx, cfg) \ argument 593 #define PORT_GP_32_REV(bank, fn, sfx) \ argument 652 #define PORT_10(pn, fn, pfx, sfx) \ argument [all …]
|
/linux/rust/kernel/ |
A D | ioctl.rs | 13 const fn _IOC(dir: u32, ty: u32, nr: u32, size: usize) -> u32 { in _IOC() consts 27 pub const fn _IO(ty: u32, nr: u32) -> u32 { in _IO() consts 33 pub const fn _IOR<T>(ty: u32, nr: u32) -> u32 { in _IOR() consts 39 pub const fn _IOW<T>(ty: u32, nr: u32) -> u32 { in _IOW() consts 45 pub const fn _IOWR<T>(ty: u32, nr: u32) -> u32 { in _IOWR() consts 55 pub const fn _IOC_DIR(nr: u32) -> u32 { in _IOC_DIR() consts 60 pub const fn _IOC_TYPE(nr: u32) -> u32 { in _IOC_TYPE() consts 65 pub const fn _IOC_NR(nr: u32) -> u32 { in _IOC_NR() consts 70 pub const fn _IOC_SIZE(nr: u32) -> usize { in _IOC_SIZE() consts
|
/linux/arch/um/include/shared/ |
A D | init.h | 71 #define __uml_exitcall(fn) \ argument 76 #define __uml_postsetup(fn) \ argument 86 #define __uml_setup(str, fn, help...) \ argument 92 #define __uml_setup(str, fn, help...) \ argument 96 #define __uml_help(fn, help...) \ argument 112 #define __define_initcall(level,fn) \ argument 119 #define __initcall(fn) __define_initcall("1", fn) argument 121 #define __exitcall(fn) static exitcall_t __exitcall_##fn __exit_call = fn argument
|
/linux/arch/powerpc/include/asm/ |
A D | machdep.h | 243 #define __define_machine_initcall(mach, fn, id) \ argument 250 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument 251 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument 252 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument 253 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument 255 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument 257 #define machine_subsys_initcall(mach, fn) __define_machine_initcall(mach, fn, 4) argument 259 #define machine_fs_initcall(mach, fn) __define_machine_initcall(mach, fn, 5) argument 260 #define machine_fs_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 5s) argument 262 #define machine_device_initcall(mach, fn) __define_machine_initcall(mach, fn, 6) argument [all …]
|
A D | kasan.h | 6 #define _GLOBAL_KASAN(fn) _GLOBAL(__##fn) argument 7 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn) argument 8 #define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn) argument 10 #define _GLOBAL_KASAN(fn) _GLOBAL(fn) argument 11 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn) argument 12 #define EXPORT_SYMBOL_KASAN(fn) argument
|
/linux/tools/testing/selftests/vDSO/ |
A D | vdso_call.h | 12 #define LOADARGS_1(fn, __arg1) do { \ argument 17 #define LOADARGS_2(fn, __arg1, __arg2) do { \ argument 23 #define LOADARGS_3(fn, __arg1, __arg2, __arg3) do { \ argument 30 #define LOADARGS_5(fn, __arg1, __arg2, __arg3, __arg4, __arg5) do { \ argument 39 #define VDSO_CALL(fn, nr, args...) ({ \ argument 67 #define VDSO_CALL(fn, nr, args...) fn(args) argument
|
/linux/drivers/input/rmi4/ |
A D | rmi_f03.c | 29 struct rmi_function *fn; member 40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button() 59 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons() 96 struct rmi_function *fn = f03->fn; in rmi_f03_initialize() local 142 struct rmi_function *fn = f03->fn; in rmi_f03_pt_open() local 165 struct rmi_function *fn = f03->fn; in rmi_f03_pt_close() local 198 static int rmi_f03_probe(struct rmi_function *fn) in rmi_f03_probe() 222 static int rmi_f03_config(struct rmi_function *fn) in rmi_f03_config() 246 struct rmi_function *fn = ctx; in rmi_f03_attention() local 307 static void rmi_f03_remove(struct rmi_function *fn) in rmi_f03_remove()
|
A D | rmi_bus.c | 132 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local 150 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local 156 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() 166 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() 174 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq() 205 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe() local 229 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove() local 239 int rmi_register_function(struct rmi_function *fn) in rmi_register_function() 271 void rmi_unregister_function(struct rmi_function *fn) in rmi_unregister_function()
|
A D | rmi_f34.c | 18 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local 48 struct rmi_function *fn = f34->fn; in rmi_f34_command() local 102 struct rmi_function *fn = ctx; in rmi_f34_attention() local 133 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks() local 197 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware() local 301 static int rmi_f34_status(struct rmi_function *fn) in rmi_f34_status() 317 struct rmi_function *fn = data->f34_container; in rmi_driver_bootloader_id_show() local 343 struct rmi_function *fn = data->f34_container; in rmi_driver_configuration_id_show() local 520 static int rmi_f34_probe(struct rmi_function *fn) in rmi_f34_probe()
|
A D | rmi_f3a.c | 38 static void rmi_f3a_report_button(struct rmi_function *fn, in rmi_f3a_report_button() 58 struct rmi_function *fn = ctx; in rmi_f3a_attention() local 94 static int rmi_f3a_config(struct rmi_function *fn) in rmi_f3a_config() 122 static int rmi_f3a_map_gpios(struct rmi_function *fn, struct f3a_data *f3a, in rmi_f3a_map_gpios() 167 static int rmi_f3a_initialize(struct rmi_function *fn, struct f3a_data *f3a) in rmi_f3a_initialize() 207 static int rmi_f3a_probe(struct rmi_function *fn) in rmi_f3a_probe()
|
A D | rmi_f30.c | 84 static int rmi_f30_read_control_parameters(struct rmi_function *fn, in rmi_f30_read_control_parameters() 101 static void rmi_f30_report_button(struct rmi_function *fn, in rmi_f30_report_button() 124 struct rmi_function *fn = ctx; in rmi_f30_attention() local 163 static int rmi_f30_config(struct rmi_function *fn) in rmi_f30_config() 223 static int rmi_f30_map_gpios(struct rmi_function *fn, in rmi_f30_map_gpios() 273 static int rmi_f30_initialize(struct rmi_function *fn, struct f30_data *f30) in rmi_f30_initialize() 366 static int rmi_f30_probe(struct rmi_function *fn) in rmi_f30_probe()
|
/linux/kernel/ |
A D | stop_machine.c | 46 cpu_stop_fn_t fn; member 139 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 171 cpu_stop_fn_t fn; member 384 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 392 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() 424 cpu_stop_fn_t fn, void *arg) in __stop_cpus() 502 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local 586 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() 622 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() 635 int stop_core_cpuslocked(unsigned int cpu, cpu_stop_fn_t fn, void *data) in stop_core_cpuslocked() [all …]
|
/linux/drivers/pci/controller/cadence/ |
A D | pcie-cadence-ep.c | 20 static u8 cdns_pcie_get_fn_from_vfn(struct cdns_pcie *pcie, u8 fn, u8 vfn) in cdns_pcie_get_fn_from_vfn() 35 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header() 77 static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_bar() 148 static void cdns_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_clear_bar() 181 static int cdns_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_map_addr() 203 static void cdns_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_unmap_addr() 223 static int cdns_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, u8 mmc) in cdns_pcie_ep_set_msi() 245 static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in cdns_pcie_ep_get_msi() 287 static int cdns_pcie_ep_set_msix(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_set_msix() 428 static int cdns_pcie_ep_map_msi_irq(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_map_msi_irq() [all …]
|
/linux/drivers/pci/controller/ |
A D | pcie-rockchip-ep.c | 66 static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, in rockchip_pcie_prog_ep_ob_atu() 92 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_write_header() 129 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_bar() 197 static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_clear_bar() 231 static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_map_addr() 247 static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_unmap_addr() 267 static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rockchip_pcie_ep_set_msi() 288 static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rockchip_pcie_ep_get_msi() 304 static void rockchip_pcie_ep_assert_intx(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_assert_intx() 349 static int rockchip_pcie_ep_send_msi_irq(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_send_msi_irq() [all …]
|
A D | pcie-rcar-ep.c | 159 static int rcar_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_write_header() 246 static void rcar_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_clear_bar() 259 static int rcar_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_set_msi() 273 static int rcar_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) in rcar_pcie_ep_get_msi() 286 static int rcar_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_map_addr() 323 static void rcar_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_unmap_addr() 347 u8 fn, u8 intx) in rcar_pcie_ep_assert_intx() 381 u8 fn, u8 interrupt_num) in rcar_pcie_ep_assert_msi() 404 static int rcar_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, in rcar_pcie_ep_raise_irq()
|
/linux/tools/testing/selftests/mm/ |
A D | cow.c | 202 child_fn fn, bool xfail) in do_test_cow_in_parent() 741 static void do_run_with_base_page(test_fn fn, bool swapout) in do_run_with_base_page() 776 static void run_with_base_page(test_fn fn, const char *desc) in run_with_base_page() 782 static void run_with_base_page_swap(test_fn fn, const char *desc) in run_with_base_page_swap() 942 static void run_with_thp(test_fn fn, const char *desc, size_t size) in run_with_thp() 949 static void run_with_thp_swap(test_fn fn, const char *desc, size_t size) in run_with_thp_swap() 1035 test_fn fn; member 1471 static void run_with_zeropage(non_anon_test_fn fn, const char *desc) in run_with_zeropage() 1560 static void run_with_memfd(non_anon_test_fn fn, const char *desc) in run_with_memfd() 1604 static void run_with_tmpfile(non_anon_test_fn fn, const char *desc) in run_with_tmpfile() [all …]
|
/linux/arch/arm/include/asm/ |
A D | glue.h | 16 #define ____glue(name,fn) name##fn argument 18 #define ____glue(name,fn) name/**/fn argument 20 #define __glue(name,fn) ____glue(name,fn) argument
|
/linux/tools/perf/pmu-events/ |
A D | empty-pmu-events.c | 307 pmu_event_iter_fn fn, in pmu_events_table__for_each_event_pmu() 329 pmu_event_iter_fn fn, in pmu_events_table__find_event_pmu() 371 pmu_event_iter_fn fn, in pmu_events_table__for_each_event() 392 pmu_event_iter_fn fn, in pmu_events_table__find_event() 427 pmu_metric_iter_fn fn, in pmu_metrics_table__for_each_metric_pmu() 447 pmu_metric_iter_fn fn, in pmu_metrics_table__for_each_metric() 577 int pmu_for_each_core_event(pmu_event_iter_fn fn, void *data) in pmu_for_each_core_event() 591 int pmu_for_each_core_metric(pmu_metric_iter_fn fn, void *data) in pmu_for_each_core_metric() 615 int pmu_for_each_sys_event(pmu_event_iter_fn fn, void *data) in pmu_for_each_sys_event() 629 int pmu_for_each_sys_metric(pmu_metric_iter_fn fn, void *data) in pmu_for_each_sys_metric()
|