/seL4-test-master/tools/riscv-pk/pk/ |
H A D | file.h | 22 file_t* file_open(const char* fn, int flags, int mode); 27 file_t* file_openat(int dirfd, const char* fn, int flags, int mode);
|
H A D | syscall.c | 83 int sys_openat(int dirfd, const char* name, int flags, int mode) argument 87 file_t* file = file_openat(kfd, name, flags, mode); 102 int sys_open(const char* name, int flags, int mode) argument 104 return sys_openat(AT_FDCWD, name, flags, mode); 206 long sys_fstatat(int dirfd, const char* name, void* st, int flags) argument 212 long ret = frontend_syscall(SYS_fstatat, kfd, va2pa(name), name_size, va2pa(&buf), flags, 0, 0); 239 long sys_linkat(int old_dirfd, const char* old_name, int new_dirfd, const char* new_name, int flags) argument 248 flags); 258 long sys_unlinkat(int dirfd, const char* name, int flags) argument 263 return frontend_syscall(SYS_unlinkat, kfd, va2pa(name), name_size, flags, 321 sys_mmap(uintptr_t addr, size_t length, int prot, int flags, int fd, off_t offset) argument 336 sys_mremap(uintptr_t addr, size_t old_size, size_t new_size, int flags) argument [all...] |
H A D | file.c | 82 file_t* file_open(const char* fn, int flags, int mode) argument 84 return file_openat(AT_FDCWD, fn, flags, mode); 87 file_t* file_openat(int dirfd, const char* fn, int flags, int mode) argument 94 long ret = frontend_syscall(SYS_openat, dirfd, va2pa(fn), fn_size, flags, mode, 0, 0);
|
H A D | elf.c | 14 * The protection flags are in the p_flags section of the program header. 72 int flags = MAP_FIXED | MAP_PRIVATE; local 79 int flags2 = flags | (prepad ? MAP_POPULATE : 0); 89 if (__do_mmap(vaddr + mapped, ph[i].p_memsz - mapped, prot, flags|MAP_ANONYMOUS, 0, 0) != vaddr + mapped)
|
/seL4-test-master/projects/util_libs/libplatsupport/src/plat/rockpro64/ |
H A D | serial.c | 45 if (c == '\n' && (d->flags & SERIAL_AUTO_CR)) { 76 dev->flags = SERIAL_AUTO_CR;
|
/seL4-test-master/projects/util_libs/libplatsupport/src/plat/qemu-arm-virt/ |
H A D | serial.c | 46 if (c == '\n' && (d->flags & SERIAL_AUTO_CR)) { 76 dev->flags = SERIAL_AUTO_CR;
|
/seL4-test-master/projects/musllibc/src/network/ |
H A D | getnameinfo.c | 127 int flags) 157 if (!(flags & NI_NUMERICHOST)) { 160 if (!*buf && !(flags & NI_NUMERICHOST)) { 170 if (flags & NI_NAMEREQD) return EAI_NONAME; 174 if (!(flags & NI_NUMERICSCOPE) && 192 if (!(flags & NI_NUMERICSERV)) 193 reverse_services(buf, port, flags & NI_DGRAM); 124 getnameinfo(const struct sockaddr *restrict sa, socklen_t sl, char *restrict node, socklen_t nodelen, char *restrict serv, socklen_t servlen, int flags) argument
|
H A D | lookup_name.c | 25 static int name_from_null(struct address buf[static 2], const char *name, int family, int flags) argument 29 if (flags & AI_PASSIVE) { 286 int __lookup_name(struct address buf[static MAXADDRS], char canon[static 256], const char *name, int family, int flags) argument 302 if (flags & AI_V4MAPPED) { 304 else flags -= AI_V4MAPPED; 308 cnt = name_from_null(buf, name, family, flags); 310 if (!cnt && !(flags & AI_NUMERICHOST)) { 317 if (flags & AI_V4MAPPED) { 318 if (!(flags & AI_ALL)) {
|
/seL4-test-master/projects/musllibc/src/internal/ |
H A D | stdio_impl.h | 23 unsigned flags; member in struct:_IO_FILE 83 #define feof(f) ((f)->flags & F_EOF) 84 #define ferror(f) ((f)->flags & F_ERR)
|
/seL4-test-master/projects/musllibc/src/stdio/ |
H A D | __stdio_read.c | 14 f->flags |= F_EOF ^ ((F_ERR^F_EOF) & cnt);
|
H A D | fclose.c | 16 if (!(perm = f->flags & F_PERM)) {
|
H A D | fseek.c | 22 f->flags &= ~F_EOF;
|
H A D | ftell.c | 8 (f->flags & F_APP) && f->wpos > f->wbase
|
H A D | ungetwc.c | 30 f->flags &= ~F_EOF;
|
H A D | getdelim.c | 19 f->flags |= F_ERR; 62 f->flags |= F_ERR;
|
H A D | fmemopen.c | 33 f->flags |= F_EOF; 63 else if ((f->flags&F_NORD) && c->size) c->buf[c->size-1] = 0; 102 if (!plus) f->flags = (*mode == 'r') ? F_NOWR : F_NORD;
|
/seL4-test-master/projects/util_libs/libplatsupport/src/plat/fvp/ |
H A D | sp804.c | 97 int flags = periodic ? TCLR_AUTORELOAD : TCLR_ONESHOT; local 98 flags |= irqs ? TCLR_INTENABLE : 0; 104 if (flags & TCLR_AUTORELOAD) { 113 | flags;
|
/seL4-test-master/projects/sel4_projects_libs/libsel4dma/src/ |
H A D | dma.c | 61 int flags; member in struct:dma_mem 78 return !(m->flags & DMFLAG_ALLOCATED); 172 m->flags = 0; 247 split->flags = m->flags; 256 m->flags |= DMFLAG_ALLOCATED; 265 enum dma_flags flags, dma_mem_t *ret_mem) 276 (void)flags; 359 m->flags &= ~DMFLAG_ALLOCATED; 454 static void *dma_dma_alloc(void *cookie, size_t size, int align, int cached, ps_mem_flags_t flags) argument 264 dma_alloc(struct dma_allocator *allocator, size_t size, int align, enum dma_flags flags, dma_mem_t *ret_mem) argument [all...] |
/seL4-test-master/projects/musllibc/src/thread/sh/ |
H A D | clone.s | 5 ! incoming: fn stack flags arg ptid tls ctid 15 mov r6, r4 ! r4 = flags
|
/seL4-test-master/projects/musllibc/include/ |
H A D | stropts.h | 98 unsigned flags; member in struct:strpeek 104 unsigned flags; member in struct:strfdinsert
|
/seL4-test-master/projects/util_libs/libplatsupport/src/plat/imx31/ |
H A D | serial.c | 58 if (c == '\n' && (d->flags & SERIAL_AUTO_CR)) { 90 dev->flags = SERIAL_AUTO_CR;
|
/seL4-test-master/projects/util_libs/libplatsupport/src/plat/hifive/ |
H A D | uart.c | 67 if (c == '\n' && (d->flags & SERIAL_AUTO_CR)) { 106 dev->flags = SERIAL_AUTO_CR;
|
/seL4-test-master/projects/seL4_libs/libsel4platsupport/src/ |
H A D | common.c | 67 int cached, ps_mem_flags_t flags); 93 int cached UNUSED, ps_mem_flags_t flags UNUSED) 131 int cached UNUSED, ps_mem_flags_t flags UNUSED) 154 int cached, ps_mem_flags_t flags) 157 return __map_device_page_regular(cookie, paddr, size, cached, flags); 159 return __map_device_page_failsafe(cookie, paddr, size, cached, flags); 153 __map_device_page(void *cookie, uintptr_t paddr, size_t size, int cached, ps_mem_flags_t flags) argument
|
/seL4-test-master/projects/seL4_libs/libsel4muslcsys/src/ |
H A D | sys_io.c | 178 static long sys_open_impl(const char *pathname, int flags, mode_t mode) argument 180 /* mask out flags we can support */ 181 flags &= ~O_LARGEFILE; 183 if (flags != O_RDONLY) { 184 ZF_LOGE("Open only supports O_RDONLY, not 0x%x on %s\n", flags, pathname); 185 assert(flags == O_RDONLY); 225 int flags = va_arg(ap, int); local 228 return sys_open_impl(pathname, flags, mode); 235 int flags = va_arg(ap, int); local 243 return sys_open_impl(pathname, flags, mod [all...] |
/seL4-test-master/projects/util_libs/libplatsupport/plat_include/pc99/platsupport/plat/acpi/tables/ |
H A D | dmar.h | 25 uint8_t flags; member in struct:acpi_dmar_hdr 89 uint8_t flags; member in struct:acpi_dmar_drhd 100 uint8_t flags; member in struct:acpi_dmar_atsr
|