Searched refs:fn (Results 201 - 225 of 1002) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dmutex.c8 static void check_err(const char *fn, int err) argument
15 pr_err("%s error: '%s'\n", fn, str_error_r(err, sbuf, sizeof(sbuf)));
/linux-master/arch/csky/kernel/
H A Dprocess.c51 if (unlikely(args->fn)) {
55 childstack->r9 = (unsigned long) args->fn;
/linux-master/arch/arm/mach-omap2/
H A Domap-secure.h69 extern void omap_smccc_smc(u32 fn, u32 arg);
70 extern void omap_smc1(u32 fn, u32 arg);
/linux-master/drivers/md/
H A Ddm-cache-metadata.h83 load_discard_fn fn, void *context);
96 load_mapping_fn fn,
/linux-master/arch/arm64/include/asm/
H A Ddebug-monitors.h67 int (*fn)(struct pt_regs *regs, unsigned long esr); member in struct:step_hook
78 int (*fn)(struct pt_regs *regs, unsigned long esr); member in struct:break_hook
/linux-master/tools/perf/
H A Dbuiltin-data.c16 data_cmd_fn_t fn; member in struct:data_cmd
119 return cmd->fn(argc, argv);
H A Dbuiltin-bench.c36 bench_fn_t fn; member in struct:bench
212 static int run_bench(const char *coll_name, const char *bench_name, bench_fn_t fn, argument
229 ret = fn(argc, argv);
250 if (!bench->fn)
255 run_bench(coll->name, bench->name, bench->fn, 1, argv);
330 ret = run_bench(coll->name, bench->name, bench->fn, argc-1, argv+1);
/linux-master/tools/perf/tests/shell/coresight/unroll_loop_thread/
H A Dunroll_loop_thread.c41 static pthread_t new_thr(void *(*fn) (void *arg), void *arg)
47 pthread_create(&t, &attr, fn, arg);
/linux-master/tools/perf/tests/shell/coresight/memcpy_thread/
H A Dmemcpy_thread.c32 static pthread_t new_thr(void *(*fn) (void *arg), void *arg)
38 pthread_create(&t, &attr, fn, arg);
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.h42 int (*fn)(const char *cgroup, void *arg),
48 int (*fn)(const char *cgroup, void *arg),
/linux-master/arch/x86/pci/
H A Ddirect.c99 int dev, fn; local
108 fn = PCI_FUNC(devfn);
115 outb((u8)(0xF0 | (fn << 1)), 0xCF8);
141 int dev, fn; local
148 fn = PCI_FUNC(devfn);
155 outb((u8)(0xF0 | (fn << 1)), 0xCF8);
/linux-master/arch/x86/xen/
H A Dmulticalls.c48 void (*fn)(void *); member in struct:mc_buffer::callback
131 (*cb->fn)(cb->data);
199 void xen_mc_callback(void (*fn)(void *), void *data)
209 trace_xen_mc_callback(fn, data);
212 cb->fn = fn;
/linux-master/fs/jffs2/
H A Dwrite.c64 struct jffs2_full_dnode *fn; local
88 fn = jffs2_alloc_full_dnode();
89 if (!fn)
167 jffs2_free_full_dnode(fn);
182 fn->raw = jffs2_add_physical_node_ref(c, flash_ofs, PAD(sizeof(*ri)+datalen), f->inocache);
183 if (IS_ERR(fn->raw)) {
184 void *hold_err = fn->raw;
186 jffs2_free_full_dnode(fn);
189 fn->ofs = je32_to_cpu(ri->offset);
190 fn
351 struct jffs2_full_dnode *fn; local
446 struct jffs2_full_dnode *fn; local
[all...]
/linux-master/drivers/scsi/
H A Dscsi_dh.c244 * @fn - Function to be called upon completion of the activation.
245 * Function fn is called with data (below) and the error code.
246 * Function fn may be called from the same calling context. So,
247 * do not hold the lock in the caller which may be needed in fn.
248 * @data - data passed to the function fn upon completion.
251 int scsi_dh_activate(struct request_queue *q, activate_complete fn, void *data) argument
258 if (fn)
259 fn(data, err);
275 err = sdev->handler->activate(sdev, fn, data);
282 if (fn)
[all...]
/linux-master/arch/arm64/kvm/
H A Dtrace_handle_exit.h125 TP_PROTO(const char *fn, int reg, bool is_write, u64 write_value),
126 TP_ARGS(fn, reg, is_write, write_value),
129 __field(const char *, fn)
136 __entry->fn = fn;
142 TP_printk("%s %s reg %d (0x%016llx)", __entry->fn, __entry->is_write?"write to":"read from", __entry->reg, __entry->write_value)
/linux-master/include/xen/
H A Dgrant_table.h65 void (*fn)(void *); member in struct:gnttab_free_callback
146 void (*fn)(void *), void *arg, u16 count);
295 /* Split Linux page in chunk of the size of the grant and call fn
297 * Parameters of fn:
309 xen_grant_fn_t fn,
312 /* Helper to get to call fn only on the first "grant chunk" */
314 unsigned len, xen_grant_fn_t fn,
321 gnttab_foreach_grant_in_range(page, offset, len, fn, data);
324 /* Get @nr_grefs grants from an array of page and call fn for each grant */
327 xen_grant_fn_t fn,
313 gnttab_for_one_grant(struct page *page, unsigned int offset, unsigned len, xen_grant_fn_t fn, void *data) argument
[all...]
/linux-master/drivers/gpu/host1x/
H A Ddebug.c37 o->fn(o->ctx, o->buf, len, false);
49 o->fn(o->ctx, o->buf, len, true);
147 .fn = write_to_seqfile,
160 .fn = write_to_seqfile,
214 .fn = write_to_printk
223 .fn = write_to_printk
/linux-master/drivers/misc/ocxl/
H A Dsysfs.c59 struct ocxl_fn *fn = afu->fn; local
60 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent);
74 struct ocxl_fn *fn = afu->fn; local
75 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent);
/linux-master/arch/arm/mach-pxa/
H A Dirq.c145 int (*fn)(struct irq_data *, unsigned int))
166 pxa_internal_irq_chip.irq_set_wake = fn;
169 void __init pxa_init_irq(int irq_nr, int (*fn)(struct irq_data *, unsigned int))
175 pxa_init_irq_common(NULL, irq_nr, fn);
234 void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int))
268 pxa_init_irq_common(node, pxa_internal_irq_nr, fn);
/linux-master/arch/powerpc/include/asm/
H A Dbitops.h65 #define DEFINE_BITOP(fn, op, prefix) \
66 static inline void fn(unsigned long mask, \
96 #define DEFINE_CLROP(fn, prefix) \
97 static inline void fn(unsigned long mask, volatile unsigned long *_p) \
151 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \
152 static inline unsigned long fn( \
/linux-master/arch/mips/pci/
H A Dpci-xtalk-bridge.c125 int fn = PCI_FUNC(devfn); local
130 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID];
139 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2];
144 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)];
163 int fn = PCI_FUNC(devfn); local
169 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID];
178 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where & ~3)];
183 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))];
210 int fn = PCI_FUNC(devfn); local
215 addr = &bridge->b_type0_cfg_dev[slot].f[fn]
249 int fn = PCI_FUNC(devfn); local
614 struct fwnode_handle *fn; local
740 struct fwnode_handle *fn = bc->domain->fwnode; local
[all...]
/linux-master/scripts/
H A Ddecode_stacktrace.sh40 for fn in {,/usr/lib/debug}/boot/vmlinux-$release{,.debug} /lib/modules/$release{,/build}/vmlinux ; do
41 if [ -e "$fn" ] ; then
42 vmlinux=$fn
92 for fn in $(find "$modpath" -name "${module//_/[-_]}.ko*") ; do
93 if ${READELF} -WS "$fn" | grep -qwF .debug_line ; then
94 echo $fn
/linux-master/include/linux/
H A Dsuspend.h445 #define pm_notifier(fn, pri) { \
446 static struct notifier_block fn##_nb = \
447 { .notifier_call = fn, .priority = pri }; \
448 register_pm_notifier(&fn##_nb); \
490 #define pm_notifier(fn, pri) do { (void)(fn); } while (0)
/linux-master/drivers/irqchip/
H A Dirq-riscv-intc.c177 static int __init riscv_intc_init_common(struct fwnode_handle *fn, struct irq_chip *chip) argument
181 intc_domain = irq_domain_create_tree(fn, &riscv_intc_domain_ops, chip);
256 struct fwnode_handle *fn; local
270 fn = irq_domain_alloc_named_fwnode("RISCV-INTC");
271 if (!fn) {
276 return riscv_intc_init_common(fn, &riscv_intc_chip);
/linux-master/tools/testing/selftests/kvm/
H A Dguest_print_test.c41 #define TYPE(fn, ext, fmt_t, T) TYPE_##ext,
49 #define BUILD_TYPE_STRINGS_AND_HELPER(fn, ext, fmt_t, T) \
52 static void fn(struct kvm_vcpu *vcpu, T a, T b) \
64 #define TYPE(fn, ext, fmt_t, T) \
65 BUILD_TYPE_STRINGS_AND_HELPER(fn, ext, fmt_t, T)
73 #define TYPE(fn, ext, fmt_t, T) \

Completed in 321 milliseconds

1234567891011>>