/bionic/libc/bionic/ |
D | pthread_kill.cpp | 35 extern "C" int tgkill(int tgid, int tid, int sig); 46 pid_t tid = thread->tid; in pthread_kill() local 49 int rc = tgkill(getpid(), tid, sig); in pthread_kill()
|
D | pthread_join.cpp | 39 pid_t tid; in pthread_join() local 57 tid = thread->tid; in pthread_join() 58 tid_ptr = &thread->tid; in pthread_join() 66 __futex_wait(tid_ptr, tid, NULL); in pthread_join()
|
D | pthread_setname_np.cpp | 60 pid_t tid = 0; in pthread_setname_np() local 66 tid = thread->tid; in pthread_setname_np() 69 snprintf(comm_name, sizeof(comm_name), TASK_COMM_FMT, tid); in pthread_setname_np()
|
D | pthread_rwlock.cpp | 135 if (__predict_false(__get_thread()->tid == rwlock->writer_thread_id)) { in __pthread_rwlock_timedrdlock() 170 int tid = __get_thread()->tid; in __pthread_rwlock_timedwrlock() local 171 if (__predict_false(tid == rwlock->writer_thread_id)) { in __pthread_rwlock_timedwrlock() 199 rwlock->writer_thread_id = tid; in __pthread_rwlock_timedwrlock() 229 int tid = __get_thread()->tid; in pthread_rwlock_trywrlock() local 233 rwlock->writer_thread_id = tid; in pthread_rwlock_trywrlock() 241 int tid = __get_thread()->tid; in pthread_rwlock_unlock() local 249 if (rwlock->writer_thread_id != tid) { in pthread_rwlock_unlock()
|
D | pthread_mutex.cpp | 449 int mvalue, mtype, tid, shared; in pthread_mutex_lock() local 462 tid = __get_thread()->tid; in pthread_mutex_lock() 463 if ( tid == MUTEX_OWNER_FROM_BITS(mvalue) ) in pthread_mutex_lock() 473 int newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_UNCONTENDED; in pthread_mutex_lock() 492 newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_CONTENDED; in pthread_mutex_lock() 531 int mvalue, mtype, tid, shared; in pthread_mutex_unlock() local 544 tid = __get_thread()->tid; in pthread_mutex_unlock() 545 if ( tid != MUTEX_OWNER_FROM_BITS(mvalue) ) in pthread_mutex_unlock() 583 int mvalue, mtype, tid, shared; in pthread_mutex_trylock() local 603 tid = __get_thread()->tid; in pthread_mutex_trylock() [all …]
|
D | pthread_getschedparam.cpp | 42 int rc = sched_getparam(thread->tid, param); in pthread_getschedparam() 46 *policy = sched_getscheduler(thread->tid); in pthread_getschedparam()
|
D | fork.cpp | 45 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, &(self->tid), NULL); in fork() 47 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, NULL, &(self->tid)); in fork()
|
D | gettid.cpp | 34 return __get_thread()->tid; in gettid()
|
D | libc_init_common.cpp | 83 main_thread.tid = __set_tid_address(&main_thread.tid); in __libc_init_tls() 84 main_thread.set_cached_pid(main_thread.tid); in __libc_init_tls()
|
D | pthread_gettid_np.cpp | 33 return reinterpret_cast<pthread_internal_t*>(t)->tid; in pthread_gettid_np()
|
D | pthread_getcpuclockid.cpp | 40 clockid_t result = ~static_cast<clockid_t>(thread->tid) << 3; in pthread_getcpuclockid()
|
D | pthread_setschedparam.cpp | 42 int rc = sched_setscheduler(thread->tid, policy, param); in pthread_setschedparam()
|
D | pthread_detach.cpp | 47 if (thread->tid == 0) { in pthread_detach()
|
D | pthread_create.cpp | 85 if (sched_setscheduler(thread->tid, thread->attr.sched_policy, ¶m) == -1) { in __init_thread() 223 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid)); in pthread_create()
|
D | pthread_internal.h | 49 pid_t tid; member
|
D | libc_logging.cpp | 502 uint16_t tid = gettid(); in __libc_write_log() local 503 vec[1].iov_base = &tid; in __libc_write_log() 504 vec[1].iov_len = sizeof(tid); in __libc_write_log() 564 uint16_t tid = gettid(); in __libc_android_log_event() local 565 vec[1].iov_base = &tid; in __libc_android_log_event() 566 vec[1].iov_len = sizeof(tid); in __libc_android_log_event()
|
D | ndk_cruft.cpp | 224 extern "C" int tkill(pid_t tid, int sig) { in tkill() argument 225 return syscall(__NR_tkill, tid, sig); in tkill()
|
D | pthread_key.cpp | 221 if (t->tid == 0 || t->tls == NULL) { in pthread_key_delete()
|
/bionic/tests/ |
D | stack_protector_test.cpp | 48 pid_t tid = gettid(); in Check() local 51 printf("[thread %d] %%gs:0x14 = 0x%08x\n", tid, guard); in Check() 54 ASSERT_TRUE(tids.find(tid) == tids.end()); in Check() 60 tids.insert(tid); in Check()
|
D | sched_test.cpp | 34 pid_t tid = clone(child_fn, &child_stack[1024], CLONE_VM, &i); in TEST() local 37 ASSERT_EQ(tid, TEMP_FAILURE_RETRY(waitpid(tid, &status, __WCLONE))); in TEST()
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
D | xt_l2tp.h | 29 __u32 tid; member
|
/bionic/linker/ |
D | debugger.cpp | 42 extern "C" int tgkill(int tgid, int tid, int sig); 63 pid_t tid; member 231 msg.tid = gettid(); in send_debuggerd_packet()
|
/bionic/libc/kernel/uapi/linux/ |
D | i2o-dev.h | 62 unsigned int tid; member 85 unsigned int tid; member 97 unsigned int tid; member 204 __u32 tid:12; member
|
/bionic/libc/kernel/uapi/sound/ |
D | asound.h | 639 struct snd_timer_id tid; member 655 struct snd_timer_id tid; member 662 struct snd_timer_id tid; member
|
/bionic/libc/ |
D | SYSCALLS.TXT | 60 int tgkill(pid_t tgid, pid_t tid, int sig) all
|