Lines Matching defs:buffers
63 if (list_is_last(&buffer->entry, &alloc->buffers))
329 * Find the amount and size of buffers allocated by the current caller;
358 "%d: pid %d spamming oneway? %zd buffers allocated for a total size of %zd\n",
410 /* Pad 0-size buffers so they get assigned unique addresses */
594 BUG_ON(alloc->buffers.next == &buffer->entry);
605 if (!list_is_last(&buffer->entry, &alloc->buffers)) {
672 if (!list_is_last(&buffer->entry, &alloc->buffers)) {
680 if (alloc->buffers.next != &buffer->entry) {
709 * is used frequently for large buffers. The mutex is not
727 * vma for allocating binder buffers
776 list_add(&buffer->entry, &alloc->buffers);
807 int buffers, page_count;
810 buffers = 0;
825 buffers++;
828 while (!list_empty(&alloc->buffers)) {
829 buffer = list_first_entry(&alloc->buffers,
834 WARN_ON_ONCE(!list_empty(&alloc->buffers));
866 "%s: %d buffers %d, pages %d\n",
867 __func__, alloc->pid, buffers, page_count);
936 * binder_alloc_get_allocated_count() - return count of buffers
939 * Return: count of allocated buffers
960 * allocating more buffers.
1077 INIT_LIST_HEAD(&alloc->buffers);