Lines Matching refs:futex_queue

98 struct futex_queue;
107 struct futex_queue { struct
121 struct futex_queue fc_waiters; argument
147 struct futex_queue fl_writers;
149 struct futex_queue fl_readers;
165 struct futex_queue * fw_queue;
172 struct futex_queue fw_donated;
194 static unsigned int futex_queue_count(const struct futex_queue *);
195 static void futex_queue_init(struct futex_queue *);
196 static void futex_queue_requeue(struct futex_queue *, struct futex_queue *,
198 static int futex_queue_sleep(struct futex_queue *, struct futex_lock *,
201 static cloudabi_tid_t futex_queue_tid_best(const struct futex_queue *);
202 static void futex_queue_wake_up_all(struct futex_queue *);
203 static void futex_queue_wake_up_best(struct futex_queue *);
204 static void futex_queue_wake_up_donate(struct futex_queue *, unsigned int);
711 struct futex_queue *donated) in futex_lock_wrlock()
754 futex_queue_tid_best(const struct futex_queue *fq) in futex_queue_tid_best()
761 futex_queue_count(const struct futex_queue *fq) in futex_queue_count()
768 futex_queue_init(struct futex_queue *fq) in futex_queue_init()
811 futex_queue_sleep(struct futex_queue *fq, struct futex_lock *fl, in futex_queue_sleep()
880 futex_queue_requeue(struct futex_queue *fqfrom, struct futex_queue *fqto, in futex_queue_requeue()
899 futex_queue_wake_up_all(struct futex_queue *fq) in futex_queue_wake_up_all()
918 futex_queue_wake_up_best(struct futex_queue *fq) in futex_queue_wake_up_best()
932 futex_queue_wake_up_donate(struct futex_queue *fq, unsigned int nwaiters) in futex_queue_wake_up_donate()
1076 struct futex_queue fq; in cloudabi_futex_lock_wrlock()