Searched refs:op (Results 1 - 25 of 59) sorted by relevance

123

/seL4-refos-master/libs/libmuslc/src/process/
H A Dposix_spawn_file_actions_adddup2.c8 struct fdop *op = malloc(sizeof *op); local
9 if (!op) return ENOMEM;
10 op->cmd = FDOP_DUP2;
11 op->srcfd = srcfd;
12 op->fd = fd;
13 if ((op->next = fa->__actions)) op->next->prev = op;
14 op
[all...]
H A Dposix_spawn_file_actions_destroy.c7 struct fdop *op = fa->__actions, *next; local
8 while (op) {
9 next = op->next;
10 free(op);
11 op = next;
H A Dposix_spawn_file_actions_addclose.c8 struct fdop *op = malloc(sizeof *op); local
9 if (!op) return ENOMEM;
10 op->cmd = FDOP_CLOSE;
11 op->fd = fd;
12 if ((op->next = fa->__actions)) op->next->prev = op;
13 op->prev = 0;
14 fa->__actions = op;
[all...]
H A Dposix_spawn_file_actions_addopen.c9 struct fdop *op = malloc(sizeof *op + strlen(path) + 1); local
10 if (!op) return ENOMEM;
11 op->cmd = FDOP_OPEN;
12 op->fd = fd;
13 op->oflag = flags;
14 op->mode = mode;
15 strcpy(op->path, path);
16 if ((op->next = fa->__actions)) op
[all...]
H A Dposix_spawn.c89 struct fdop *op; local
91 for (op = fa->__actions; op->next; op = op->next);
92 for (; op; op = op->prev) {
97 if (op->fd == p) {
103 switch(op
[all...]
/seL4-refos-master/libs/libmuslc/src/linux/
H A Dflock.c4 int flock(int fd, int op) argument
6 return syscall(SYS_flock, fd, op);
H A Dcache.c5 int _flush_cache(void *addr, int len, int op) argument
7 return syscall(SYS_cacheflush, addr, len, op);
13 int __cachectl(void *addr, int len, int op) argument
15 return syscall(SYS_cachectl, addr, len, op);
H A Dprctl.c5 int prctl(int op, ...) argument
10 va_start(ap, op);
13 return syscall(SYS_prctl, op, x[0], x[1], x[2], x[3]);
H A Depoll.c20 int epoll_ctl(int fd, int op, int fd2, struct epoll_event *ev) argument
22 return syscall(SYS_epoll_ctl, fd, op, fd2, ev);
/seL4-refos-master/libs/libmuslc/src/thread/
H A D__futex.c4 int __futex(volatile int *addr, int op, int val, void *ts) argument
6 return syscall(SYS_futex, addr, op, val, ts);
/seL4-refos-master/libs/libplatsupport/src/
H A Dservices.h19 #define RESOURCE(op, id) ps_io_map(&(op->io_mapper), (uintptr_t) id##_PADDR, id##_SIZE, 0, PS_MEM_NORMAL)
21 #define MAP_IF_NULL(op, id, ptr) \
24 ptr = RESOURCE(op, id); \
/seL4-refos-master/projects/util_libs/libplatsupport/src/
H A Dservices.h19 #define RESOURCE(op, id) ps_io_map(&(op->io_mapper), (uintptr_t) id##_PADDR, id##_SIZE, 0, PS_MEM_NORMAL)
21 #define MAP_IF_NULL(op, id, ptr) \
24 ptr = RESOURCE(op, id); \
/seL4-refos-master/libs/libmuslc/src/stdio/
H A Dpopen.c13 int p[2], op, e; local
19 op = 0;
21 op = 1;
28 f = fdopen(p[op], mode);
41 if (p[1-op] == 1-op) {
42 int tmp = fcntl(1-op, F_DUPFD_CLOEXEC, 0);
47 __syscall(SYS_close, p[1-op]);
48 p[1-op] = tmp;
53 if (!posix_spawn_file_actions_adddup2(&fa, p[1-op],
[all...]
/seL4-refos-master/libs/libmuslc/src/locale/
H A Dpleval.c28 int op; member in struct:st
66 static int binop(struct st *st, int op, unsigned long left) argument
69 switch (op) {
96 st->op = i;
100 st->op = i+2;
105 st->op = 13;
113 int op; local
119 st->r (left hand side value) and st->op are now set,
120 get the right hand side or back out if op has low prec,
121 if op wa
[all...]
/seL4-refos-master/seL4_tools/elfloader-tool/include/arch-arm/64/mode/
H A Dassembler.h95 .macro dcache op
101 cbz x3, finished_\op
104 loop1_\op:
109 b.lt skip_\op
123 loop2_\op:
126 loop3_\op:
131 dc \op, x11 variable
133 b.ge loop3_\op
135 b.ge loop2_\op
137 skip_\op
[all...]
/seL4-refos-master/tools/elfloader/include/arch-arm/64/mode/
H A Dassembler.h95 .macro dcache op
101 cbz x3, finished_\op
104 loop1_\op:
109 b.lt skip_\op
123 loop2_\op:
126 loop3_\op:
131 dc \op, x11 variable
133 b.ge loop3_\op
135 b.ge loop2_\op
137 skip_\op
[all...]
/seL4-refos-master/libs/libmuslc/src/misc/
H A Dlockf.c6 int lockf(int fd, int op, off_t size) argument
13 switch (op) {
/seL4-refos-master/libs/libmuslc/src/string/
H A Dstrcspn.c3 #define BITOP(a,b,op) \
4 ((a)[(size_t)(b)/(8*sizeof *(a))] op (size_t)1<<((size_t)(b)%(8*sizeof *(a))))
H A Dstrspn.c3 #define BITOP(a,b,op) \
4 ((a)[(size_t)(b)/(8*sizeof *(a))] op (size_t)1<<((size_t)(b)%(8*sizeof *(a))))
/seL4-refos-master/projects/seL4_libs/libsel4test/include/sel4test/
H A Dtest.h222 #define test_op_type(a, b, op, t, name_a, name_b, cast) \
224 if (!(a op b)) { \
226 #name_a, (cast) a, #op, #name_b, (cast) b) + 1; \
229 #name_a, (cast) a, #op, #name_b, (cast) b); \
234 #define test_op(a, b, op) \
246 test_op_type(_a, _b, op, "%d", a, b, int); \
248 test_op_type(_a, _b, op, "%ld", a, b, long); \
250 test_op_type(_a, _b, op, "%lld", a, b, long long); \
252 test_op_type(_a, _b, op, "%u", a, b, unsigned int); \
254 test_op_type(_a, _b, op, "
[all...]
/seL4-refos-master/libs/libmuslc/src/network/
H A Dres_mkquery.c6 int __res_mkquery(int op, const char *dname, int class, int type, argument
18 if (l>253 || buflen<n || op>15u || class>255u || type>255u)
23 q[2] = op*8 + 1;
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Doptions.c773 change_inv_order(op)
774 char *op;
781 if (!index(op, GOLD_SYM))
787 for (sp = op; *sp; sp++) {
862 feature_alert_opts(op, optn)
863 char *op;
868 unsigned long fnv = get_feature_notice_ver(op); /* version.c */
880 optn, op);
972 register char *op; local
980 if ((op
[all...]
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Doptions.c773 change_inv_order(op)
774 char *op;
781 if (!index(op, GOLD_SYM))
787 for (sp = op; *sp; sp++) {
862 feature_alert_opts(op, optn)
863 char *op;
868 unsigned long fnv = get_feature_notice_ver(op); /* version.c */
880 optn, op);
972 register char *op; local
980 if ((op
[all...]
/seL4-refos-master/libs/libmuslc/src/aio/
H A Daio.c32 * are the linked list pointers, op (which is immutable), running (which
46 int op; member in struct:aio_args
57 int err, op; member in struct:aio_thread
194 int op = args->op; local
206 at.op = op;
228 if (op!=LIO_READ && (op!=LIO_WRITE || q->append)) {
230 for (p=at.next; p && p->op!
260 submit(struct aiocb *cb, int op) argument
310 aio_fsync(int op, struct aiocb *cb) argument
[all...]
/seL4-refos-master/libs/libmuslc/include/sys/
H A Dtime.h38 #define timercmp(s,t,op) ((s)->tv_sec == (t)->tv_sec ? \
39 (s)->tv_usec op (t)->tv_usec : (s)->tv_sec op (t)->tv_sec)

Completed in 191 milliseconds

123