Lines Matching refs:item_loc
285 int item_loc = 0;
288 while ((item_loc < cmdbuf->buffer_refs_count)
289 && (wsbmKBufHandle(wsbmKBuf(cmdbuf->buffer_refs[item_loc]->drm_buf))
291 //while( (item_loc < cmdbuf->buffer_refs_count) && (cmdbuf->buffer_refs[item_loc] != buf) )
293 item_loc++;
295 if (item_loc == cmdbuf->buffer_refs_count) {
297 if (item_loc >= cmdbuf->buffer_refs_allocated) {
310 cmdbuf->buffer_refs[item_loc] = buf;
314 return item_loc;