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()355 for (n = rb_first(&alloc->allocated_buffers); n != NULL; in debug_low_async_space_locked()445 size_t allocated_buffers = 0; in binder_alloc_new_buf_locked() local452 for (n = rb_first(&alloc->allocated_buffers); n != NULL; in binder_alloc_new_buf_locked()456 allocated_buffers++; in binder_alloc_new_buf_locked()475 total_alloc_size, allocated_buffers, in binder_alloc_new_buf_locked()677 rb_erase(&buffer->rb_node, &alloc->allocated_buffers); in binder_free_buf_locked()813 while ((n = rb_first(&alloc->allocated_buffers))) { in binder_alloc_deferred_release()[all …]
103 struct rb_root allocated_buffers; member
738 unsigned int num_buffers, allocated_buffers, num_planes = 0; in vb2_core_reqbufs() local810 allocated_buffers = in vb2_core_reqbufs()812 if (allocated_buffers == 0) { in vb2_core_reqbufs()821 if (allocated_buffers < q->min_buffers_needed) in vb2_core_reqbufs()827 if (!ret && allocated_buffers < num_buffers) { in vb2_core_reqbufs()828 num_buffers = allocated_buffers; in vb2_core_reqbufs()840 if (!ret && allocated_buffers < num_buffers) in vb2_core_reqbufs()850 q->num_buffers = allocated_buffers; in vb2_core_reqbufs()857 __vb2_queue_free(q, allocated_buffers); in vb2_core_reqbufs()867 *count = allocated_buffers; in vb2_core_reqbufs()[all …]