Home
last modified time | relevance | path

Searched refs:robust_list (Results 1 - 25 of 44) sorted by relevance

12

/third_party/musl/src/thread/
H A 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 in __pthread_mutex_trylock_owner()
[all...]
H A 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()
H A Dpthread_create.c134 while ((rp=self->robust_list.head) && rp != &self->robust_list.head) { in __pthread_exit()
139 self->robust_list.pending = rp; in __pthread_exit()
140 self->robust_list.head = *rp; in __pthread_exit()
142 self->robust_list.pending = 0; in __pthread_exit()
169 if (self->robust_list.off) in __pthread_exit()
336 new->robust_list.head = &new->robust_list.head; in __pthread_create()
H A 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/
H A 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()
H 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()
H A 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()
H A 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/
H A Dset_robust_list01.c57 struct robust_list { struct
58 struct robust_list __user *next;
62 struct robust_list list;
64 struct robust_list __user *list_op_pending;
/third_party/ltp/include/lapi/
H A Dfutex.h73 struct robust_list { struct
74 struct robust_list *next;
89 struct robust_list list;
109 struct robust_list *list_op_pending;
/third_party/ltp/testcases/kernel/syscalls/get_robust_list/
H A Dget_robust_list01.c60 struct robust_list { struct
61 struct robust_list *next;
65 struct robust_list list;
67 struct robust_list *list_op_pending;
/third_party/musl/src/thread/liteos_a/
H 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/
H A Dpthread_create.c275 while ((rp=self->robust_list.head) && rp != &self->robust_list.head) { in __pthread_exit()
280 self->robust_list.pending = rp; in __pthread_exit()
281 self->robust_list.head = *rp; in __pthread_exit()
283 self->robust_list.pending = 0; in __pthread_exit()
310 if (self->robust_list.off) in __pthread_exit()
522 new->robust_list.head = &new->robust_list.head; in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
H A 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()
H A 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/linux/user/src/process/
H A D_Fork.c30 self->robust_list.off = 0; in _Fork()
31 self->robust_list.pending = 0; in _Fork()
/third_party/musl/porting/liteos_a/user/src/process/
H A D_Fork.c27 self->robust_list.off = 0; in _Fork()
28 self->robust_list.pending = 0; in _Fork()
/third_party/musl/src/process/
H A D_Fork.c28 self->robust_list.off = 0; in __post_Fork()
29 self->robust_list.pending = 0; in __post_Fork()
/third_party/musl/src/linux/liteos_a/
H 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/
H A 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/
H A 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/
H A 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/
H A Dpthread_create.c155 new->robust_list.head = &new->robust_list.head; in __pthread_create()
/third_party/musl/porting/linux/user/src/env/
H A D__init_tls.c25 td->robust_list.head = &td->robust_list.head; in __init_tp()
/third_party/musl/src/env/
H A D__init_tls.c45 td->robust_list.head = &td->robust_list.head; in __init_tp()

Completed in 9 milliseconds

12