Lines Matching defs:index
270 unsigned index = READ_ONCE(bo->index);
272 if (index < batch->exec_count && batch->exec_bos[index] == bo)
273 return index;
276 for (index = 0; index < batch->exec_count; index++) {
277 if (batch->exec_bos[index] == bo)
278 return index;
286 int index = find_exec_index(batch, bo);
288 if (index == -1)
290 return &batch->validation_list[index];
368 bo->index = batch->exec_count;
530 assert(batch->command.bo->index == 0);
668 new_bo->index = bo->index;
674 assert(bo->index < batch->exec_count);
675 assert(batch->exec_bos[bo->index] == bo);
678 batch->validation_list[bo->index].handle = new_bo->gem_handle;
856 const unsigned state_index = batch->state.bo->index;
901 bo->index = -1;