/seL4-refos-master/libs/libmuslc/src/linux/ |
H A D | pivot_root.c | 3 int pivot_root(const char *new, const char *old) argument 5 return syscall(SYS_pivot_root, new, old);
|
H A D | timerfd.c | 9 int timerfd_settime(int fd, int flags, const struct itimerspec *new, struct itimerspec *old) argument 11 return syscall(SYS_timerfd_settime, fd, flags, new, old);
|
/seL4-refos-master/libs/libmuslc/src/thread/ |
H A D | pthread_sigmask.c | 5 int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old) argument 9 ret = -__syscall(SYS_rt_sigprocmask, how, set, old, _NSIG/8); 10 if (!ret && old) { 11 if (sizeof old->__bits[0] == 8) { 12 old->__bits[0] &= ~0x380000000ULL; 14 old->__bits[0] &= ~0x80000000UL; 15 old->__bits[1] &= ~0x3UL;
|
H A D | pthread_setcancelstate.c | 3 int __pthread_setcancelstate(int new, int *old) argument 7 if (old) *old = self->canceldisable;
|
H A D | pthread_setcanceltype.c | 3 int pthread_setcanceltype(int new, int *old) argument 7 if (old) *old = self->cancelasync;
|
H A D | pthread_mutex_setprioceiling.c | 3 int pthread_mutex_setprioceiling(pthread_mutex_t *restrict m, int ceiling, int *restrict old) argument
|
H A D | pthread_mutex_trylock.c | 5 int old, own; local 10 old = m->_m_lock; 11 own = old & 0x7fffffff; 29 || a_cas(&m->_m_lock, old, tid) != old) {
|
/seL4-refos-master/libs/libmuslc/src/stdio/ |
H A D | rename.c | 5 int rename(const char *old, const char *new) argument 8 return syscall(SYS_rename, old, new); 10 return syscall(SYS_renameat, AT_FDCWD, old, AT_FDCWD, new);
|
/seL4-refos-master/libs/libmuslc/src/unistd/ |
H A D | dup2.c | 6 int dup2(int old, int new) argument 10 while ((r=__syscall(SYS_dup2, old, new))==-EBUSY); 12 if (old==new) { 13 r = __syscall(SYS_fcntl, old, F_GETFD); 14 if (r >= 0) return old; 16 while ((r=__syscall(SYS_dup3, old, new, 0))==-EBUSY);
|
H A D | renameat.c | 4 int renameat(int oldfd, const char *old, int newfd, const char *new) argument 6 return syscall(SYS_renameat, oldfd, old, newfd, new);
|
H A D | dup3.c | 8 int __dup3(int old, int new, int flags) argument 12 if (old==new) return __syscall_ret(-EINVAL); 14 while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY); 17 while ((r=__syscall(SYS_dup2, old, new))==-EBUSY); 20 while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY);
|
/seL4-refos-master/libs/libmuslc/src/mq/ |
H A D | mq_setattr.c | 4 int mq_setattr(mqd_t mqd, const struct mq_attr *restrict new, struct mq_attr *restrict old) argument 6 return syscall(SYS_mq_getsetattr, mqd, new, old);
|
/seL4-refos-master/libs/libmuslc/src/signal/ |
H A D | getitimer.c | 4 int getitimer(int which, struct itimerval *old) argument 6 return syscall(SYS_getitimer, which, old);
|
H A D | setitimer.c | 4 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) argument 6 return syscall(SYS_setitimer, which, new, old);
|
H A D | sigprocmask.c | 4 int sigprocmask(int how, const sigset_t *restrict set, sigset_t *restrict old) argument 6 int r = pthread_sigmask(how, set, old);
|
H A D | sigaction.c | 17 int __libc_sigaction(int sig, const struct sigaction *restrict sa, struct sigaction *restrict old) argument 44 if (syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, sizeof ksa.mask)) 46 if (old) { 47 old->sa_handler = ksa_old.handler; 48 old->sa_flags = ksa_old.flags; 49 memcpy(&old->sa_mask, &ksa_old.mask, sizeof ksa_old.mask); 54 int __sigaction(int sig, const struct sigaction *restrict sa, struct sigaction *restrict old) argument 60 return __libc_sigaction(sig, sa, old);
|
H A D | sigaltstack.c | 5 int sigaltstack(const stack_t *restrict ss, stack_t *restrict old) argument 17 return syscall(SYS_sigaltstack, ss, old);
|
/seL4-refos-master/libs/libmuslc/src/locale/ |
H A D | duplocale.c | 6 locale_t __duplocale(locale_t old) argument 10 if (old == LC_GLOBAL_LOCALE) old = &libc.global_locale; 11 *new = *old;
|
H A D | uselocale.c | 8 locale_t old = self->locale; local 13 return old == global ? LC_GLOBAL_LOCALE : old;
|
/seL4-refos-master/libs/libmuslc/arch/microblaze/ |
H A D | atomic_arch.h | 4 register int old, tmp; local 14 : "=&r"(old), "=&r"(tmp) 17 return old; 23 register int old, tmp; local 31 : "=&r"(old), "=&r"(tmp) 34 return old;
|
/seL4-refos-master/libs/libmuslc/src/internal/ |
H A D | atomic.h | 22 int old; local 24 do old = a_ll(p); 25 while (old==t && !a_sc(p, s)); 27 return old; 35 int old; local 37 do old = a_ll(p); 40 return old; 48 int old; local 50 do old = a_ll(p); 51 while (!a_sc(p, (unsigned)old 61 int old; local 74 int old; local 91 void *old; local 110 int old; local 121 int old; local 132 int old; local 142 int old; local [all...] |
/seL4-refos-master/libs/libmuslc/arch/aarch64/ |
H A D | atomic_arch.h | 26 int old; local 28 old = a_ll(p); 29 if (old != t) { 34 return old; 56 void *old; local 58 old = a_ll_p(p); 59 if (old != t) { 64 return old;
|
/seL4-refos-master/libs/libmuslc/arch/aarch64_sel4/ |
H A D | atomic_arch.h | 26 int old; local 28 old = a_ll(p); 29 if (old != t) { 34 return old; 56 void *old; local 58 old = a_ll_p(p); 59 if (old != t) { 64 return old;
|
/seL4-refos-master/libs/libmuslc/src/time/ |
H A D | timer_settime.c | 5 int timer_settime(timer_t t, int flags, const struct itimerspec *restrict val, struct itimerspec *restrict old) argument 11 return syscall(SYS_timer_settime, t, flags, val, old);
|
/seL4-refos-master/libs/libmuslc/src/process/ |
H A D | system.c | 15 sigset_t old, reset; local 27 sigprocmask(SIG_BLOCK, &sa.sa_mask, &old); 33 posix_spawnattr_setsigmask(&attr, &old); 43 sigprocmask(SIG_SETMASK, &old, NULL);
|