Lines Matching defs:currentWord

1876 	register u_int32_t	currentWord;	//	Pointer to current word within bitmap block
1932 currentWord = SWAP_BE32 (*buffer);
1941 if ((currentWord & bitMask) == 0)
1975 currentWord = SWAP_BE32 (*buffer);
2006 while ((currentWord & bitMask) == 0) {
2008 currentWord |= bitMask;
2018 *buffer = SWAP_BE32 (currentWord); // update value in bitmap
2054 currentWord = SWAP_BE32 (*buffer);
2057 *buffer = SWAP_BE32 (currentWord); // update the last change
2261 register u_int32_t *currentWord; // Pointer to current word within bitmap block
2285 // Initialize currentWord, and wordsLeft.
2294 currentWord = buffer + wordIndexInBlock;
2318 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
2322 *currentWord |= SWAP_BE32 (bitMask); // set the bits in the bitmap
2325 ++currentWord; // move to next word
2351 // Readjust currentWord and wordsLeft
2352 currentWord = buffer;
2356 if (*currentWord != 0) {
2360 *currentWord = SWAP_BE32 (bitMask);
2363 ++currentWord; // move to next word
2389 // Readjust currentWord and wordsLeft
2390 currentWord = buffer;
2394 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
2398 *currentWord |= SWAP_BE32 (bitMask); // set the bits in the bitmap
2400 // No need to update currentWord or wordsLeft
2680 u_int32_t *currentWord; // Pointer to current word within bitmap block
2734 currentWord = buffer + wordIndexInBlock;
2738 // Move currentWord/bitMask back by one bit
2741 if (--currentWord < buffer)
2746 if (*currentWord & SWAP_BE32(bitMask))
2758 currentWord = buffer + wordIndexInBlock;
2769 (*currentWord & SWAP_BE32 (bitMask)) != SWAP_BE32 (bitMask)) {
2772 *currentWord &= SWAP_BE32 (~bitMask); // clear the bits in the bitmap
2775 ++currentWord; // move to next word
2800 // Readjust currentWord and wordsLeft
2801 currentWord = buffer;
2805 (*currentWord != SWAP_BE32 (kAllBitsSetInWord))) {
2808 *currentWord = 0; // clear the entire word
2811 ++currentWord; // move to next word
2837 // Readjust currentWord and wordsLeft
2838 currentWord = buffer;
2842 (*currentWord & SWAP_BE32 (bitMask)) != SWAP_BE32 (bitMask)) {
2845 *currentWord &= SWAP_BE32 (~bitMask); // clear the bits in the bitmap
2847 // No need to update currentWord or wordsLeft
2856 currentWord = buffer + wordIndexInBlock;
2860 // Move currentWord/bitMask/wordsLeft forward one bit
2865 ++currentWord;
2869 if (*currentWord & SWAP_BE32(bitMask))
3049 register u_int32_t *currentWord;
3105 currentWord = buffer + wordsLeft;
3122 tempWord = SWAP_BE32(*currentWord); // Fetch the current word only once
3135 ++currentWord;
3164 currentWord = buffer;
3169 if ((tempWord = SWAP_BE32(*currentWord)) + 1) // non-zero if any bits were clear
3184 ++currentWord;
3208 tempWord = SWAP_BE32(*currentWord); // Fetch the current word only once
3221 ++currentWord;
3252 currentWord = buffer;
3257 if ((tempWord = SWAP_BE32(*currentWord)) != 0)
3272 ++currentWord;
3585 u_int32_t *currentWord; // Pointer to current word within bitmap block
3608 * Initialize currentWord, and wordsLeft.
3617 currentWord = buffer + wordIndexInBlock;
3632 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
3637 blockCount += num_bits_set(*currentWord & SWAP_BE32 (bitMask));
3640 ++currentWord;
3659 /* Readjust currentWord and wordsLeft. */
3660 currentWord = buffer;
3663 if (*currentWord != 0) {
3668 blockCount += num_bits_set(*currentWord);
3671 ++currentWord;
3691 currentWord = buffer;
3694 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
3699 blockCount += num_bits_set(*currentWord & SWAP_BE32 (bitMask));
3855 u_int32_t currentWord = SWAP_BE32(buffer[wordIndexInBlock]);
3861 u_int32_t is_allocated = currentWord & (1 << (kBitsWithinWordMask - curBit));
3866 curAllocBlock, curBit, currentWord, is_allocated, res);
3935 u_int32_t *currentWord; // Pointer to current word within bitmap block
3963 * Initialize currentWord, and wordsLeft.
3971 currentWord = buffer + wordIndexInBlock;
3983 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
3988 ++currentWord;