Lines Matching refs:item_loc
222 int item_loc = 0;
225 while ((item_loc < cmdbuf->buffer_refs_count)
226 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf))
228 //while( (item_loc < cmdbuf->buffer_refs_count) && (cmdbuf->buffer_refs[item_loc] != buf) )
230 item_loc++;
232 if (item_loc == cmdbuf->buffer_refs_count) {
234 if (item_loc >= cmdbuf->buffer_refs_allocated) {
247 cmdbuf->buffer_refs[item_loc] = buf;
251 return item_loc;