Lines Matching refs:alloc
22 * @entry: entry alloc->buffers
63 * @alloc: binder_alloc owning the page to reclaim
64 * @page_index: offset in @alloc->pages[] into the page to reclaim
68 struct binder_alloc *alloc;
127 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
132 void binder_alloc_init(struct binder_alloc *alloc);
135 void binder_alloc_vma_close(struct binder_alloc *alloc);
137 binder_alloc_prepare_to_free(struct binder_alloc *alloc,
139 void binder_alloc_free_buf(struct binder_alloc *alloc,
141 int binder_alloc_mmap_handler(struct binder_alloc *alloc,
143 void binder_alloc_deferred_release(struct binder_alloc *alloc);
144 int binder_alloc_get_allocated_count(struct binder_alloc *alloc);
146 struct binder_alloc *alloc);
148 struct binder_alloc *alloc);
152 * @alloc: binder_alloc for this proc
157 binder_alloc_get_free_async_space(struct binder_alloc *alloc)
159 guard(mutex)(&alloc->mutex);
160 return alloc->free_async_space;
164 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc,
170 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc,
176 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc,
183 void __binder_alloc_init(struct binder_alloc *alloc, struct list_lru *freelist);
184 size_t binder_alloc_buffer_size(struct binder_alloc *alloc,