Home
last modified time | relevance | path

Searched refs:allocated_buffers (Results 1 – 3 of 3) sorted by relevance

/drivers/android/
Dbinder_alloc.c105 struct rb_node **p = &alloc->allocated_buffers.rb_node; in binder_insert_allocated_buffer_locked()
124 rb_insert_color(&new_buffer->rb_node, &alloc->allocated_buffers); in binder_insert_allocated_buffer_locked()
131 struct rb_node *n = alloc->allocated_buffers.rb_node; in binder_alloc_prepare_to_free_locked()
341 for (n = rb_first(&alloc->allocated_buffers); n != NULL; in debug_low_async_space_locked()
439 size_t allocated_buffers = 0; in binder_alloc_new_buf_locked() local
446 for (n = rb_first(&alloc->allocated_buffers); n != NULL; in binder_alloc_new_buf_locked()
450 allocated_buffers++; in binder_alloc_new_buf_locked()
469 total_alloc_size, allocated_buffers, in binder_alloc_new_buf_locked()
673 rb_erase(&buffer->rb_node, &alloc->allocated_buffers); in binder_free_buf_locked()
817 while ((n = rb_first(&alloc->allocated_buffers))) { in binder_alloc_deferred_release()
[all …]
Dbinder_alloc.h108 struct rb_root allocated_buffers; member
/drivers/media/common/videobuf2/
Dvideobuf2-core.c739 unsigned int num_buffers, allocated_buffers, num_planes = 0; in vb2_core_reqbufs() local
821 allocated_buffers = in vb2_core_reqbufs()
823 if (allocated_buffers == 0) { in vb2_core_reqbufs()
833 if (allocated_buffers < q->min_buffers_needed) in vb2_core_reqbufs()
839 if (!ret && allocated_buffers < num_buffers) { in vb2_core_reqbufs()
840 num_buffers = allocated_buffers; in vb2_core_reqbufs()
852 if (!ret && allocated_buffers < num_buffers) in vb2_core_reqbufs()
862 q->num_buffers = allocated_buffers; in vb2_core_reqbufs()
870 __vb2_queue_free(q, allocated_buffers); in vb2_core_reqbufs()
880 *count = allocated_buffers; in vb2_core_reqbufs()
[all …]