Lines Matching defs:buffers
63 if (list_is_last(&buffer->entry, &alloc->buffers))
344 * Find the amount and size of buffers allocated by the current caller;
372 "%d: pid %d spamming oneway? %zd buffers allocated for a total size of %zd\n",
418 /* Pad 0-size buffers so they get assigned unique addresses */
599 BUG_ON(alloc->buffers.next == &buffer->entry);
610 if (!list_is_last(&buffer->entry, &alloc->buffers)) {
677 if (!list_is_last(&buffer->entry, &alloc->buffers)) {
685 if (alloc->buffers.next != &buffer->entry) {
714 * is used frequently for large buffers. The mutex is not
732 * vma for allocating binder buffers
775 list_add(&buffer->entry, &alloc->buffers);
804 int buffers, page_count;
807 buffers = 0;
822 buffers++;
825 while (!list_empty(&alloc->buffers)) {
826 buffer = list_first_entry(&alloc->buffers,
831 WARN_ON_ONCE(!list_empty(&alloc->buffers));
863 "%s: %d buffers %d, pages %d\n",
864 __func__, alloc->pid, buffers, page_count);
933 * binder_alloc_get_allocated_count() - return count of buffers
936 * Return: count of allocated buffers
957 * allocating more buffers.
1076 INIT_LIST_HEAD(&alloc->buffers);