Lines Matching refs:mask
526 * block 5 (ie: the 6th block) our mask will be 0xf7 after
527 * the free. Things go left to right that's why the mask is 0x80
1054 new_cpu_mask = ncpus - 1; /* create the cpu mask */
1263 ulong_t mask;
1269 for (mask = *freemask; mask != 0; mask >>= 1) {
1270 if (mask & 0x1) {
1292 ulong_t mask;
1572 mask = *freemask;
1574 if (!(mask & 0xffffffff)) { i += 32; mask >>= 32; }
1576 if (!(mask & 0xffff)) { i += 16; mask >>= 16; }
1577 if (!(mask & 0xff)) { i += 8; mask >>= 8; }
1578 if (!(mask & 0xf)) { i += 4; mask >>= 4; }
1579 if (!(mask & 0x3)) { i += 2; mask >>= 2; }
1580 if (!(mask & 0x1)) { i += 1; /* mask is unused */ }
1582 /* load the value of reinit() before changing the free mask */
1637 * Now you have the offset in n, you've changed the free mask