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

123

/seL4-camkes-master/projects/musllibc/src/internal/sh/
H A D__shcall.c2 int __shcall(void *arg, int (*func)(void *))
4 return func(arg);
/seL4-camkes-master/projects/musllibc/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-camkes-master/projects/musllibc/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-camkes-master/projects/musllibc/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-camkes-master/projects/musllibc/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-camkes-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-camkes-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);
H A Dbacktrace.c56 void __cyg_profile_func_enter(void *func, void *caller) argument
68 bt_stack[*bt_stack_sz] = func;
72 void __cyg_profile_func_exit(void *func, void *caller) argument
/seL4-camkes-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-camkes-master/projects/seL4_projects_libs/libsel4vm/arch_include/x86/sel4vm/arch/
H A Dvmcall.h18 * @function vm_reg_new_vmcall_handler(vm, func, token)
22 * @param {vmcall_handler} func A handler function for the given vmcall being registered
27 int vm_reg_new_vmcall_handler(vm_t *vm, vmcall_handler func, int token);
/seL4-camkes-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-camkes-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-camkes-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-camkes-master/projects/musllibc/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-camkes-master/projects/camkes-tool/camkes/internal/
H A Dmemoization.py40 def __init__(self, func):
41 self.func = func
47 self.cache[key] = self.func(*args, **kwargs)
52 return self.func.__doc__
/seL4-camkes-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-camkes-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);
/seL4-camkes-master/projects/seL4_libs/libsel4utils/src/
H A Dstack.c21 sel4utils_run_on_stack(vspace_t *vspace, void * (*func)(void *arg), void *arg, void **retval)
29 void *ret = utils_run_on_stack(stack_top, func, arg);
/seL4-camkes-master/projects/musllibc/src/linux/
H A Dclone.c6 int clone(int (*func)(void *), void *stack, int flags, void *arg, ...)
18 return __syscall_ret(__clone(func, stack, flags, arg, ptid, tls, ctid));
/seL4-camkes-master/projects/seL4_projects_libs/libsel4vm/src/arch/x86/
H A Dvmcall.c29 int vm_reg_new_vmcall_handler(vm_t *vm, vmcall_handler func, int token) argument
41 vm->arch.vmcall_handlers[*hnum].func = func;
64 res = h->func(vcpu);
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/
H A Dzone.h27 void (*func)(void* data); member in struct:msgpack_zone_finalizer
70 void (*func)(void* data), void* data);
131 void (*func)(void* data), void* data);
134 void (*func)(void* data), void* data)
140 return msgpack_zone_push_finalizer_expand(zone, func, data);
143 fin->func = func;

Completed in 133 milliseconds

123