Searched refs:availId (Results 1 – 3 of 3) sorted by relevance
4681 int availId = 0; in registerBuffer() local4682 for( ; availId < kMaxBufs && mBufMap[availId] != kBufIDFree; ++availId); in registerBuffer()4683 if (availId >= kMaxBufs) { in registerBuffer()4688 mBufMap[availId] = bufferId; in registerBuffer()4691 return availId; in registerBuffer()
7155 int availId = 0; in registerBuffer() local7156 for( ; availId < kMaxBufs && mBufMap[availId] != kBufIDFree; ++availId); in registerBuffer()7157 if (availId >= kMaxBufs) { in registerBuffer()7162 mBufMap[availId] = bufferId; in registerBuffer()7165 return availId; in registerBuffer()
7609 int availId = 0; in registerBuffer() local7610 for( ; availId < kMaxBufs && mBufMap[availId] != kBufIDFree; ++availId); in registerBuffer()7611 if (availId >= kMaxBufs) { in registerBuffer()7616 mBufMap[availId] = bufferId; in registerBuffer()7619 return availId; in registerBuffer()