Lines Matching refs:buffer

75 					Issues DKIOCUNMAPs to the device as it fills the internal volume buffer when iterating
144 contains that allocation block into a caller-supplied buffer.
147 Release a bitmap block back into the buffer cache.
245 * and we don't want to overwhelm the kernel debug buffer. If you
291 u_int32_t **buffer,
1255 u_int8_t *buffer;
1259 buffer = NULL;
1282 buffer = (u_int8_t *)currCache;
1285 byte = *buffer++;
1334 ; buffer -- Pointer to bitmap block corresonding to "block"
1341 u_int32_t **buffer,
1375 *buffer = NULL;
1378 *buffer = (u_int32_t *)buf_dataptr(bp);
1442 * them to be purged out of the buffer cache ASAP, so we'll release them differently
1454 /* Mark the buffer invalid if it isn't locked, then release it */
1879 u_int32_t *buffer = NULL;
1918 buffer = currCache;
1930 buffer += wordIndexInBlock;
1932 currentWord = SWAP_BE32 (*buffer);
1950 ++buffer;
1954 buffer = currCache = NULL;
1971 buffer = currCache;
1975 currentWord = SWAP_BE32 (*buffer);
2018 *buffer = SWAP_BE32 (currentWord); // update value in bitmap
2022 ++buffer;
2026 buffer = currCache = NULL;
2044 buffer = currCache;
2054 currentWord = SWAP_BE32 (*buffer);
2057 *buffer = SWAP_BE32 (currentWord); // update the last change
2266 u_int32_t *buffer = NULL;
2282 err = ReadBitmapBlock(vcb, startingBlock, &buffer, &blockRef);
2294 currentWord = buffer + wordIndexInBlock;
2339 buffer = NULL;
2343 err = ReadBitmapBlock(vcb, startingBlock, &buffer, &blockRef);
2352 currentWord = buffer;
2377 buffer = NULL;
2381 err = ReadBitmapBlock(vcb, startingBlock, &buffer, &blockRef);
2390 currentWord = buffer;
2405 if (buffer)
2685 u_int32_t *buffer = NULL;
2715 err = ReadBitmapBlock(vcb, startingBlock, &buffer, &blockRef);
2734 currentWord = buffer + wordIndexInBlock;
2741 if (--currentWord < buffer)
2758 currentWord = buffer + wordIndexInBlock;
2788 buffer = NULL;
2792 err = ReadBitmapBlock(vcb, startingBlock, &buffer, &blockRef);
2801 currentWord = buffer;
2825 buffer = NULL;
2829 err = ReadBitmapBlock(vcb, startingBlock, &buffer, &blockRef);
2838 currentWord = buffer;
2856 currentWord = buffer + wordIndexInBlock;
2876 if (buffer)
3048 u_int32_t *buffer = NULL;
3096 err = ReadBitmapBlock(vcb, currentBlock, &buffer, &blockRef);
3100 // Figure out where currentBlock is within the buffer.
3104 wordsLeft = (currentBlock / kBitsPerWord) & (wordsPerBlock-1); // Current index into buffer
3105 currentWord = buffer + wordsLeft;
3147 buffer = NULL;
3161 err = ReadBitmapBlock(vcb, currentBlock, &buffer, &blockRef);
3164 currentWord = buffer;
3233 buffer = NULL;
3249 err = ReadBitmapBlock(vcb, currentBlock, &buffer, &blockRef);
3252 currentWord = buffer;
3349 if (buffer)
3590 u_int32_t *buffer = NULL;
3603 error = ReadBitmapBlock(hfsmp, startingBlock, &buffer, &blockRef);
3617 currentWord = buffer + wordIndexInBlock;
3652 buffer = NULL;
3656 error = ReadBitmapBlock(hfsmp, startingBlock, &buffer, &blockRef);
3660 currentWord = buffer;
3684 buffer = NULL;
3688 error = ReadBitmapBlock(hfsmp, startingBlock, &buffer, &blockRef);
3691 currentWord = buffer;
3703 if (buffer) {
3830 u_int32_t *buffer = NULL;
3842 error = ReadBitmapBlock(hfsmp, startbit, &buffer, (uintptr_t*)&blockRef);
3855 u_int32_t currentWord = SWAP_BE32(buffer[wordIndexInBlock]);
3863 u_int32_t res = hfs_isallocated_scan (hfsmp, curAllocBlock, buffer);
3943 u_int32_t *buffer = NULL;
3950 /* just use passed-in buffer if avail. */
3951 buffer = bp_buf;
3957 error = ReadBitmapBlock(hfsmp, startingBlock, &buffer, &blockRef);
3971 currentWord = buffer + wordIndexInBlock;
3992 if (buffer) {