Searched refs:func (Results 1 - 25 of 66) sorted by relevance

123

/seL4-refos-master/libs/libmuslc/src/internal/sh/
H A D__shcall.c2 int __shcall(void *arg, int (*func)(void *))
4 return func(arg);
/seL4-refos-master/libs/libmuslc/src/exit/arm/
H A D__aeabi_atexit.c1 int __cxa_atexit(void (*func)(void *), void *arg, void *dso);
3 int __aeabi_atexit (void *obj, void (*func) (void *), void *d)
5 return __cxa_atexit (func, obj, d);
/seL4-refos-master/libs/libmuslc/src/exit/arm_sel4/
H A D__aeabi_atexit.c1 int __cxa_atexit(void (*func)(void *), void *arg, void *dso);
3 int __aeabi_atexit (void *obj, void (*func) (void *), void *d)
5 return __cxa_atexit (func, obj, d);
/seL4-refos-master/libs/libmuslc/src/exit/
H A Dat_quick_exit.c12 void (*func)(void);
15 func = funcs[--count];
17 func();
22 int at_quick_exit(void (*func)(void)) argument
26 funcs[count++] = func;
H A Dassert.c4 _Noreturn void __assert_fail(const char *expr, const char *file, int line, const char *func) argument
6 fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
H A Datexit.c20 void (*func)(void *), *arg;
23 func = head->f[slot];
26 func(arg);
35 int __cxa_atexit(void (*func)(void *), void *arg, void *dso)
55 head->f[slot] = func;
68 int atexit(void (*func)(void)) argument
70 return __cxa_atexit(call, (void *)(uintptr_t)func, 0);
/seL4-refos-master/libs/libmuslc/src/thread/
H A Dcall_once.c5 void call_once(once_flag *flag, void (*func)(void)) argument
7 __pthread_once(flag, func);
H A Dclone.c4 int __clone(int (*func)(void *), void *stack, int flags, void *arg, ...)
H A Dthrd_create.c6 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) argument
8 int ret = __pthread_create(thr, __ATTRP_C11_THREAD, (void *(*)(void *))func, arg);
/seL4-refos-master/libs/libsel4debug/include/sel4debug/
H A Dinstrumentation.h22 void __cyg_profile_func_enter(void *func, void *caller)
25 void __cyg_profile_func_exit(void *func, void *caller)
/seL4-refos-master/libs/libsel4debug/src/
H A Dtrace.c31 void __cyg_profile_func_enter(void *func, void *caller) argument
33 debug_safe_printf("ENTER: %p called from %p\n", func, caller);
36 void __cyg_profile_func_exit(void *func, void *caller) argument
38 debug_safe_printf("EXIT: %p returning to %p\n", func, caller);
/seL4-refos-master/projects/seL4_libs/libsel4debug/include/sel4debug/
H A Dinstrumentation.h22 void __cyg_profile_func_enter(void *func, void *caller)
25 void __cyg_profile_func_exit(void *func, void *caller)
/seL4-refos-master/projects/seL4_libs/libsel4debug/src/
H A Dtrace.c31 void __cyg_profile_func_enter(void *func, void *caller) argument
33 debug_safe_printf("ENTER: %p called from %p\n", func, caller);
36 void __cyg_profile_func_exit(void *func, void *caller) argument
38 debug_safe_printf("EXIT: %p returning to %p\n", func, caller);
/seL4-refos-master/libs/libutils/src/arch/arm/
H A Dstack.c18 utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg)
25 "mov x0, %[arg]\n\t" /* Setup argument to func. */
26 "blr %[func]\n\t"
31 [func] "r" (func),
41 "mov r0, %[arg]\n\t" /* Setup argument to func. */
42 "blx %[func]\n\t"
47 [func] "r" (func),
/seL4-refos-master/projects/util_libs/libutils/src/arch/arm/
H A Dstack.c18 utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg)
25 "mov x0, %[arg]\n\t" /* Setup argument to func. */
26 "blr %[func]\n\t"
31 [func] "r" (func),
41 "mov r0, %[arg]\n\t" /* Setup argument to func. */
42 "blx %[func]\n\t"
47 [func] "r" (func),
/seL4-refos-master/libs/libutils/src/arch/riscv/
H A Dstack.c17 utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg)
23 "mv a0, %[arg]\n\t" /* Setup argument to func. */
24 "jalr %[func]\n\t"
29 [func] "r" (func),
/seL4-refos-master/projects/util_libs/libutils/src/arch/riscv/
H A Dstack.c17 utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg)
23 "mv a0, %[arg]\n\t" /* Setup argument to func. */
24 "jalr %[func]\n\t"
29 [func] "r" (func),
/seL4-refos-master/libs/libutils/src/arch/x86/
H A Dstack.c20 utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg)
49 "call *%[func]\n\t"
54 [func] "r" (func),
65 "pushl %[arg]\n\t" /* Setup argument to func. */
66 "call *%[func]\n\t"
71 [func] "r" (func),
/seL4-refos-master/projects/util_libs/libutils/src/arch/x86/
H A Dstack.c20 utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg)
49 "call *%[func]\n\t"
54 [func] "r" (func),
65 "pushl %[arg]\n\t" /* Setup argument to func. */
66 "call *%[func]\n\t"
71 [func] "r" (func),
/seL4-refos-master/libs/libsel4utils/include/sel4utils/
H A Dstack.h17 * Allocate a new stack and start running func on it.
18 * If func returns, you will be back on the old stack.
21 * @param func to jump to with the new stack.
22 * @param arg to pass to func.
23 * @param[out] retval The return value of func is written to this pointer if it is non-null
27 int sel4utils_run_on_stack(vspace_t *vspace, void * (*func)(void *arg), void *arg, void **retval);
/seL4-refos-master/projects/seL4_libs/libsel4utils/include/sel4utils/
H A Dstack.h17 * Allocate a new stack and start running func on it.
18 * If func returns, you will be back on the old stack.
21 * @param func to jump to with the new stack.
22 * @param arg to pass to func.
23 * @param[out] retval The return value of func is written to this pointer if it is non-null
27 int sel4utils_run_on_stack(vspace_t *vspace, void * (*func)(void *arg), void *arg, void **retval);
/seL4-refos-master/libs/libmuslc/src/signal/
H A Dsignal.c7 void (*signal(int sig, void (*func)(int)))(int) argument
9 struct sigaction sa_old, sa = { .sa_handler = func, .sa_flags = SA_RESTART };
/seL4-refos-master/kernel/include/smp/
H A Dipi.h80 * @param func the function to run
85 void doRemoteMaskOp(IpiRemoteCall_t func, word_t data1, word_t data2, word_t data3, word_t mask);
89 * @param func the function to run
94 static void inline doRemoteOp(IpiRemoteCall_t func, word_t data1, word_t data2, word_t data3, word_t cpu)
96 doRemoteMaskOp(func, data1, data2, data3, BIT(cpu));
107 * @param func the function to run
111 static void inline doRemoteMaskOp0Arg(IpiRemoteCall_t func, word_t mask)
113 doRemoteMaskOp(func, 0, 0, 0, mask);
116 static void inline doRemoteMaskOp1Arg(IpiRemoteCall_t func, word_t data1, word_t mask)
118 doRemoteMaskOp(func, data
[all...]
/seL4-refos-master/libs/libutils/include/utils/
H A Dstack.h21 * Switch to a new stack and start running func on it.
22 * If func returns, you will be back on the old stack.
25 * @param func to jump to with the new stack.
27 * @ret the return value of func.
29 void *utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg);
/seL4-refos-master/projects/util_libs/libutils/include/utils/
H A Dstack.h21 * Switch to a new stack and start running func on it.
22 * If func returns, you will be back on the old stack.
25 * @param func to jump to with the new stack.
27 * @ret the return value of func.
29 void *utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg);

Completed in 76 milliseconds

123