Home | History | Annotate | Download | only in kern

Lines Matching defs:futex_wait

62  *				futex(&lock, FUTEX_WAIT, v | 2, NULL, NULL, 0,
86 * For a simple implementation, futex(FUTEX_WAIT) could queue
89 * FUTEX_WAKE could just wake every FUTEX_WAIT in the system.
138 * -> futex_wait::fw_lock only one at a time
139 * futex_wait::fw_lock only one at a time
179 TAILQ_HEAD(, futex_wait) fx_queue;
182 LIST_HEAD(, futex_wait) fx_abortlist;
187 * struct futex_wait
193 struct futex_wait {
197 TAILQ_ENTRY(futex_wait) fw_entry; /* queue lock */
198 LIST_ENTRY(futex_wait) fw_abort; /* queue abortlock */
284 static void futex_wait_dequeue(struct futex_wait *, struct futex *);
376 struct futex_wait *fw, *fw_next;
785 * before futex_wait, and should be passed to futex_wait_fini when
789 futex_wait_init(struct futex_wait *fw, int bitset)
808 futex_wait_fini(struct futex_wait *fw)
820 * Put fw on the futex queue. Must be done before futex_wait.
825 futex_wait_enqueue(struct futex_wait *fw, struct futex *f)
841 * futex_wait until a futex_wait_enqueue. Caller must hold fw's
845 futex_wait_dequeue(struct futex_wait *fw, struct futex *f)
863 futex_wait_abort(struct futex_wait *fw)
923 * futex_wait(fw, deadline, clkid)
932 futex_wait(struct futex_wait *fw, const struct timespec *deadline,
1011 struct futex_wait *fw, *fw_next;
1206 * Implement futex(FUTEX_WAIT) and futex(FUTEX_WAIT_BITSET): If
1210 * For FUTEX_WAIT, bitset has all bits set and val3 is ignored.
1218 struct futex_wait wait, *fw = &wait;
1281 error = futex_wait(fw, deadline, clkid);
1677 case FUTEX_WAIT: {