Home
last modified time | relevance | path

Searched refs:__pthread_self (Results 1 – 25 of 73) sorted by relevance

123

/third_party/musl/porting/liteos_m/user/arch/arm/
Dpthread_arch.h5 static inline pthread_t __pthread_self()
20 static inline pthread_t __pthread_self()
30 extern pthread_t __pthread_self();
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_cancel.c10 pthread_t self = __pthread_self(); in __cancel()
29 if ((st=(self=__pthread_self())->canceldisable) in __syscall_cp_c()
50 pthread_t self = __pthread_self(); in cancel_handler()
60 pthread_t self = __pthread_self(); in __testcancel()
Dpthread_self.c4 pthread_t __pthread_self() in __pthread_self() function
13 return __pthread_self(); in __pthread_self_internal()
Dpthread_create.c24 int tid = __pthread_self()->tid; in __tl_lock()
55 pthread_t self = __pthread_self(); in __pthread_exit()
168 struct pthread *self = __pthread_self(); in __do_cleanup_push()
175 __pthread_self()->cancelbuf = cb->__next; in __do_cleanup_pop()
248 self = __pthread_self(); in __pthread_create()
Dpthread_mutex_timedlock.c25 pthread_t self = __pthread_self(); in pthread_mutex_timedlock_pi()
77 && own == __pthread_self()->tid) in __pthread_mutex_timedlock()
/third_party/musl/src/thread/
Dpthread_cancel.c10 pthread_t self = __pthread_self(); in __cancel()
29 if ((st=(self=__pthread_self())->canceldisable) in __syscall_cp_c()
50 pthread_t self = __pthread_self(); in cancel_handler()
72 pthread_t self = __pthread_self(); in __testcancel()
Dpthread_key_create.c25 pthread_t self = __pthread_self(); in __pthread_key_create()
51 pthread_t self = __pthread_self(), td=self; in __pthread_key_delete()
71 pthread_t self = __pthread_self(); in __pthread_tsd_run_dtors()
Dpthread_create.c34 int tid = __pthread_self()->tid; in __tl_lock()
65 pthread_t self = __pthread_self(); in __pthread_exit()
182 struct pthread *self = __pthread_self(); in __do_cleanup_push()
189 __pthread_self()->cancelbuf = cb->__next; in __do_cleanup_pop()
255 self = __pthread_self(); in __pthread_create()
412 struct pthread *self = __pthread_self(); in __pthread_list_find()
Dsynccall.c22 if (__pthread_self()->tid != target_tid) return; in handler()
49 pthread_t self = __pthread_self(), td; in __synccall()
Dpthread_mutex_timedlock.c25 pthread_t self = __pthread_self(); in pthread_mutex_timedlock_pi()
79 && own == __pthread_self()->tid) in __pthread_mutex_timedlock()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_cancel.c11 pthread_t self = __pthread_self(); in __cancel()
30 if ((st=(self=__pthread_self())->canceldisable) in __syscall_cp_c()
51 pthread_t self = __pthread_self(); in cancel_handler()
73 pthread_t self = __pthread_self(); in __testcancel()
Dpthread_create.c64 pthread_t self = __pthread_self(); in __pthread_reserve_signal_stack()
67 snprintf(name, ANON_STACK_NAME_SIZE, "signal_stack:%d", __pthread_self()->tid); in __pthread_reserve_signal_stack()
74 pthread_t self = __pthread_self(); in __pthread_release_signal_stack()
109 int tid = __pthread_self()->tid; in __tl_lock()
140 pthread_t self = __pthread_self(); in __pthread_exit()
262 struct pthread *self = __pthread_self(); in __do_cleanup_push()
269 __pthread_self()->cancelbuf = cb->__next; in __do_cleanup_pop()
344 self = __pthread_self(); in __pthread_create()
512 struct pthread *self = __pthread_self(); in __pthread_list_find()
Dpthread_mutex_timedlock.c41 pthread_t self = __pthread_self(); in pthread_mutex_timedlock_pi()
95 && own == __pthread_self()->tid) in __pthread_mutex_timedlock_inner()
/third_party/musl/src/stdio/
Dftrylockfile.c8 for (f=__pthread_self()->stdio_locks; f; f=f->next_locked) in __do_orphaned_stdio_locks()
17 else __pthread_self()->stdio_locks = f->next_locked; in __unlist_locked_file()
32 pthread_t self = __pthread_self(); in ftrylockfile()
/third_party/musl/src/ldso/
Ddlerror.c16 pthread_t self = __pthread_self(); in dlerror()
32 pthread_t self = __pthread_self(); in __dl_thread_cleanup()
57 pthread_t self = __pthread_self(); in __dl_vseterr()
/third_party/musl/porting/linux/user/src/ldso/
Ddlerror.c16 pthread_t self = __pthread_self(); in dlerror()
32 pthread_t self = __pthread_self(); in __dl_thread_cleanup()
57 pthread_t self = __pthread_self(); in __dl_vseterr()
/third_party/musl/src/network/
Dh_errno.c9 if (!__pthread_self()->stack) return &h_errno; in __h_errno_location()
10 return &__pthread_self()->h_errno_val; in __h_errno_location()
/third_party/musl/porting/liteos_m/user/src/thread/
Dpthread_self.c5 _LIBC_TEXT_SECTION pthread_t __pthread_self() in __pthread_self() function
12 weak_alias(__pthread_self, pthread_self);
/third_party/musl/src/internal/
Dlocale_impl.h40 #define CURRENT_LOCALE (__pthread_self()->locale)
42 #define CURRENT_UTF8 (!!__pthread_self()->locale->cat[LC_CTYPE])
Dpthread_impl.h119 #define __pthread_self() ((pthread_t)(__get_tp() - sizeof(struct __pthread) - TP_OFFSET)) macro
122 #define __pthread_self() ((pthread_t)__get_tp()) macro
/third_party/musl/porting/linux/user/src/internal/
Dlocale_impl.h43 #define CURRENT_LOCALE (__pthread_self()->locale)
45 #define CURRENT_UTF8 (!!__pthread_self()->locale->cat[LC_CTYPE])
/third_party/musl/porting/linux/user/src/linux/
Dclone.c24 pthread_t self = __pthread_self(); in __start_child()
52 pthread_t self = __pthread_self(); in clone()
/third_party/musl/src/time/
Dtimer_create.c26 pthread_t self = __pthread_self(); in cleanup_fromsig()
38 pthread_t self = __pthread_self(); in start()
/third_party/musl/porting/linux/user/src/time/
Dtimer_create.c26 pthread_t self = __pthread_self(); in cleanup_fromsig()
40 pthread_t self = __pthread_self(); in start()
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dpthread_impl.h60 #define __pthread_self() ((pthread_t)(__get_tp() - sizeof(struct __pthread) - TP_OFFSET)) macro
63 #define __pthread_self() ((pthread_t)__get_tp()) macro

123