Searched refs:allocated_buffers (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/android/ |
D | binder_alloc.c | 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() 350 size_t allocated_buffers = 0; in debug_no_space_locked() local 358 for (n = rb_first(&alloc->allocated_buffers); n; n = rb_next(n)) { in debug_no_space_locked() 361 allocated_buffers++; in debug_no_space_locked() 378 total_alloc_size, allocated_buffers, in debug_no_space_locked() 407 for (n = rb_first(&alloc->allocated_buffers); n != NULL; in debug_low_async_space_locked() 690 rb_erase(&buffer->rb_node, &alloc->allocated_buffers); in binder_free_buf_locked() 899 while ((n = rb_first(&alloc->allocated_buffers))) { in binder_alloc_deferred_release() [all …]
|
D | binder_alloc.h | 105 struct rb_root allocated_buffers; member
|
/linux-6.12.1/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 876 unsigned int num_buffers, allocated_buffers, num_planes = 0; in vb2_core_reqbufs() local 963 allocated_buffers = in vb2_core_reqbufs() 965 if (allocated_buffers == 0) { in vb2_core_reqbufs() 977 if (allocated_buffers < q->min_reqbufs_allocation) in vb2_core_reqbufs() 983 if (!ret && allocated_buffers < num_buffers) { in vb2_core_reqbufs() 984 num_buffers = allocated_buffers; in vb2_core_reqbufs() 996 if (!ret && allocated_buffers < num_buffers) in vb2_core_reqbufs() 1013 __vb2_queue_free(q, first_index, allocated_buffers); in vb2_core_reqbufs() 1023 *count = allocated_buffers; in vb2_core_reqbufs() 1044 unsigned int num_planes = 0, num_buffers, allocated_buffers; in vb2_core_create_bufs() local [all …]
|