Home | History | Annotate | Download | only in kern

Lines Matching defs:bitset

781  * futex_wait_init(fw, bitset)
789 futex_wait_init(struct futex_wait *fw, int bitset)
792 KASSERT(bitset);
797 fw->fw_bitset = bitset;
1000 * futex_wake(f, nwake, f2, nrequeue, bitset)
1002 * Wake up to nwake waiters on f matching bitset; then, if f2 is
1004 * bitset to f2. Return the number of waiters actually woken or
1009 unsigned nrequeue, int bitset)
1020 if ((fw->fw_bitset & bitset) == 0)
1049 if ((fw->fw_bitset & bitset) == 0)
1203 * futex_func_wait(uaddr, cmpval@val, bitset@val3, timeout, clkid, clkflags,
1208 * bitset. But if *uaddr != cmpval, fail with EAGAIN.
1210 * For FUTEX_WAIT, bitset has all bits set and val3 is ignored.
1213 futex_func_wait(bool shared, int *uaddr, int cmpval, int bitset,
1227 if (bitset == 0)
1252 futex_wait_init(fw, bitset);
1295 * futex_func_wake(uaddr, nwake@val, bitset@val3, retval)
1299 * bitset.
1303 * For FUTEX_WAKE, bitset has all bits set and val3 is ignored.
1306 futex_func_wake(bool shared, int *uaddr, int nwake, int bitset,
1333 nwoken = futex_wake(f, nwake, NULL, /*nrequeue*/0, bitset);
1679 const int bitset = FUTEX_BITSET_MATCH_ANY;
1681 return futex_func_wait(shared, uaddr, cmpval, bitset, timeout,
1686 const int bitset = FUTEX_BITSET_MATCH_ANY;
1688 return futex_func_wake(shared, uaddr, nwake, bitset, retval);
1692 const int bitset = val3;
1694 return futex_func_wake(shared, uaddr, nwake, bitset, retval);
1707 const int bitset = val3;
1709 return futex_func_wait(shared, uaddr, cmpval, bitset, timeout,