Lines Matching defs:wx
55 index_t wx; /* word index in map */
64 for (wx = 0; wx <= maxword; wx++)
65 if (bitmap[wx] != ~0)
68 if (wx <= maxword) {
77 maxbit = wx == maxword ? nbits & BT_ULMASK : BT_NBIPUL - 1;
78 word = bitmap[wx];
82 return (wx << BT_ULSHIFT | bx);
92 * the word specified by wx.
95 bt_gethighbit(ulong_t *mapp, int wx)
99 while ((word = mapp[wx]) == 0) {
100 wx--;
101 if (wx < 0) {
105 return (wx << BT_ULSHIFT | (highbit(word) - 1));