/linux-master/kernel/ |
H A D | stop_machine.c | 46 cpu_stop_fn_t fn; member in struct:cpu_stopper 63 printk("%sStopper: %pS <- %pS\n", log_lvl, stopper->fn, (void *)stopper->caller); 118 * @fn: function to execute 119 * @arg: argument to @fn 121 * Execute @fn(@arg) on @cpu. @fn is run in a process context with 126 * This function doesn't guarantee @cpu stays online till @fn 128 * partially or fully on different cpus. @fn should either be ready 136 * -ENOENT if @fn(@arg) was not executed because @cpu was offline; 137 * otherwise, the return value of @fn 139 stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) argument 171 cpu_stop_fn_t fn; member in struct:multi_stop_data 334 stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) argument 384 stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, struct cpu_stop_work *work_buf) argument 391 queue_stop_cpus_work(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg, struct cpu_stop_done *done) argument 423 __stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) argument 463 stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) argument 502 cpu_stop_fn_t fn = work->fn; local 521 "cpu_stop: %ps(%p) leaked preempt count\\n", fn, arg); local 586 stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) argument 622 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) argument 635 stop_core_cpuslocked(unsigned int cpu, cpu_stop_fn_t fn, void *data) argument 677 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) argument [all...] |
/linux-master/drivers/input/rmi4/ |
H A D | rmi_f54.c | 97 struct rmi_function *fn; member in struct:f54_data 177 static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) argument 179 struct f54_data *f54 = dev_get_drvdata(&fn->dev); 180 struct rmi_device *rmi_dev = fn->rmi_dev; 185 error = rmi_write(rmi_dev, f54->fn->fd.data_base_addr, 201 error = rmi_write(rmi_dev, fn->fd.command_base_addr, F54_GET_REPORT); 220 struct rmi_device *rmi_dev = f54->fn->rmi_dev; 321 ret = rmi_f54_request_report(f54->fn, reptype); 323 dev_err(&f54->fn->dev, "Error requesting F54 report\n"); 335 dev_err(&f54->fn 536 struct rmi_function *fn = f54->fn; local 614 rmi_f54_config(struct rmi_function *fn) argument 623 rmi_f54_detect(struct rmi_function *fn) argument 661 rmi_f54_probe(struct rmi_function *fn) argument 740 rmi_f54_remove(struct rmi_function *fn) argument [all...] |
H A D | rmi_f12.c | 67 struct rmi_function *fn = sensor->fn; local 68 struct rmi_device *rmi_dev = fn->rmi_dev; 79 dev_err(&fn->dev, 87 dev_err(&fn->dev, 93 ret = rmi_read_block(rmi_dev, fn->fd.control_base_addr + offset, buf, 105 rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: max_x: %d max_y: %d\n", __func__, 116 rmi_dbg(RMI_DEBUG_FN, &fn->dev, 138 rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: x_mm: %d y_mm: %d\n", __func__, 201 struct rmi_function *fn local 236 rmi_f12_write_control_regs(struct rmi_function *fn) argument 294 rmi_f12_config(struct rmi_function *fn) argument 318 rmi_f12_probe(struct rmi_function *fn) argument [all...] |
H A D | rmi_f34v7.c | 27 ret = rmi_read_block(f34->fn->rmi_dev, 28 f34->fn->fd.data_base_addr + V7_FLASH_STATUS_OFFSET, 32 rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, 41 dev_err(&f34->fn->dev, "%s: status=%d, command=0x%02x\n", 45 ret = rmi_read_block(f34->fn->rmi_dev, 46 f34->fn->fd.data_base_addr + V7_COMMAND_OFFSET, 50 dev_err(&f34->fn->dev, "%s: Failed to read flash command\n", 67 dev_warn(&f34->fn->dev, "%s: Timed out waiting for idle status\n", 100 base = f34->fn->fd.data_base_addr; 142 ret = rmi_write_block(f34->fn [all...] |
/linux-master/net/ipv6/ |
H A D | ip6_fib.c | 59 struct fib6_node *fn); 62 struct fib6_node *fn); 109 struct fib6_node *fn; local 111 fn = rcu_dereference_protected(f6i->fib6_node, 113 if (fn) 114 WRITE_ONCE(fn->fn_sernum, fib6_new_sernum(net)); 186 struct fib6_node *fn; local 188 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC); 189 if (fn) 192 return fn; 195 node_free_immediate(struct net *net, struct fib6_node *fn) argument 203 struct fib6_node *fn = container_of(head, struct fib6_node, rcu); local 208 node_free(struct net *net, struct fib6_node *fn) argument 755 struct fib6_node *fn, *in, *ln; local 1035 fib6_purge_rt(struct fib6_info *rt, struct fib6_node *fn, struct net *net) argument 1078 fib6_add_rt2node(struct fib6_node *fn, struct fib6_info *rt, struct nl_info *info, struct netlink_ext_ack *extack) argument 1357 struct fib6_node *fn = rcu_dereference_protected(rt->fib6_node, local 1393 struct fib6_node *fn; local 1569 struct fib6_node *fn; local 1639 struct fib6_node *fn; local 1680 struct fib6_node *fn, *prev = NULL; local 1730 struct fib6_node *fn; local 1763 fib6_find_prefix(struct net *net, struct fib6_table *table, struct fib6_node *fn) argument 1795 fib6_repair_tree(struct net *net, struct fib6_table *table, struct fib6_node *fn) argument 1923 fib6_del_route(struct fib6_table *table, struct fib6_node *fn, struct fib6_info __rcu **rtp, struct nl_info *info) argument 2024 struct fib6_node *fn; local 2083 struct fib6_node *fn, *pn, *left, *right; local [all...] |
/linux-master/drivers/pci/controller/cadence/ |
H A D | pcie-cadence.h | 50 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG(bar, fn) \ 51 (((bar) < BAR_4) ? CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) : CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn)) 52 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) \ 53 (CDNS_PCIE_LM_BASE + 0x0240 + (fn) * 0x0008) 54 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn) \ 55 (CDNS_PCIE_LM_BASE + 0x0244 + (fn) * 0x0008) 56 #define CDNS_PCIE_LM_EP_VFUNC_BAR_CFG(bar, fn) \ 57 (((bar) < BAR_4) ? CDNS_PCIE_LM_EP_VFUNC_BAR_CFG0(fn) : CDNS_PCIE_LM_EP_VFUNC_BAR_CFG1(fn)) 467 cdns_pcie_ep_fn_writeb(struct cdns_pcie *pcie, u8 fn, u32 reg, u8 value) argument 475 cdns_pcie_ep_fn_writew(struct cdns_pcie *pcie, u8 fn, u32 reg, u16 value) argument 483 cdns_pcie_ep_fn_writel(struct cdns_pcie *pcie, u8 fn, u32 reg, u32 value) argument 489 cdns_pcie_ep_fn_readw(struct cdns_pcie *pcie, u8 fn, u32 reg) argument 496 cdns_pcie_ep_fn_readl(struct cdns_pcie *pcie, u8 fn, u32 reg) argument [all...] |
/linux-master/include/linux/ |
H A D | dm-kcopyd.h | 69 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);
|
H A D | kthread.h | 145 #define KTHREAD_WORK_INIT(work, fn) { \ 147 .func = (fn), \ 150 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ 151 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \ 156 #define DEFINE_KTHREAD_WORK(work, fn) \ 157 struct kthread_work work = KTHREAD_WORK_INIT(work, fn) 159 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ 161 KTHREAD_DELAYED_WORK_INIT(dwork, fn) 172 #define kthread_init_work(work, fn) \ 176 (work)->func = (fn); \ [all...] |
/linux-master/arch/arm/mach-at91/ |
H A D | sam_secure.c | 17 struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1) argument 24 arm_smccc_smc(SAM_SIP_SMC_STD_CALL_VAL(fn), arg0, arg1, 0, 0, 0, 0, 0,
|
H A D | sam_secure.h | 16 struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1);
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.h | 50 int (*fn)(void *)); 56 int (*fn)(struct thread_with_stdio *); member in struct:thread_with_stdio_ops
|
H A D | clock_types.h | 19 io_timer_fn fn; member in struct:io_timer
|
/linux-master/drivers/sh/intc/ |
H A D | handle.c | 45 unsigned int fn, mode; local 56 fn = REG_FN_WRITE_BASE; 61 fn = REG_FN_MODIFY_BASE; 73 fn += (mr->reg_width >> 3) - 1; 74 return _INTC_MK(fn, mode, 113 unsigned int fn, n, mode, bit; local 124 fn = REG_FN_WRITE_BASE; 129 fn = REG_FN_MODIFY_BASE; 137 fn += (pr->reg_width >> 3) - 1; 144 return _INTC_MK(fn, mod 179 unsigned int i, j, fn, mode; local 262 unsigned int i, j, fn, bit; local [all...] |
/linux-master/tools/perf/bench/ |
H A D | mem-functions.c | 63 } fn; member in struct:function 226 static void memcpy_prefault(memcpy_t fn, size_t size, void *src, void *dst) argument 235 fn(dst, src, size); 241 memcpy_t fn = r->fn.memcpy; local 244 memcpy_prefault(fn, size, src, dst); 248 fn(dst, src, size); 257 memcpy_t fn = r->fn.memcpy; local 260 memcpy_prefault(fn, siz 307 memset_t fn = r->fn.memset; local 327 memset_t fn = r->fn.memset; local [all...] |
/linux-master/drivers/pci/controller/ |
H A D | pcie-rockchip-ep.c | 66 static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, argument 79 desc0 = ROCKCHIP_PCIE_AT_OB_REGION_DESC0_DEVFN(fn) | AXI_WRAPPER_MEM_WRITE; 92 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, argument 100 if (fn == 0) { 115 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + PCI_REVISION_ID); 117 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + 120 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + 123 ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + 129 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, u8 vfn, argument 172 reg = ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG0(fn); 197 rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, u8 vfn, struct pci_epf_bar *epf_bar) argument 231 rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, u8 vfn, phys_addr_t addr, u64 pci_addr, size_t size) argument 247 rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, u8 vfn, phys_addr_t addr) argument 267 rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 vfn, u8 multi_msg_cap) argument 288 rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn, u8 vfn) argument 304 rockchip_pcie_ep_assert_intx(struct rockchip_pcie_ep *ep, u8 fn, u8 intx, bool do_assert) argument 326 rockchip_pcie_ep_send_intx_irq(struct rockchip_pcie_ep *ep, u8 fn, u8 intx) argument 349 rockchip_pcie_ep_send_msi_irq(struct rockchip_pcie_ep *ep, u8 fn, u8 interrupt_num) argument 407 rockchip_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, u8 vfn, unsigned int type, u16 interrupt_num) argument [all...] |
/linux-master/tools/lib/perf/include/perf/ |
H A D | core.h | 23 LIBPERF_API void libperf_init(libperf_print_fn_t fn);
|
/linux-master/drivers/block/rnbd/ |
H A D | rnbd-log.h | 15 #define rnbd_clt_log(fn, dev, fmt, ...) ( \ 16 fn("<%s@%s> " fmt, (dev)->pathname, \ 19 #define rnbd_srv_log(fn, dev, fmt, ...) ( \ 20 fn("<%s@%s>: " fmt, (dev)->pathname, \
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_ioc32.c | 79 drm_ioctl_compat_t *fn = NULL; local 86 fn = i915_compat_ioctls[nr - DRM_COMMAND_BASE]; 88 if (fn != NULL) 89 ret = (*fn) (filp, cmd, arg);
|
/linux-master/arch/loongarch/include/asm/ |
H A D | cpu-info.h | 84 #define proc_cpuinfo_notifier(fn, pri) \ 86 static struct notifier_block fn##_nb = { \ 87 .notifier_call = fn, \ 91 register_proc_cpuinfo_notifier(&fn##_nb); \
|
/linux-master/arch/riscv/include/asm/ |
H A D | syscall.h | 81 syscall_t fn; local 85 fn = compat_sys_call_table[syscall]; 88 fn = sys_call_table[syscall]; 90 regs->a0 = fn(regs);
|
/linux-master/arch/arm64/crypto/ |
H A D | sha512-ce-glue.c | 57 sha512_block_fn *fn = crypto_simd_usable() ? sha512_ce_transform local 60 sha512_base_do_update(desc, data, len, fn); 67 sha512_block_fn *fn = crypto_simd_usable() ? sha512_ce_transform local 70 sha512_base_do_update(desc, data, len, fn); 71 sha512_base_do_finalize(desc, fn); 77 sha512_block_fn *fn = crypto_simd_usable() ? sha512_ce_transform local 80 sha512_base_do_finalize(desc, fn);
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gen_wa_oob.c | 127 const char *fn; member in struct:__anon859 131 [ARGS_INPUT] = { .fn = argv[1], .mode = "r" }, 132 [ARGS_CSOURCE] = { .fn = argv[2], .mode = "w" }, 133 [ARGS_CHEADER] = { .fn = argv[3], .mode = "w" }, 144 args[i].f = fopen(args[i].fn, args[i].mode); 147 args[i].fn); 152 fprintf(args[ARGS_CHEADER].f, HEADER, args[ARGS_INPUT].fn);
|
/linux-master/fs/jffs2/ |
H A D | readinode.c | 33 struct jffs2_raw_node_ref *ref = tn->fn->raw; 154 BUG_ON(ref_obsolete(tn->fn->raw)); 157 if (ref_flags(tn->fn->raw) != REF_UNCHECKED) 161 tn->fn->ofs, tn->fn->ofs + tn->fn->size, ref_offset(tn->fn->raw)); 169 jffs2_mark_node_obsolete(c, tn->fn->raw); 187 if (tn->fn->ofs < offset) 189 else if (tn->fn [all...] |
/linux-master/drivers/md/bcache/ |
H A D | sysfs.h | 15 #define SHOW(fn) \ 16 static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\ 19 #define STORE(fn) \ 20 static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\ 23 #define SHOW_LOCKED(fn) \ 24 SHOW(fn) \ 28 ret = __ ## fn ## _show(kobj, attr, buf); \ 33 #define STORE_LOCKED(fn) \ 34 STORE(fn) \ 38 ret = __ ## fn ## _stor [all...] |
/linux-master/tools/lib/bpf/ |
H A D | bpf_core_read.h | 341 #define ___apply(fn, n) ___concat(fn, n) 397 #define ___rd_first(fn, src, a) ___read(fn, &__t, ___type(src), src, a); 398 #define ___rd_last(fn, ...) \ 399 ___read(fn, &__t, ___type(___nolast(__VA_ARGS__)), __t, ___last(__VA_ARGS__)); 400 #define ___rd_p1(fn, ...) const void *__t; ___rd_first(fn, __VA_ARGS__) 401 #define ___rd_p2(fn, ...) ___rd_p1(fn, ___nolas [all...] |