Lines Matching refs:cmdp
30 setxid_error (struct xid_command *cmdp, int error) in setxid_error() argument
34 int olderror = cmdp->error; in setxid_error()
46 while (atomic_compare_and_exchange_bool_acq (&cmdp->error, error, -1)); in setxid_error()
97 setxid_mark_thread (struct xid_command *cmdp, struct pthread *t) in libc_hidden_def()
134 setxid_unmark_thread (struct xid_command *cmdp, struct pthread *t) in setxid_unmark_thread() argument
154 setxid_signal_thread (struct xid_command *cmdp, struct pthread *t) in setxid_signal_thread() argument
166 atomic_increment (&cmdp->cntr); in setxid_signal_thread()
175 __nptl_setxid (struct xid_command *cmdp) in __nptl_setxid() argument
181 xidcmd = cmdp; in __nptl_setxid()
182 cmdp->cntr = 0; in __nptl_setxid()
183 cmdp->error = -1; in __nptl_setxid()
195 setxid_mark_thread (cmdp, t); in __nptl_setxid()
205 setxid_mark_thread (cmdp, t); in __nptl_setxid()
221 signalled += setxid_signal_thread (cmdp, t); in __nptl_setxid()
230 signalled += setxid_signal_thread (cmdp, t); in __nptl_setxid()
233 int cur = cmdp->cntr; in __nptl_setxid()
236 futex_wait_simple ((unsigned int *) &cmdp->cntr, cur, in __nptl_setxid()
238 cur = cmdp->cntr; in __nptl_setxid()
251 setxid_unmark_thread (cmdp, t); in __nptl_setxid()
260 setxid_unmark_thread (cmdp, t); in __nptl_setxid()
265 result = INTERNAL_SYSCALL_NCS (cmdp->syscall_no, 3, in __nptl_setxid()
266 cmdp->id[0], cmdp->id[1], cmdp->id[2]); in __nptl_setxid()
274 setxid_error (cmdp, error); in __nptl_setxid()