Lines Matching refs:next

11  * The above copyright notice and this permission notice (including the next
282 if (batch->next + num_dwords * 4 > batch->end) {
290 void *p = batch->next;
292 batch->next += num_dwords * 4;
293 assert(batch->next <= batch->end);
304 assert(batch->next >= batch_location);
314 size = other->next - other->start;
317 if (batch->next + size > batch->end) {
325 assert(batch->next + size <= batch->end);
328 memcpy(batch->next, other->start, size);
330 offset = batch->next - batch->start;
338 batch->next += size;
430 batch->next = bbo->bo->map + bbo->length;
439 bbo->length = batch->next - batch->start;
449 bbo->length = batch->next - batch->start;
934 while (cmd_buffer->batch_bos.next != cmd_buffer->batch_bos.prev) {
978 * BATCH_BUFFER_START to chain to the next BO. We need to remove
987 cmd_buffer->batch_end = cmd_buffer->batch.next;
999 if ((cmd_buffer->batch.next - cmd_buffer->batch.start) & 4)
1010 const uint32_t length = cmd_buffer->batch.next - cmd_buffer->batch.start;
1020 if (cmd_buffer->batch_bos.next == cmd_buffer->batch_bos.prev) {
1025 cmd_buffer->batch.next - cmd_buffer->batch.start;
1044 } else if ((cmd_buffer->batch_bos.next == cmd_buffer->batch_bos.prev) &&
1121 uint32_t offset = primary->batch.next - primary->batch.start;
1169 primary->batch.next));
1482 * in-use by the GPU (from our context) again until the next execbuf2
1483 * happens. If the kernel decides to move it in the next execbuf2, it
1502 * won't be until the next execbuf2 call.
1933 .batch_len = device->can_chain_batches ? 0 : batch->next - batch->start,
2008 .batch_len = flush->batch.next - flush->batch.start,
2324 uint32_t next = n + 1;
2325 /* Can we chain the last buffer into the next one? */
2326 if (next < end &&
2327 anv_cmd_buffer_is_chainable(cmd_buffers[next]) &&
2329 (cmd_buffers[next]->perf_query_pool, perf_query_pool)) {
2333 cmd_buffers[next]->perf_query_pool;
2336 /* The next buffer cannot be chained, or we have reached the
2343 next - start, &cmd_buffers[start],
2344 next == end ? submit->signal_count : 0,
2345 next == end ? submit->signals : NULL,
2350 if (next < end) {
2351 start = next;
2430 uint32_t batch_size = align_u32(batch->next - batch->start, 8);