Lines Matching refs:bufferOffset
448 uint32_t operation, uint32_t bufferOffset,
463 err = poller->startIO(operation, bufferOffset, deviceOffset + vars->block0, length, completion);
577 vars->bufferOffset = 0;
799 bytes = vars->buffer + vars->bufferOffset;
802 copy = vars->bufferLimit - vars->bufferOffset;
810 bcopy(bytes, vars->buffer + vars->bufferHalf + vars->bufferOffset, copy);
814 bzero(vars->buffer + vars->bufferHalf + vars->bufferOffset, copy);
817 vars->bufferOffset += copy;
820 if (flush && vars->bufferOffset)
822 uint64_t offset = (vars->position - vars->bufferOffset
824 uint32_t length = (vars->bufferOffset);
863 vars->extentRemaining -= vars->bufferOffset;
877 vars->bufferOffset = 0;
903 copy = vars->bufferLimit - vars->bufferOffset;
909 bcopy(vars->buffer + vars->bufferHalf + vars->bufferOffset, bytes, copy);
913 vars->bufferOffset += copy;
916 if (vars->bufferOffset == vars->bufferLimit)
963 vars->bufferOffset = 0;
2298 vars->fileVars->bufferOffset = vars->fileVars->bufferLimit;
2301 vars->fileVars->bufferOffset = vars->fileVars->bufferLimit;