Searched refs:allocated_buffers (Results 1 – 2 of 2) sorted by relevance
874 unsigned int num_buffers, allocated_buffers, num_planes = 0; in __reqbufs() local932 allocated_buffers = __vb2_queue_alloc(q, req->memory, num_buffers, num_planes); in __reqbufs()933 if (allocated_buffers == 0) { in __reqbufs()942 if (allocated_buffers < q->min_buffers_needed) in __reqbufs()948 if (!ret && allocated_buffers < num_buffers) { in __reqbufs()949 num_buffers = allocated_buffers; in __reqbufs()954 if (!ret && allocated_buffers < num_buffers) in __reqbufs()964 q->num_buffers = allocated_buffers; in __reqbufs()971 __vb2_queue_free(q, allocated_buffers); in __reqbufs()981 req->count = allocated_buffers; in __reqbufs()[all …]
313 struct rb_root allocated_buffers; member502 struct rb_node **p = &proc->allocated_buffers.rb_node; in binder_insert_allocated_buffer()521 rb_insert_color(&new_buffer->rb_node, &proc->allocated_buffers); in binder_insert_allocated_buffer()527 struct rb_node *n = proc->allocated_buffers.rb_node; in binder_buffer_lookup()843 rb_erase(&buffer->rb_node, &proc->allocated_buffers); in binder_free_buf()3116 while ((n = rb_first(&proc->allocated_buffers))) { in binder_deferred_release()3384 for (n = rb_first(&proc->allocated_buffers); n != NULL; n = rb_next(n)) in print_binder_proc()3516 for (n = rb_first(&proc->allocated_buffers); n != NULL; n = rb_next(n)) in print_binder_proc_stats()