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

123

/seL4-refos-master/libs/libmuslc/src/linux/
H A Dpivot_root.c3 int pivot_root(const char *new, const char *old) argument
5 return syscall(SYS_pivot_root, new, old);
H A Dtimerfd.c9 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 Dpthread_setcanceltype.c3 int pthread_setcanceltype(int new, int *old) argument
6 if (new > 1U) return EINVAL;
8 self->cancelasync = new;
9 if (new) pthread_testcancel();
H A Dpthread_setcancelstate.c3 int __pthread_setcancelstate(int new, int *old) argument
5 if (new > 2U) return EINVAL;
8 self->canceldisable = new;
H A Dpthread_rwlock_unlock.c5 int val, cnt, waiters, new, priv = rw->_rw_shared^128; local
11 new = (cnt == 0x7fffffff || cnt == 1) ? 0 : val-1;
12 } while (a_cas(&rw->_rw_lock, val, new) != val);
14 if (!new && (waiters || val<0))
H A Dpthread_atfork.c35 struct atfork_funcs *new = malloc(sizeof *new); local
36 if (!new) return -1;
39 new->next = funcs;
40 new->prev = 0;
41 new->prepare = prepare;
42 new->parent = parent;
43 new->child = child;
44 if (funcs) funcs->prev = new;
45 funcs = new;
[all...]
H A Dsem_trywait.c8 int new = val-1-(val==1 && sem->__val[1]); local
9 if (a_cas(sem->__val, val, new)==val) return 0;
/seL4-refos-master/libs/libmuslc/src/time/
H A Dmktime.c6 struct tm new; local
10 __secs_to_zone(t, 1, &new.tm_isdst, &new.__tm_gmtoff, &opp, &new.__tm_zone);
12 if (tm->tm_isdst>=0 && new.tm_isdst!=tm->tm_isdst)
13 t -= opp - new.__tm_gmtoff;
15 t -= new.__tm_gmtoff;
18 __secs_to_zone(t, 0, &new.tm_isdst, &new.__tm_gmtoff, &opp, &new
[all...]
H A Dtimegm.c9 struct tm new; local
11 if (__secs_to_tm(t, &new) < 0) {
15 *tm = new;
/seL4-refos-master/libs/libmuslc/src/locale/
H A Dduplocale.c8 locale_t new = malloc(sizeof *new); local
9 if (!new) return 0;
11 *new = *old;
12 return new;
H A Duselocale.c5 locale_t __uselocale(locale_t new) argument
11 if (new) self->locale = new == LC_GLOBAL_LOCALE ? global : new;
H A Dlocale_map.c32 struct __locale_map *new = 0; local
82 new = malloc(sizeof *new);
83 if (!new) {
87 new->map = map;
88 new->map_size = map_size;
89 memcpy(new->name, val, n);
90 new->name[n] = 0;
91 new->next = loc_head;
92 loc_head = new;
[all...]
/seL4-refos-master/libs/libmuslc/src/stdio/
H A Drename.c5 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 Dlink.c5 int link(const char *existing, const char *new) argument
8 return syscall(SYS_link, existing, new);
10 return syscall(SYS_linkat, AT_FDCWD, existing, AT_FDCWD, new, 0);
H A Dsymlink.c5 int symlink(const char *existing, const char *new) argument
8 return syscall(SYS_symlink, existing, new);
10 return syscall(SYS_symlinkat, existing, AT_FDCWD, new);
H A Drenameat.c4 int renameat(int oldfd, const char *old, int newfd, const char *new) argument
6 return syscall(SYS_renameat, oldfd, old, newfd, new);
H A Dsymlinkat.c4 int symlinkat(const char *existing, int fd, const char *new) argument
6 return syscall(SYS_symlinkat, existing, fd, new);
H A Ddup3.c8 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);
18 if (flags & O_CLOEXEC) __syscall(SYS_fcntl, new, F_SETFD, FD_CLOEXEC);
20 while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY);
H A Dlinkat.c4 int linkat(int fd1, const char *existing, int fd2, const char *new, int flag) argument
6 return syscall(SYS_linkat, fd1, existing, fd2, new, flag);
H A Ddup2.c6 int dup2(int old, int new) argument
10 while ((r=__syscall(SYS_dup2, old, new))==-EBUSY);
12 if (old==new) {
16 while ((r=__syscall(SYS_dup3, old, new, 0))==-EBUSY);
/seL4-refos-master/libs/libmuslc/src/mq/
H A Dmq_setattr.c4 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 Dsetitimer.c4 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) argument
6 return syscall(SYS_setitimer, which, new, old);
/seL4-refos-master/libs/libmuslc/src/malloc/
H A Dmemalign.c12 unsigned char *mem, *new, *end; local
34 new = (void *)((uintptr_t)mem + align-1 & -align);
35 if (new == mem) return mem;
40 ((size_t *)new)[-2] = ((size_t *)mem)[-2] + (new-mem);
41 ((size_t *)new)[-1] = ((size_t *)mem)[-1] - (new-mem);
42 return new;
48 ((size_t *)mem)[-1] = header&7 | new-mem;
49 ((size_t *)new)[
[all...]
H A Dlite_malloc.c30 char *new = __expand_heap(&m); local
31 if (!new) {
35 if (new != end) {
36 cur = new;
40 end = new + m;
/seL4-refos-master/libs/libmuslc/arch/microblaze/
H A Datomic_arch.h40 register int new, tmp;
49 : "=&r"(new), "=&r"(tmp)
52 return new-v;

Completed in 86 milliseconds

123