/sysdeps/htl/ |
A D | pt-cond-timedwait.c | 105 ctx.wakeup = self; in __pthread_cond_timedwait_internal() 118 && self->cancel_pending; in __pthread_cond_timedwait_internal() 127 self->cancel_hook_arg = &ctx; in __pthread_cond_timedwait_internal() 128 oldtype = self->cancel_type; in __pthread_cond_timedwait_internal() 158 __pthread_block (self); in __pthread_cond_timedwait_internal() 162 if (self->prevp == NULL) in __pthread_cond_timedwait_internal() 181 __pthread_dequeue (self); in __pthread_cond_timedwait_internal() 194 __pthread_block (self); in __pthread_cond_timedwait_internal() 199 self->cancel_hook = NULL; in __pthread_cond_timedwait_internal() 201 self->cancel_type = oldtype; in __pthread_cond_timedwait_internal() [all …]
|
A D | pt-setspecific.c | 26 struct __pthread *self = _pthread_self (); in __pthread_setspecific() local 32 if (key >= self->thread_specifics_size) in __pthread_setspecific() 36 void **new = realloc (self->thread_specifics, in __pthread_setspecific() 41 memset (&new[self->thread_specifics_size], 0, in __pthread_setspecific() 42 (newsize - self->thread_specifics_size) * sizeof (new[0])); in __pthread_setspecific() 43 self->thread_specifics = new; in __pthread_setspecific() 44 self->thread_specifics_size = newsize; in __pthread_setspecific() 47 self->thread_specifics[key] = (void *) value; in __pthread_setspecific()
|
A D | pt-rwlock-timedwrlock.c | 35 struct __pthread *self; in __pthread_rwlock_timedwrlock_internal() local 57 self = _pthread_self (); in __pthread_rwlock_timedwrlock_internal() 60 __pthread_enqueue (&rwlock->__writerqueue, self); in __pthread_rwlock_timedwrlock_internal() 65 err = __pthread_timedblock (self, abstime, clockid); in __pthread_rwlock_timedwrlock_internal() 69 __pthread_block (self); in __pthread_rwlock_timedwrlock_internal() 73 if (self->prevp == NULL) in __pthread_rwlock_timedwrlock_internal() 83 __pthread_dequeue (self); in __pthread_rwlock_timedwrlock_internal() 89 __pthread_block (self); in __pthread_rwlock_timedwrlock_internal()
|
A D | pt-getspecific.c | 26 struct __pthread *self; in __pthread_getspecific() local 32 self = _pthread_self (); in __pthread_getspecific() 33 if (key >= self->thread_specifics_size) in __pthread_getspecific() 36 return self->thread_specifics[key]; in __pthread_getspecific()
|
A D | pt-rwlock-timedrdlock.c | 35 struct __pthread *self; in __pthread_rwlock_timedrdlock_internal() local 71 self = _pthread_self (); in __pthread_rwlock_timedrdlock_internal() 74 __pthread_enqueue (&rwlock->__readerqueue, self); in __pthread_rwlock_timedrdlock_internal() 79 err = __pthread_timedblock (self, abstime, clockid); in __pthread_rwlock_timedrdlock_internal() 83 __pthread_block (self); in __pthread_rwlock_timedrdlock_internal() 87 if (self->prevp == NULL) in __pthread_rwlock_timedrdlock_internal() 97 __pthread_dequeue (self); in __pthread_rwlock_timedrdlock_internal() 103 __pthread_block (self); in __pthread_rwlock_timedrdlock_internal()
|
A D | timer_routines.c | 339 self->current_timer = 0; in thread_expire_timer() 341 pthread_cond_broadcast (&self->cond); in thread_expire_timer() 353 struct thread_node *self = arg; in thread_func() local 359 pthread_cleanup_push (thread_cleanup, self); in thread_func() 369 first = list_first (&self->timer_queue); in thread_func() 370 if (first != list_null (&self->timer_queue)) in thread_func() 403 __timer_thread_queue_timer (self, timer); in thread_func() 406 thread_expire_timer (self, timer); in thread_func() 408 first = list_first (&self->timer_queue); in thread_func() 409 if (first == list_null (&self->timer_queue)) in thread_func() [all …]
|
A D | pt-barrier-wait.c | 61 struct __pthread *self = _pthread_self (); in pthread_barrier_wait() local 64 __pthread_enqueue (&barrier->__queue, self); in pthread_barrier_wait() 67 __pthread_block (self); in pthread_barrier_wait()
|
/sysdeps/nptl/ |
A D | _Fork.c | 31 struct pthread *self = THREAD_SELF; in _Fork() local 44 self->robust_prev = &self->robust_head; in _Fork() 46 self->robust_head.list = &self->robust_head; in _Fork() 47 INTERNAL_SYSCALL_CALL (set_robust_list, &self->robust_head, in _Fork()
|
A D | libc_start_call_main.h | 48 struct pthread *self = THREAD_SELF; in __libc_start_call_main() local 51 unwind_buf.priv.data.prev = THREAD_GETMEM (self, cleanup_jmp_buf); in __libc_start_call_main() 52 unwind_buf.priv.data.cleanup = THREAD_GETMEM (self, cleanup); in __libc_start_call_main() 55 THREAD_SETMEM (self, cleanup_jmp_buf, &unwind_buf); in __libc_start_call_main()
|
A D | fork.h | 58 struct pthread *self = (struct pthread *) THREAD_SELF; in reclaim_stacks() local 104 if (curp != self) in reclaim_stacks() 140 list_del (&self->list); in reclaim_stacks() 146 if (__glibc_unlikely (THREAD_GETMEM (self, user_stack))) in reclaim_stacks() 147 list_add (&self->list, &GL (dl_stack_user)); in reclaim_stacks() 149 list_add (&self->list, &GL (dl_stack_used)); in reclaim_stacks()
|
A D | libc-lock.h | 92 void *self = THREAD_SELF; \ 93 if ((NAME).owner != self) \ 96 (NAME).owner = self; \ 110 void *self = THREAD_SELF; \ 111 if ((NAME).owner != self) \ 115 (NAME).owner = self; \
|
/sysdeps/unix/sysv/linux/ |
A D | rseq-internal.h | 30 rseq_register_current_thread (struct pthread *self, bool do_rseq) in rseq_register_current_thread() argument 34 int ret = INTERNAL_SYSCALL_CALL (rseq, &self->rseq_area, in rseq_register_current_thread() 35 sizeof (self->rseq_area), in rseq_register_current_thread() 40 THREAD_SETMEM (self, rseq_area.cpu_id, RSEQ_CPU_ID_REGISTRATION_FAILED); in rseq_register_current_thread() 45 rseq_register_current_thread (struct pthread *self, bool do_rseq) in rseq_register_current_thread() argument 47 THREAD_SETMEM (self, rseq_area.cpu_id, RSEQ_CPU_ID_REGISTRATION_FAILED); in rseq_register_current_thread()
|
A D | glibcsyscalls.py | 76 def __init__(self, lines): argument 77 self.syscalls = [] 79 self.kernel_version = None 80 self.__lines = tuple(lines) 81 for line in self.__lines: 106 def merge(self, names): argument 116 for line in self.__lines: 179 self.name = name 180 self.path = path 182 def __repr__(self): argument [all …]
|
A D | safe-fatal.h | 28 pid_t self = INTERNAL_SYSCALL_CALL (getpid); in __safe_fatal() local 29 INTERNAL_SYSCALL_CALL (kill, self, SIGKILL); in __safe_fatal()
|
/sysdeps/mach/hurd/htl/ |
A D | pt-mutex-lock.c | 29 struct __pthread *self; in __pthread_mutex_lock() local 40 self = _pthread_self (); in __pthread_mutex_lock() 41 if (mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_lock() 51 mtx_set_owner (mtxp, self, flags); in __pthread_mutex_lock() 56 self = _pthread_self (); in __pthread_mutex_lock() 57 if (mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_lock() 61 mtx_set_owner (mtxp, self, flags); in __pthread_mutex_lock() 67 self = _pthread_self (); in __pthread_mutex_lock() 68 ROBUST_LOCK (self, mtxp, lll_robust_lock, flags); in __pthread_mutex_lock()
|
A D | pt-mutex-trylock.c | 29 struct __pthread *self; in __pthread_mutex_trylock() local 41 self = _pthread_self (); in __pthread_mutex_trylock() 42 if (mtx_owned_p (mtxp, self, mtxp->__flags)) in __pthread_mutex_trylock() 52 mtx_set_owner (mtxp, self, mtxp->__flags); in __pthread_mutex_trylock() 61 self = _pthread_self (); in __pthread_mutex_trylock() 63 mtx_set_owner (mtxp, self, mtxp->__flags); in __pthread_mutex_trylock() 71 self = _pthread_self (); in __pthread_mutex_trylock() 72 ROBUST_LOCK (self, mtxp, lll_robust_trylock); in __pthread_mutex_trylock()
|
A D | pt-mutex-timedlock.c | 31 struct __pthread *self; in __pthread_mutex_clocklock() local 41 self = _pthread_self (); in __pthread_mutex_clocklock() 42 if (mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_clocklock() 52 mtx_set_owner (mtxp, self, flags); in __pthread_mutex_clocklock() 59 self = _pthread_self (); in __pthread_mutex_clocklock() 60 if (mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_clocklock() 63 mtx_set_owner (mtxp, self, flags); in __pthread_mutex_clocklock() 70 self = _pthread_self (); in __pthread_mutex_clocklock() 71 ROBUST_LOCK (self, mtxp, lll_robust_abstimed_lock, tsp, flags, clockid); in __pthread_mutex_clocklock()
|
A D | pt-mutex-unlock.c | 29 struct __pthread *self; in __pthread_mutex_unlock() local 39 self = _pthread_self (); in __pthread_mutex_unlock() 40 if (!mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_unlock() 51 self = _pthread_self (); in __pthread_mutex_unlock() 52 if (!mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_unlock() 65 self = _pthread_self (); in __pthread_mutex_unlock() 68 else if (mtxp->__owner_id != self->thread in __pthread_mutex_unlock()
|
A D | pt-hurd-cond-timedwait.c | 47 struct __pthread *self = _pthread_self (); in __pthread_hurd_cond_timedwait_internal() local 62 unblock = self->prevp != NULL; in __pthread_hurd_cond_timedwait_internal() 64 __pthread_dequeue (self); in __pthread_hurd_cond_timedwait_internal() 68 __pthread_wakeup (self); in __pthread_hurd_cond_timedwait_internal() 93 __pthread_enqueue (&cond->__queue, self); in __pthread_hurd_cond_timedwait_internal() 120 err = __pthread_timedblock (self, abstime, clock_id); in __pthread_hurd_cond_timedwait_internal() 124 __pthread_block (self); in __pthread_hurd_cond_timedwait_internal() 131 if (self->prevp == NULL) in __pthread_hurd_cond_timedwait_internal() 142 __pthread_dequeue (self); in __pthread_hurd_cond_timedwait_internal() 148 __pthread_block (self); in __pthread_hurd_cond_timedwait_internal()
|
A D | pt-mutex-transfer-np.c | 30 struct __pthread *self = _pthread_self (); in __pthread_mutex_transfer_np() local 35 else if (pt == self) in __pthread_mutex_transfer_np() 48 if (!mtx_owned_p (mtxp, self, flags)) in __pthread_mutex_transfer_np() 61 if (mtxp->__owner_id != self->thread in __pthread_mutex_transfer_np()
|
/sysdeps/alpha/ |
A D | machine-gmon.h | 19 #define _MCOUNT_DECL(from, self) \ argument 20 void __mcount (u_long from, u_long self)
|
/sysdeps/ia64/ |
A D | machine-gmon.h | 19 #define _MCOUNT_DECL(from, self) \ argument 20 void __mcount (u_long from, u_long self)
|
/sysdeps/hppa/ |
A D | machine-gmon.h | 21 #define _MCOUNT_DECL(from, self) \ argument 22 void _mcount (u_long from, u_long self)
|
/sysdeps/pthread/ |
A D | tst-eintr4.c | 33 pthread_t self = pthread_self (); in do_test() local 35 setup_eintr (SIGUSR1, &self); in do_test()
|
A D | tst-eintr3.c | 46 pthread_t self = pthread_self (); in do_test() local 48 setup_eintr (SIGUSR1, &self); in do_test()
|