Home
last modified time | relevance | path

Searched refs:max_jobs (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Du_queue.c286 assert(queue->num_queued >= 0 && queue->num_queued <= queue->max_jobs); in util_queue_thread_func()
300 queue->read_idx = (queue->read_idx + 1) % queue->max_jobs; in util_queue_thread_func()
321 i = (i + 1) % queue->max_jobs) { in util_queue_thread_func()
410 unsigned max_jobs, in util_queue_init() argument
449 queue->max_jobs = max_jobs; in util_queue_init()
459 calloc(max_jobs, sizeof(struct util_queue_job)); in util_queue_init()
582 assert(queue->num_queued >= 0 && queue->num_queued <= queue->max_jobs); in util_queue_add_job_locked()
592 if (queue->num_queued == queue->max_jobs) { in util_queue_add_job_locked()
598 unsigned new_max_jobs = queue->max_jobs + 8; in util_queue_add_job_locked()
610 i = (i + 1) % queue->max_jobs; in util_queue_add_job_locked()
[all …]
Du_queue.h216 int max_jobs; member
228 unsigned max_jobs,