Searched refs:modHead (Results 1 – 1 of 1) sorted by relevance
25 size_t modHead = head & (fTotalSize - 1); in getAllocationOffset() local28 bool full = (head != tail && modHead == modTail); in getAllocationOffset()35 if (modHead >= modTail) { in getAllocationOffset()37 if (fTotalSize - modHead < size) { in getAllocationOffset()44 head += fTotalSize - modHead; in getAllocationOffset()45 modHead = 0; in getAllocationOffset()48 } else if (modTail - modHead < size) { in getAllocationOffset()54 return modHead; in getAllocationOffset()