Home
last modified time | relevance | path

Searched refs:syscall (Results 1 – 25 of 34) sorted by relevance

12

/system/core/libcutils/
Diosched_policy.c37 if (syscall(SYS_ioprio_set, IOPRIO_WHO_PROCESS, pid, ioprio | (clazz << IOPRIO_CLASS_SHIFT))) { in android_set_ioprio()
48 if ((rc = syscall(SYS_ioprio_get, IOPRIO_WHO_PROCESS, pid)) < 0) { in android_get_ioprio()
Dthreads.c38 return syscall(SYS_thread_selfid); in gettid()
40 return syscall(__NR_gettid); in gettid()
/system/extras/ext4_utils/
Dkey_control.cpp19 return syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5); in keyctl()
28 return syscall(__NR_add_key, type, description, payload, plen, ringid); in add_key()
/system/core/libbacktrace/
Dthread_utils.c26 return syscall(__NR_tgkill, tgid, tid, sig); in tgkill()
/system/extras/kexec_tools/
Dkexec.h21 return syscall(__NR_kexec_load, entry, nr_segments, segment, flags); in kexec_load()
/system/extras/ioshark/
Dcompile_ioshark.c221 get_syscall(char *buf, char *syscall) in get_syscall() argument
239 strcpy(syscall, s); in get_syscall()
510 map_syscall(char *syscall) in map_syscall() argument
512 return lookup_map(syscall, fileop_map, in map_syscall()
525 char syscall[512]; in main() local
573 get_syscall(s, syscall); in main()
574 disk_file_op->file_op = map_syscall(syscall); in main()
/system/libfmq/
DEventFlag.cpp121 int ret = syscall(__NR_futex, mEfWordPtr, FUTEX_WAKE_BITSET, in wake()
167 ret = syscall(__NR_futex, mEfWordPtr, FUTEX_WAIT_BITSET, in waitHelper()
170 ret = syscall(__NR_futex, mEfWordPtr, FUTEX_WAIT_BITSET, efWord, NULL, NULL, bitmask); in waitHelper()
/system/media/audio_utils/include/audio_utils/
Dfutex.h39 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex()
Dclock_nanosleep.h35 return syscall(SYS_clock_nanosleep, clock_id, flags, request, remain); in audio_utils_clock_nanosleep()
/system/core/init/
Dkeyutils.h39 return syscall(__NR_keyctl, cmd, arg2, arg3, arg4, arg5); in keyctl()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp68 return syscall(__NR_getpid); in __getpid()
72 return syscall(__NR_gettid); in __gettid()
321 syscall(__NR_exit, 0); in debuggerd_dispatch_pseudothread()
344 int rc = syscall(SYS_rt_tgsigqueueinfo, __getpid(), __gettid(), info->si_signo, info); in resend_signal()
Ddebuggerd_fallback.cpp182 if (syscall(__NR_rt_tgsigqueueinfo, getpid(), tid, DEBUGGER_SIGNAL, &siginfo) != 0) { in trace_handler()
/system/extras/libfec/
Dfec_private.h149 (int)syscall(SYS_gettid), __FUNCTION__, ##args)
155 (int)syscall(SYS_gettid), __FUNCTION__, ##args)
/system/extras/tests/kernel.config/
Dsysvipc_test.cpp27 return syscall(SYS_kcmp, pid1, pid2, type, 0, idx1, idx2); in kcmp()
/system/bt/osi/src/
Dcompat.cc38 pid_t gettid(void) { return syscall(SYS_gettid); } in gettid()
/system/extras/simpleperf/
Denvironment.h86 return syscall(__NR_gettid); in gettid()
Dperf_clock.cpp46 thread_arg->thread_a_tid = syscall(SYS_gettid); in ThreadA()
/system/core/libprocinfo/
Dprocess_test.cpp35 return syscall(__NR_gettid); in gettid()
/system/core/libmemunreachable/
DPtracerThread.cpp144 syscall(SYS_tkill, child_pid_, SIGKILL); in Kill()
/system/core/debuggerd/
Dsignal_sender.cpp104 if (syscall(SYS_tgkill, msg.pid, msg.tid, msg.signal) != 0) { in start_signal_sender()
Ddebuggerd_test.cpp542 return syscall(__NR_clone, SIGCHLD, nullptr, nullptr, nullptr, nullptr); in TEST_F()
546 ASSERT_NE(getpid(), syscall(__NR_getpid)); in TEST_F()
547 ASSERT_NE(gettid(), syscall(__NR_gettid)); in TEST_F()
/system/core/libmemunreachable/tests/
DThreadCapture_test.cpp266 syscall(SYS_tgkill, ret, tid, SIGKILL); in TEST_F()
324 syscall(SYS_tgkill, child, tid, sig); in TEST_F()
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/
Dperf.h165 fd = syscall(__NR_perf_event_open, attr, pid, cpu, in sys_perf_event_open()
/system/core/base/
Dlogging.cpp83 return syscall(SYS_thread_selfid); in GetThreadId()
85 return syscall(__NR_gettid); in GetThreadId()
/system/extras/tests/icachetest/
DProfiler.cpp43 return syscall(__NR_perf_event_open, hw_event, pid, cpu, group_fd, flags); in perf_event_open()

12