Lines Matching refs:pos
1061 uint32 pos = run.Start() % bitsPerBlock;
1068 for (; block < fBlocksPerGroup && length < run.Length(); block++, pos = 0) {
1072 if (pos >= cached.NumBlockBits()) {
1077 while (length < run.Length() && pos < cached.NumBlockBits()) {
1078 if (cached.IsUsed(pos) != allocated) {
1080 PRINT(("%s: block_run(%ld, %u, %u) is only partially allocated (pos = %ld, length = %ld)!\n",
1081 type, run.AllocationGroup(), run.Start(), run.Length(), pos, length));
1085 firstMissing = firstGroupBlock + pos + block * bitsPerBlock;
1092 firstGroupBlock + pos + block * bitsPerBlock - 1, allocated ? "not " : ""));
1099 uint32 offset = pos + block * bitsPerBlock;
1116 pos++;
1121 PRINT(("%s: block_run(%ld, %u, %u): blocks %Ld - %Ld are not allocated!\n", type, run.AllocationGroup(), run.Start(), run.Length(), firstMissing, firstGroupBlock + pos + block * bitsPerBlock - 1));
1123 FATAL(("%s: block_run(%ld, %u, %u): blocks %Ld - %Ld are already set!\n", type, run.AllocationGroup(), run.Start(), run.Length(), firstSet, firstGroupBlock + pos + block * bitsPerBlock - 1));