Lines Matching +full:async +full:- +full:enum
1 /* SPDX-License-Identifier: GPL-2.0-only */
22 * struct binder_buffer - buffer used for binder transactions
23 * @entry: entry alloc->buffers
28 * @async_transaction: %true if buffer is in use for an async txn
29 * @oneway_spam_suspect: %true if total async allocate size just exceed
62 * struct binder_shrinker_mdata - binder metadata used to reclaim pages
65 * @page_index: offset in @alloc->pages[] into the page to reclaim
79 return &mdata->lru; in page_to_lru()
83 * struct binder_alloc - per-binder proc state for binder allocator
85 * @mm: copy of task->mm (invariant after open)
86 * @vm_start: base of per-proc address space mapped via mmap
91 * @free_async_space: VA space available for async buffers. This is
100 * flag once the async buffer has returned to a healthy state
102 * Bookkeeping structure for per-proc address space management for binder
104 * calls. The address space is used for both user-visible buffers and for
128 enum lru_status binder_alloc_free_page(struct list_head *item,
155 * binder_alloc_get_free_async_space() - get free space available for async
158 * Return: the bytes remaining in the address-space for async transactions
165 mutex_lock(&alloc->mutex); in binder_alloc_get_free_async_space()
166 free_async_space = alloc->free_async_space; in binder_alloc_get_free_async_space()
167 mutex_unlock(&alloc->mutex); in binder_alloc_get_free_async_space()