Home
last modified time | relevance | path

Searched refs:robust_list (Results 1 – 25 of 48) sorted by relevance

12

/third_party/musl/src/thread/
Dpthread_mutex_trylock.c40 if (!self->robust_list.off) { in __pthread_mutex_trylock_owner()
41 self->robust_list.off = (char*)&m->_m_lock-(char *)&m->_m_next; in __pthread_mutex_trylock_owner()
43 __syscall(SYS_set_robust_list, &self->robust_list, 3*sizeof(long)); in __pthread_mutex_trylock_owner()
47 self->robust_list.pending = &m->_m_next; in __pthread_mutex_trylock_owner()
52 self->robust_list.pending = 0; in __pthread_mutex_trylock_owner()
64 self->robust_list.pending = 0; in __pthread_mutex_trylock_owner()
69 volatile void *next = self->robust_list.head; in __pthread_mutex_trylock_owner()
71 m->_m_prev = &self->robust_list.head; in __pthread_mutex_trylock_owner()
72 if (next != &self->robust_list.head) *(volatile void *volatile *) in __pthread_mutex_trylock_owner()
74 self->robust_list.head = &m->_m_next; in __pthread_mutex_trylock_owner()
[all …]
Dpthread_create.c124 while ((rp=self->robust_list.head) && rp != &self->robust_list.head) { in __pthread_exit()
129 self->robust_list.pending = rp; in __pthread_exit()
130 self->robust_list.head = *rp; in __pthread_exit()
132 self->robust_list.pending = 0; in __pthread_exit()
159 if (self->robust_list.off) in __pthread_exit()
332 new->robust_list.head = &new->robust_list.head; in __pthread_create()
Dpthread_mutex_unlock.c30 self->robust_list.pending = &m->_m_next; in __pthread_mutex_unlock()
36 if (next != &self->robust_list.head) *(volatile void *volatile *) in __pthread_mutex_unlock()
55 self->robust_list.pending = 0; in __pthread_mutex_unlock()
Dpthread_mutex_timedlock.c29 if (!priv) self->robust_list.pending = &m->_m_next; in pthread_mutex_timedlock_pi()
33 if (e) self->robust_list.pending = 0; in pthread_mutex_timedlock_pi()
41 self->robust_list.pending = 0; in pthread_mutex_timedlock_pi()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_mutex_trylock.c23 if (!self->robust_list.off) { in __pthread_mutex_trylock_owner()
24 self->robust_list.off = (char*)&m->_m_lock-(char *)&m->_m_next; in __pthread_mutex_trylock_owner()
27 self->robust_list.pending = &m->_m_next; in __pthread_mutex_trylock_owner()
32 self->robust_list.pending = 0; in __pthread_mutex_trylock_owner()
36 volatile void *next = self->robust_list.head; in __pthread_mutex_trylock_owner()
38 m->_m_prev = &self->robust_list.head; in __pthread_mutex_trylock_owner()
39 if (next != &self->robust_list.head) *(volatile void *volatile *) in __pthread_mutex_trylock_owner()
41 self->robust_list.head = &m->_m_next; in __pthread_mutex_trylock_owner()
42 self->robust_list.pending = 0; in __pthread_mutex_trylock_owner()
Dpthread_create.c101 while ((rp=self->robust_list.head) && rp != &self->robust_list.head) { in __pthread_exit()
106 self->robust_list.pending = rp; in __pthread_exit()
107 self->robust_list.head = *rp; in __pthread_exit()
109 self->robust_list.pending = 0; in __pthread_exit()
136 if (self->robust_list.off) in __pthread_exit()
313 new->robust_list.head = &new->robust_list.head; in __pthread_create()
Dpthread_mutex_unlock.c24 self->robust_list.pending = &m->_m_next; in __pthread_mutex_unlock()
30 if (next != &self->robust_list.head) *(volatile void *volatile *) in __pthread_mutex_unlock()
37 self->robust_list.pending = 0; in __pthread_mutex_unlock()
Dpthread_mutex_timedlock.c28 if (!priv) self->robust_list.pending = &m->_m_next; in pthread_mutex_timedlock_pi()
32 if (e) self->robust_list.pending = 0; in pthread_mutex_timedlock_pi()
40 self->robust_list.pending = 0; in pthread_mutex_timedlock_pi()
/third_party/ltp/testcases/kernel/syscalls/set_robust_list/
Dset_robust_list01.c57 struct robust_list { struct
58 struct robust_list __user *next; argument
62 struct robust_list list;
64 struct robust_list __user *list_op_pending;
/third_party/ltp/include/lapi/
Dfutex.h73 struct robust_list { struct
74 struct robust_list *next; argument
89 struct robust_list list;
109 struct robust_list *list_op_pending;
/third_party/ltp/testcases/kernel/syscalls/get_robust_list/
Dget_robust_list01.c60 struct robust_list { struct
61 struct robust_list *next; argument
65 struct robust_list list;
67 struct robust_list *list_op_pending;
/third_party/musl/src/thread/liteos_a/
Dpthread_create.c101 while ((rp=self->robust_list.head) && rp != &self->robust_list.head) { in __pthread_exit()
106 self->robust_list.pending = rp; in __pthread_exit()
107 self->robust_list.head = *rp; in __pthread_exit()
109 self->robust_list.pending = 0; in __pthread_exit()
136 if (self->robust_list.off) in __pthread_exit()
313 new->robust_list.head = &new->robust_list.head; in __pthread_create()
/third_party/musl/src/thread/linux/
Dpthread_create.c213 while ((rp=self->robust_list.head) && rp != &self->robust_list.head) { in __pthread_exit()
218 self->robust_list.pending = rp; in __pthread_exit()
219 self->robust_list.head = *rp; in __pthread_exit()
221 self->robust_list.pending = 0; in __pthread_exit()
248 if (self->robust_list.off) in __pthread_exit()
458 new->robust_list.head = &new->robust_list.head; in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
Dpthread_create.c213 while ((rp=self->robust_list.head) && rp != &self->robust_list.head) { in __pthread_exit()
218 self->robust_list.pending = rp; in __pthread_exit()
219 self->robust_list.head = *rp; in __pthread_exit()
221 self->robust_list.pending = 0; in __pthread_exit()
248 if (self->robust_list.off) in __pthread_exit()
458 new->robust_list.head = &new->robust_list.head; in __pthread_create()
Dpthread_mutex_timedlock.c44 if (!priv) self->robust_list.pending = &m->_m_next; in pthread_mutex_timedlock_pi()
48 if (e) self->robust_list.pending = 0; in pthread_mutex_timedlock_pi()
56 self->robust_list.pending = 0; in pthread_mutex_timedlock_pi()
/third_party/musl/porting/liteos_a/user/src/process/
D_Fork.c27 self->robust_list.off = 0; in _Fork()
28 self->robust_list.pending = 0; in _Fork()
/third_party/musl/porting/linux/user/src/process/
D_Fork.c30 self->robust_list.off = 0; in _Fork()
31 self->robust_list.pending = 0; in _Fork()
/third_party/musl/src/process/
D_Fork.c36 self->robust_list.off = 0; in _Fork()
37 self->robust_list.pending = 0; in _Fork()
/third_party/musl/src/linux/liteos_a/
Dclone.c40 self->robust_list.off = 0; in __start_child()
41 self->robust_list.pending = 0; in __start_child()
/third_party/musl/porting/liteos_a/user/src/linux/
Dclone.c25 self->robust_list.off = 0; in __start_child()
26 self->robust_list.pending = 0; in __start_child()
/third_party/musl/porting/linux/user/src/linux/
Dclone.c40 self->robust_list.off = 0; in __start_child()
41 self->robust_list.pending = 0; in __start_child()
/third_party/musl/src/linux/linux/
Dclone.c55 self->robust_list.off = 0; in __start_child()
56 self->robust_list.pending = 0; in __start_child()
/third_party/musl/porting/liteos_m/user/src/thread/
Dpthread_create.c155 new->robust_list.head = &new->robust_list.head; in __pthread_create()
/third_party/musl/porting/linux/user/src/env/
D__init_tls.c25 td->robust_list.head = &td->robust_list.head; in __init_tp()
/third_party/musl/porting/liteos_a/user/src/env/
D__init_tls.c44 td->robust_list.head = &td->robust_list.head; in __init_tp()

12