Searched refs:allocated_buffers (Results 1 – 3 of 3) sorted by relevance
104 struct rb_node **p = &alloc->allocated_buffers.rb_node; in binder_insert_allocated_buffer_locked()123 rb_insert_color(&new_buffer->rb_node, &alloc->allocated_buffers); in binder_insert_allocated_buffer_locked()130 struct rb_node *n = alloc->allocated_buffers.rb_node; in binder_alloc_prepare_to_free_locked()408 size_t allocated_buffers = 0; in binder_alloc_new_buf_locked() local415 for (n = rb_first(&alloc->allocated_buffers); n != NULL; in binder_alloc_new_buf_locked()419 allocated_buffers++; in binder_alloc_new_buf_locked()438 total_alloc_size, allocated_buffers, in binder_alloc_new_buf_locked()628 rb_erase(&buffer->rb_node, &alloc->allocated_buffers); in binder_free_buf_locked()750 while ((n = rb_first(&alloc->allocated_buffers))) { in binder_alloc_deferred_release()826 for (n = rb_first(&alloc->allocated_buffers); n != NULL; n = rb_next(n)) in binder_alloc_print_allocated()[all …]
99 struct rb_root allocated_buffers; member
670 unsigned int num_buffers, allocated_buffers, num_planes = 0; in vb2_core_reqbufs() local742 allocated_buffers = in vb2_core_reqbufs()744 if (allocated_buffers == 0) { in vb2_core_reqbufs()753 if (allocated_buffers < q->min_buffers_needed) in vb2_core_reqbufs()759 if (!ret && allocated_buffers < num_buffers) { in vb2_core_reqbufs()760 num_buffers = allocated_buffers; in vb2_core_reqbufs()772 if (!ret && allocated_buffers < num_buffers) in vb2_core_reqbufs()782 q->num_buffers = allocated_buffers; in vb2_core_reqbufs()789 __vb2_queue_free(q, allocated_buffers); in vb2_core_reqbufs()799 *count = allocated_buffers; in vb2_core_reqbufs()[all …]