Searched refs:arg (Results 1 - 25 of 118) sorted by relevance

12345

/seL4-refos-master/libs/libsel4debug/include/sel4debug/
H A Dstack.h20 void *debug_run_on_emergency_stack(void *(*f)(void *), void *arg);
/seL4-refos-master/projects/seL4_libs/libsel4debug/include/sel4debug/
H A Dstack.h20 void *debug_run_on_emergency_stack(void *(*f)(void *), void *arg);
/seL4-refos-master/libs/libmuslc/src/internal/sh/
H A D__shcall.c2 int __shcall(void *arg, int (*func)(void *)) argument
4 return func(arg);
/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) argument
25 "mov x0, %[arg]\n\t" /* Setup argument to func. */
32 [arg] "r" (arg)
41 "mov r0, %[arg]\n\t" /* Setup argument to func. */
48 [arg] "r" (arg)
/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) argument
25 "mov x0, %[arg]\n\t" /* Setup argument to func. */
32 [arg] "r" (arg)
41 "mov r0, %[arg]\n\t" /* Setup argument to func. */
48 [arg] "r" (arg)
/seL4-refos-master/libs/libsel4utils/include/sel4utils/
H A Dstack.h22 * @param arg to pass to func.
27 int sel4utils_run_on_stack(vspace_t *vspace, void * (*func)(void *arg), void *arg, void **retval);
/seL4-refos-master/libs/libutils/include/utils/
H A Dxml.h25 * @param[in] arg A parameter to pass as the first argument to the print function. Ignored if
30 int (*print)(void *arg, const char *format, ...) FORMAT(printf, 2, 3),
31 void *arg) NONNULL(1);
H A Dstack.h26 * @param arg to pass to new function.
29 void *utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg);
/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) argument
23 "mv a0, %[arg]\n\t" /* Setup argument to func. */
30 [arg] "r" (arg)
/seL4-refos-master/projects/seL4_libs/libsel4utils/include/sel4utils/
H A Dstack.h22 * @param arg to pass to func.
27 int sel4utils_run_on_stack(vspace_t *vspace, void * (*func)(void *arg), void *arg, void **retval);
/seL4-refos-master/libs/libmuslc/src/thread/
H A Dclone.c4 int __clone(int (*func)(void *), void *stack, int flags, void *arg, ...) argument
/seL4-refos-master/projects/util_libs/libutils/include/utils/
H A Dxml.h25 * @param[in] arg A parameter to pass as the first argument to the print function. Ignored if
30 int (*print)(void *arg, const char *format, ...) FORMAT(printf, 2, 3),
31 void *arg) NONNULL(1);
H A Dstack.h26 * @param arg to pass to new function.
29 void *utils_run_on_stack(void *stack_top, void * (*func)(void *arg), void *arg);
/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) argument
23 "mv a0, %[arg]\n\t" /* Setup argument to func. */
30 [arg] "r" (arg)
/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) argument
48 "movq %[arg], %%rdi\n\t"
55 [arg] "r" (arg)
65 "pushl %[arg]\n\t" /* Setup argument to func. */
72 [arg] "r" (arg)
/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) argument
48 "movq %[arg], %%rdi\n\t"
55 [arg] "r" (arg)
65 "pushl %[arg]\n\t" /* Setup argument to func. */
72 [arg] "r" (arg)
/seL4-refos-master/libs/libutils/src/
H A Dxml.c18 #define PRINT(s) (print == NULL ? printf("%s", (s)) : print(arg, "%s", (s)))
22 int (*print)(void *arg, const char *format, ...) FORMAT(printf, 2, 3),
23 void *arg)
57 ret += print(arg, "%c", *string);
21 utils_put_xml_escape(const char *string, int (*print)(void *arg, const char *format, ...) FORMAT(printf, 2, 3), void *arg) argument
/seL4-refos-master/libs/libmuslc/src/misc/
H A Dioctl.c7 void *arg; local
10 arg = va_arg(ap, void *);
12 return syscall(SYS_ioctl, fd, req, arg);
/seL4-refos-master/projects/util_libs/libutils/src/
H A Dxml.c18 #define PRINT(s) (print == NULL ? printf("%s", (s)) : print(arg, "%s", (s)))
22 int (*print)(void *arg, const char *format, ...) FORMAT(printf, 2, 3),
23 void *arg)
57 ret += print(arg, "%c", *string);
21 utils_put_xml_escape(const char *string, int (*print)(void *arg, const char *format, ...) FORMAT(printf, 2, 3), void *arg) argument
/seL4-refos-master/libs/libsel4utils/src/
H A Dstack.c21 sel4utils_run_on_stack(vspace_t *vspace, void * (*func)(void *arg), void *arg, void **retval) argument
29 void *ret = utils_run_on_stack(stack_top, func, arg);
/seL4-refos-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) argument
29 void *ret = utils_run_on_stack(stack_top, func, arg);
/seL4-refos-master/libs/libmuslc/src/linux/
H A Dclone.c6 int clone(int (*func)(void *), void *stack, int flags, void *arg, ...) argument
12 va_start(ap, arg);
18 return __syscall_ret(__clone(func, stack, flags, arg, ptid, tls, ctid));
/seL4-refos-master/libs/libmuslc/src/exit/arm/
H A D__aeabi_atexit.c1 int __cxa_atexit(void (*func)(void *), void *arg, void *dso);
/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);
/seL4-refos-master/libs/libmuslc/src/fcntl/
H A Dfcntl.c10 unsigned long arg; local
13 arg = va_arg(ap, unsigned long);
15 if (cmd == F_SETFL) arg |= O_LARGEFILE;
16 if (cmd == F_SETLKW) return syscall_cp(SYS_fcntl, fd, cmd, (void *)arg);
20 if (ret == -EINVAL) return __syscall(SYS_fcntl, fd, cmd, (void *)arg);
25 int ret = __syscall(SYS_fcntl, fd, F_DUPFD_CLOEXEC, arg);
36 ret = __syscall(SYS_fcntl, fd, F_DUPFD, arg);
45 return syscall(SYS_fcntl, fd, cmd, (void *)arg);
47 return syscall(SYS_fcntl, fd, cmd, arg);

Completed in 117 milliseconds

12345