Searched refs:availId (Results 1 – 2 of 2) sorted by relevance
7144 int availId = 0; in registerBuffer() local7145 for( ; availId < kMaxBufs && mBufMap[availId] != kBufIDFree; ++availId); in registerBuffer()7146 if (availId >= kMaxBufs) { in registerBuffer()7151 mBufMap[availId] = bufferId; in registerBuffer()7154 return availId; in registerBuffer()
7900 int availId = 0; in registerBuffer() local7901 for( ; availId < kMaxBufs && mBufMap[availId] != kBufIDFree; ++availId); in registerBuffer()7902 if (availId >= kMaxBufs) { in registerBuffer()7907 mBufMap[availId] = bufferId; in registerBuffer()7910 return availId; in registerBuffer()