/seL4-camkes-master/projects/musllibc/src/process/ |
H A D | posix_spawn_file_actions_adddup2.c | 8 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 D | posix_spawn_file_actions_destroy.c | 7 struct fdop *op = fa->__actions, *next; local 8 while (op) { 9 next = op->next; 10 free(op); 11 op = next;
|
H A D | posix_spawn_file_actions_addclose.c | 8 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 D | posix_spawn_file_actions_addopen.c | 9 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 D | posix_spawn.c | 89 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-camkes-master/projects/musllibc/src/linux/ |
H A D | flock.c | 4 int flock(int fd, int op) argument 6 return syscall(SYS_flock, fd, op);
|
H A D | cache.c | 5 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 D | prctl.c | 5 int prctl(int op, ...) argument 10 va_start(ap, op); 13 return syscall(SYS_prctl, op, x[0], x[1], x[2], x[3]);
|
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/preprocessor/seq/ |
H A D | fold_left.hpp | 26 # define MSGPACK_PP_SEQ_FOLD_LEFT(op, state, seq) ... 33 # define MSGPACK_PP_SEQ_FOLD_LEFT_257(op, st, ss) MSGPACK_PP_ERROR(0x0005) 34 # define MSGPACK_PP_SEQ_FOLD_LEFT_I_257(op, st, ss, sz) MSGPACK_PP_ERROR(0x0005) 38 # define MSGPACK_PP_SEQ_FOLD_LEFT_CHECK_MSGPACK_PP_SEQ_FOLD_LEFT_I_1(op, st, ss, sz) 0 39 # define MSGPACK_PP_SEQ_FOLD_LEFT_CHECK_MSGPACK_PP_SEQ_FOLD_LEFT_I_2(op, st, ss, sz) 0 40 # define MSGPACK_PP_SEQ_FOLD_LEFT_CHECK_MSGPACK_PP_SEQ_FOLD_LEFT_I_3(op, st, ss, sz) 0 41 # define MSGPACK_PP_SEQ_FOLD_LEFT_CHECK_MSGPACK_PP_SEQ_FOLD_LEFT_I_4(op, st, ss, sz) 0 42 # define MSGPACK_PP_SEQ_FOLD_LEFT_CHECK_MSGPACK_PP_SEQ_FOLD_LEFT_I_5(op, st, ss, sz) 0 43 # define MSGPACK_PP_SEQ_FOLD_LEFT_CHECK_MSGPACK_PP_SEQ_FOLD_LEFT_I_6(op, st, ss, sz) 0 44 # define MSGPACK_PP_SEQ_FOLD_LEFT_CHECK_MSGPACK_PP_SEQ_FOLD_LEFT_I_7(op, s [all...] |
H A D | fold_right.hpp | 24 # define MSGPACK_PP_SEQ_FOLD_RIGHT(op, state, seq) ... 29 # define MSGPACK_PP_SEQ_FOLD_RIGHT_257(op, st, ss) MSGPACK_PP_ERROR(0x0005) 31 # define MSGPACK_PP_SEQ_FOLD_RIGHT_1(op, st, ss) MSGPACK_PP_SEQ_FOLD_LEFT_I_1(op, st, MSGPACK_PP_SEQ_REVERSE_S(2, ss), MSGPACK_PP_SEQ_SIZE(ss)) 32 # define MSGPACK_PP_SEQ_FOLD_RIGHT_2(op, st, ss) MSGPACK_PP_SEQ_FOLD_LEFT_I_2(op, st, MSGPACK_PP_SEQ_REVERSE_S(3, ss), MSGPACK_PP_SEQ_SIZE(ss)) 33 # define MSGPACK_PP_SEQ_FOLD_RIGHT_3(op, st, ss) MSGPACK_PP_SEQ_FOLD_LEFT_I_3(op, st, MSGPACK_PP_SEQ_REVERSE_S(4, ss), MSGPACK_PP_SEQ_SIZE(ss)) 34 # define MSGPACK_PP_SEQ_FOLD_RIGHT_4(op, st, ss) MSGPACK_PP_SEQ_FOLD_LEFT_I_4(op, s [all...] |
H A D | transform.hpp | 24 # define MSGPACK_PP_SEQ_TRANSFORM(op, data, seq) MSGPACK_PP_SEQ_TAIL(MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_SEQ_FOLD_LEFT(MSGPACK_PP_SEQ_TRANSFORM_O, (op, data, (nil)), seq))) 26 # define MSGPACK_PP_SEQ_TRANSFORM(op, data, seq) MSGPACK_PP_SEQ_TRANSFORM_I(op, data, seq) 27 # define MSGPACK_PP_SEQ_TRANSFORM_I(op, data, seq) MSGPACK_PP_SEQ_TAIL(MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_SEQ_FOLD_LEFT(MSGPACK_PP_SEQ_TRANSFORM_O, (op, data, (nil)), seq))) 37 # define MSGPACK_PP_SEQ_TRANSFORM_O_I(s, op, data, res, elem) (op, data, res (op(s, data, elem))) 42 # define MSGPACK_PP_SEQ_TRANSFORM_S(s, op, dat [all...] |
/seL4-camkes-master/projects/musllibc/src/thread/ |
H A D | __futex.c | 4 int __futex(volatile int *addr, int op, int val, void *ts) argument 6 return syscall(SYS_futex, addr, op, val, ts);
|
/seL4-camkes-master/projects/util_libs/libplatsupport/src/ |
H A D | services.h | 19 #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-camkes-master/projects/musllibc/src/stdio/ |
H A D | popen.c | 13 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-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/preprocessor/list/ |
H A D | transform.hpp | 25 # define MSGPACK_PP_LIST_TRANSFORM(op, data, list) MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_LIST_FOLD_RIGHT(MSGPACK_PP_LIST_TRANSFORM_O, (op, data, MSGPACK_PP_NIL), list)) 27 # define MSGPACK_PP_LIST_TRANSFORM(op, data, list) MSGPACK_PP_LIST_TRANSFORM_I(op, data, list) 28 # define MSGPACK_PP_LIST_TRANSFORM_I(op, data, list) MSGPACK_PP_TUPLE_ELEM(3, 2, MSGPACK_PP_LIST_FOLD_RIGHT(MSGPACK_PP_LIST_TRANSFORM_O, (op, data, MSGPACK_PP_NIL), list)) 38 # define MSGPACK_PP_LIST_TRANSFORM_O_D(d, op, data, res, elem) (op, data, (op(d, data, elem), res)) 43 # define MSGPACK_PP_LIST_TRANSFORM_D(d, op, dat [all...] |
/seL4-camkes-master/tools/rumprun/platform/xen/xen/ |
H A D | pcifront.c | 185 err = xenbus_printf(xbt, nodename, "pci-op-ref","%u", 188 message = "writing pci-op-ref"; 457 void pcifront_op(struct pcifront_dev *dev, struct xen_pci_op *op) argument 461 dev->info->op = *op; 471 *op = dev->info->op; 479 struct xen_pci_op op; local 488 bmk_memset(&op, 0, sizeof(op)); 512 struct xen_pci_op op; local 541 struct xen_pci_op op; local 566 struct xen_pci_op op; local 589 struct xen_pci_op op; local 623 struct xen_pci_op op; local [all...] |
H A D | events.c | 176 evtchn_bind_virq_t op; local 180 op.virq = virq; 181 op.vcpu = smp_processor_id(); 183 if ((rc = HYPERVISOR_event_channel_op(EVTCHNOP_bind_virq, &op)) != 0) 188 minios_bind_evtchn(op.port, handler, data); 189 return op.port; 195 evtchn_bind_pirq_t op; local 199 op.pirq = pirq; 200 op.flags = will_share ? BIND_PIRQ__WILL_SHARE : 0; 202 if ((rc = HYPERVISOR_event_channel_op(EVTCHNOP_bind_pirq, &op)) ! 222 minios_event_channel_op(int cmd, void *op) argument 275 evtchn_alloc_unbound_t op; local 297 evtchn_bind_interdomain_t op; local 313 evtchn_send_t op; local [all...] |
H A D | gntmap.c | 110 struct gnttab_map_grant_ref op; local 113 op.ref = (grant_ref_t) ref; 114 op.dom = (domid_t) domid; 115 op.host_addr = (uint64_t) host_addr; 116 op.flags = GNTMAP_host_map; 118 op.flags |= GNTMAP_readonly; 120 rc = HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, &op, 1); 121 if (rc != 0 || op.status != GNTST_okay) { 124 rc, op.status); 125 return rc != 0 ? rc : op 136 struct gnttab_unmap_grant_ref op; local [all...] |
/seL4-camkes-master/projects/musllibc/src/locale/ |
H A D | pleval.c | 28 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-camkes-master/tools/rumprun/platform/xen/librumpxen_xendev/ |
H A D | xenio.h | 37 unsigned long op; member in struct:privcmd_hypercall 71 unsigned long op; member in struct:privcmd_blkmsg 91 unsigned long op; member in struct:oprivcmd_hypercall
|
/seL4-camkes-master/tools/seL4/elfloader-tool/include/arch-arm/64/mode/ |
H A D | assembler.h | 95 .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-camkes-master/projects/musllibc/src/misc/ |
H A D | lockf.c | 6 int lockf(int fd, int op, off_t size) argument 13 switch (op) {
|
/seL4-camkes-master/projects/musllibc/src/string/ |
H A D | strcspn.c | 3 #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 D | strspn.c | 3 #define BITOP(a,b,op) \ 4 ((a)[(size_t)(b)/(8*sizeof *(a))] op (size_t)1<<((size_t)(b)%(8*sizeof *(a))))
|
/seL4-camkes-master/projects/seL4_projects_libs/libsel4vm/src/arch/x86/processor/ |
H A D | decode.c | 32 #define IA32_OPCODE_S(op) (op & BIT(0)) 33 #define IA32_OPCODE_D(op) (op & BIT(1)) 34 #define IA32_OPCODY_BODY(op) (op & 0b11111100) 66 struct x86_op op; member in struct:decode_op 81 decode_op->op.reg = IA32_MODRM_REG(modrm); 88 decode_op->op.reg = -1; 90 for (int j = 0; j < decode_op->op [all...] |