Lines Matching defs:word
55 index_t wx; /* word index in map */
58 * Look for a word with a bit off.
70 * Found a word with a bit off. Now find the bit in the word.
72 index_t bx; /* bit index in word */
74 ulong_t word;
78 word = bitmap[wx];
81 if (!(word & bit)) {
92 * the word specified by wx.
97 ulong_t word;
99 while ((word = mapp[wx]) == 0) {
105 return (wx << BT_ULSHIFT | (highbit(word) - 1));
167 * Neither start nor stop is required to align with word boundaries.
174 ulong_t word;
190 word = map[counter];
194 * Since the start is not aligned on word boundary, we
196 * operating on the first bitmap word.
198 word = word & (BT_ULMAXMASK << partial_start);
202 * Locate a word from the map array with one of the bits set.
205 while ((word == 0) && (counter < limit)) {
206 word = map[++counter];
216 * Take care the partial word by patch the high order
218 * the last word of the bitmap is not aligned.
222 word = word & (~(BT_ULMAXMASK << partial_stop + 1));
226 * Examine the word.
228 if (word == 0) {
231 return ((counter << BT_ULSHIFT) | (lowbit(word) - 1));