Searched refs:fn (Results 151 - 175 of 217) sorted by relevance

123456789

/arch/arm/mach-omap2/
H A Dclockdomain.c395 * @fn: callback function *
397 * Call the supplied function @fn for each registered clockdomain.
398 * The callback function @fn can return anything but 0 to bail
407 int clkdm_for_each(int (*fn)(struct clockdomain *clkdm, void *user),
413 if (!fn)
417 ret = (*fn)(clkdm, user);
H A Domap_hwmod.c1978 * @fn: pointer to a callback function
1981 * Call @fn for each registered omap_hwmod, passing @data to each
1982 * function. @fn must return 0 for success or any other value for
1983 * failure. If @fn returns non-zero, the iteration across omap_hwmods
1985 * caller of omap_hwmod_for_each(). @fn is called with
1988 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data),
1994 if (!fn)
1998 ret = (*fn)(temp_oh, data);
2608 * omap_hwmod_for_each_by_class - call @fn for each hwmod of class @classname
2610 * @fn
[all...]
/arch/arm/kernel/
H A Dsmp.c365 void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int))
367 smp_cross_call = fn;
H A Dkprobes-common.c249 "blx %[fn] \n\t"
251 "str %[fn], [sp, #-4]! \n\t"
259 : [regs] "=r" (rregs), [fn] "=r" (rfn)
/arch/blackfin/kernel/
H A Dprocess.c117 pid_t kernel_thread(int (*fn) (void *), void *arg, unsigned long flags)
124 regs.p1 = (unsigned long)fn;
/arch/mips/fw/cfe/
H A Dcfe_api.c81 int cfe_cpu_start(int cpu, void (*fn) (void), long sp, long gp, long a1)
95 xiocb.plist.xiocb_cpuctl.start_addr = (long) fn;
/arch/powerpc/platforms/cell/
H A Dspu_manage.c286 static int __init of_enumerate_spus(int (*fn)(void *data))
295 ret = fn(node);
/arch/powerpc/platforms/ps3/
H A Dspu.c398 static int __init ps3_enumerate_spus(int (*fn)(void *data))
425 result = fn((void*)(unsigned long)resource_id);
/arch/sh/include/asm/
H A Dpgtable_32.h356 #define PTE_BIT_FUNC(h,fn,op) \
357 static inline pte_t pte_##fn(pte_t pte) { pte.pte_##h op; return pte; }
/arch/x86/crypto/
H A Dblowfish_glue.c81 void (*fn)(struct bf_ctx *, u8 *, const u8 *),
111 fn(ctx, wdst, wsrc);
H A Dtwofish_glue_3way.c64 void (*fn)(struct twofish_ctx *, u8 *, const u8 *),
94 fn(ctx, wdst, wsrc);
/arch/x86/kernel/
H A Dprocess.c283 int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
289 regs.si = (unsigned long) fn;
H A Dapm_32.c607 static int on_cpu0(long (*fn)(void *), struct apm_bios_call *call)
614 ret = fn(call);
618 ret = work_on_cpu(0, fn, call);
/arch/arm/mach-rpc/
H A Decard.c59 void (*fn)(struct ecard_request *); member in struct:ecard_request
281 req->fn(req);
317 req.fn = ecard_task_readbytes;
1086 req.fn = ecard_task_reset;
/arch/avr32/kernel/
H A Dtraps.c223 if (hook->fn(regs, insn) == 0) {
/arch/parisc/include/asm/
H A Dprocessor.h329 extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
/arch/powerpc/include/asm/
H A Dprocessor.h81 extern long kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
/arch/um/include/shared/
H A Dos.h194 extern int run_kernel_thread(int (*fn)(void *), void *arg, jmp_buf **jmp_ptr);
/arch/ia64/kernel/
H A Dsalinfo.c405 call_on_cpu(int cpu, void (*fn)(void *), void *arg)
409 (*fn)(arg);
/arch/sh/kernel/
H A Dsignal_32.c231 current_thread_info()->restart_block.fn = do_no_restart_syscall;
264 current_thread_info()->restart_block.fn = do_no_restart_syscall;
/arch/sparc/kernel/
H A Dprocess_32.c657 pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
661 __asm__ __volatile__("mov %4, %%g2\n\t" /* Set aside fn ptr... */
678 "i" (__NR_exit), "r" (fn), "r" (arg) :
H A Dprocess_64.c621 pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
625 /* If the parent runs before fn(arg) is called by the child,
627 * So we stash 'fn' and 'arg' into global registers which
646 "i" (__NR_exit), "r" (fn), "r" (arg) :
/arch/arm/vfp/
H A Dvfp.h376 u32 (* const fn)(int dd, int dn, int dm, u32 fpscr); member in struct:op
/arch/openrisc/kernel/
H A Dsignal.c57 current_thread_info()->restart_block.fn = do_no_restart_syscall;
/arch/arm/include/asm/
H A Dio.h94 extern void __readwrite_bug(const char *fn);

Completed in 642 milliseconds

123456789