Searched refs:native_flags (Results 1 – 6 of 6) sorted by relevance
/development/ndk/sources/android/libportable/arch-mips/ |
D | mmap.c | 49 int native_flags = 0; in mmap_flags_pton() local 54 native_flags |= MAP_SHARED; in mmap_flags_pton() 57 native_flags |= MAP_PRIVATE; in mmap_flags_pton() 60 native_flags |= MAP_FIXED; in mmap_flags_pton() 63 native_flags |= MAP_ANONYMOUS; in mmap_flags_pton() 66 native_flags |= MAP_GROWSDOWN; in mmap_flags_pton() 69 native_flags |= MAP_DENYWRITE; in mmap_flags_pton() 72 native_flags |= MAP_EXECUTABLE; in mmap_flags_pton() 75 native_flags |= MAP_LOCKED; in mmap_flags_pton() 78 native_flags |= MAP_NORESERVE; in mmap_flags_pton() [all …]
|
D | eventfd.c | 41 int native_flags = 0; in efd_flags_pton() local 46 native_flags |= EFD_NONBLOCK; in efd_flags_pton() 51 native_flags |= EFD_CLOEXEC; in efd_flags_pton() 56 native_flags |= EFD_SEMAPHORE; in efd_flags_pton() 64 ALOGV("%s: return(native_flags:%d); }", __func__, native_flags); in efd_flags_pton() 65 return native_flags; in efd_flags_pton() 77 int native_flags; in WRAP() local 83 native_flags = efd_flags_pton(portable_flags); in WRAP() 85 rv = REAL(eventfd)(initval, native_flags); in WRAP() 87 if (native_flags & EFD_CLOEXEC) { in WRAP()
|
D | inotify.c | 47 int native_flags = 0; in in_flags_pton() local 52 native_flags |= IN_NONBLOCK; in in_flags_pton() 56 native_flags |= IN_CLOEXEC; in in_flags_pton() 59 ALOGV("%s: return(native_flags:%d); }", __func__, native_flags); in in_flags_pton() 60 return native_flags; in in_flags_pton() 66 int native_flags; in WRAP() local 72 native_flags = in_flags_pton(portable_flags); in WRAP() 74 rv = syscall(__NR_inotify_init1, native_flags); in WRAP() 76 if (native_flags & IN_CLOEXEC) { in WRAP()
|
D | timerfd.c | 44 int native_flags = 0; in tdf_flags_pton() local 49 native_flags |= TFD_NONBLOCK; in tdf_flags_pton() 53 native_flags |= TFD_CLOEXEC; in tdf_flags_pton() 56 ALOGV("%s: return(native_flags:%d); }", __func__, native_flags); in tdf_flags_pton() 57 return native_flags; in tdf_flags_pton() 63 int native_flags; in WRAP() local 69 native_flags = tdf_flags_pton(portable_flags); in WRAP() 71 rv = REAL(syscall)(__NR_timerfd_create, clockid, native_flags); in WRAP() 73 if (native_flags & TFD_CLOEXEC) { in WRAP()
|
D | pipe.c | 46 int native_flags = 0; in tdf_flags_pton() local 51 native_flags |= O_NONBLOCK; in tdf_flags_pton() 55 native_flags |= O_CLOEXEC; in tdf_flags_pton() 58 ALOGV("%s: return(native_flags:%d); }", __func__, native_flags); in tdf_flags_pton() 59 return native_flags; in tdf_flags_pton() 64 int native_flags; in WRAP() local 71 native_flags = tdf_flags_pton(portable_flags); in WRAP() 73 rv = REAL(pipe2)(pipefd, native_flags); in WRAP() 78 if (native_flags & O_CLOEXEC) { in WRAP()
|
D | signal.c | 1244 int native_flags = 0; in do_signalfd4_portable() local 1253 native_flags |= SFD_NONBLOCK; in do_signalfd4_portable() 1256 native_flags |= SFD_CLOEXEC; in do_signalfd4_portable() 1258 rv = syscall(__NR_signalfd4, fd, &native_sigmask, native_sigsetsize, native_flags); in do_signalfd4_portable() 1261 if (native_flags & SFD_CLOEXEC) { in do_signalfd4_portable()
|