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()340 for (n = rb_first(&alloc->allocated_buffers); n != NULL; in debug_low_async_space_locked()436 size_t allocated_buffers = 0; in binder_alloc_new_buf_locked() local443 for (n = rb_first(&alloc->allocated_buffers); n != NULL; in binder_alloc_new_buf_locked()447 allocated_buffers++; in binder_alloc_new_buf_locked()466 total_alloc_size, allocated_buffers, in binder_alloc_new_buf_locked()670 rb_erase(&buffer->rb_node, &alloc->allocated_buffers); in binder_free_buf_locked()814 while ((n = rb_first(&alloc->allocated_buffers))) { in binder_alloc_deferred_release()[all …]
107 struct rb_root allocated_buffers; member
837 allocated_buffers = in vb2_core_reqbufs()839 if (allocated_buffers == 0) { in vb2_core_reqbufs()856 num_buffers = allocated_buffers; in vb2_core_reqbufs()878 q->num_buffers = allocated_buffers; in vb2_core_reqbufs()886 __vb2_queue_free(q, allocated_buffers); in vb2_core_reqbufs()896 *count = allocated_buffers; in vb2_core_reqbufs()968 if (allocated_buffers == 0) { in vb2_core_create_bufs()977 if (allocated_buffers < num_buffers) { in vb2_core_create_bufs()978 num_buffers = allocated_buffers; in vb2_core_create_bufs()997 q->num_buffers += allocated_buffers; in vb2_core_create_bufs()[all …]