Searched refs:availToWrite (Results 1 – 2 of 2) sorted by relevance
61 uint32_t availToWrite = mFrameCountP2; in write() local62 if (availToWrite > count) { in write()63 availToWrite = count; in write()67 if (part1 > availToWrite) { in write()68 part1 = availToWrite; in write()72 uint32_t part2 = availToWrite - part1; in write()74 mLocalRear += availToWrite; in write()
185 ssize_t availToWrite = obtain(iovec, count, timeout); in write() local186 if (availToWrite > 0) { in write()194 release(availToWrite); in write()196 return availToWrite; in write()205 size_t availToWrite; in obtain() local217 availToWrite = 0; in obtain()220 availToWrite = mEffectiveFrames > (uint32_t) filled ? in obtain()223 if (count == 0 || availToWrite > 0 || timeout == NULL || in obtain()284 availToWrite = 0; in obtain()286 availToWrite = mEffectiveFrames; in obtain()[all …]