Lines Matching defs:position

79 - BootX copies the "__HIB" section to its correct position in memory, quiesces and calls its entry
856 IOPolledFileSeek(IOPolledFileIOVars * vars, uint64_t position)
862 vars->position = position;
864 while (position >= extentMap->length)
866 position -= extentMap->length;
871 vars->extentRemaining = extentMap->length - position;
872 vars->extentPosition = vars->position - position;
896 size = vars->position & (vars->blockSize - 1);
920 vars->position += copy;
924 uint64_t offset = (vars->position - vars->bufferOffset
930 && (vars->position > vars->encryptStart)
931 && ((vars->position - length) < vars->encryptEnd))
936 encryptLen = vars->position - vars->encryptStart;
940 if (vars->position > vars->encryptEnd)
941 encryptLen -= (vars->position - vars->encryptEnd);
971 if (vars->position & (vars->blockSize - 1)) HIBLOG("misaligned file pos %qx\n", vars->position);
984 vars->extentPosition = vars->position;
1030 // vars->position += copy;
1032 if ((vars->bufferOffset == vars->bufferLimit) && (vars->position < vars->readEnd))
1043 if (vars->position & (vars->blockSize - 1)) HIBLOG("misaligned file pos %qx\n", vars->position);
1045 vars->position += vars->lastRead;
1053 vars->extentPosition = vars->position;
1063 uint64_t offset = (vars->position
1069 if ((length + vars->position) > vars->readEnd)
1070 length = vars->readEnd - vars->position;
2254 vars->fileVars->encryptStart = (vars->fileVars->position & ~(AES_BLOCK_SIZE - 1));
2372 pageCount, vars->fileVars->position);
2389 vars->fileVars->encryptStart = (vars->fileVars->position & ~(((uint64_t)AES_BLOCK_SIZE) - 1));
2524 vars->fileVars->encryptEnd = ((vars->fileVars->position + 511) & ~511ULL);
2543 image1Size = vars->fileVars->position;
2553 header->imageSize = vars->fileVars->position;