Lines Matching refs:binder_alloc
64 * @alloc: binder_alloc for a proc
69 struct binder_alloc *alloc;
73 * struct binder_alloc - per-binder proc state for binder allocator
96 struct binder_alloc {
113 void binder_selftest_alloc(struct binder_alloc *alloc);
115 static inline void binder_selftest_alloc(struct binder_alloc *alloc) {}
120 extern struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
126 extern void binder_alloc_init(struct binder_alloc *alloc);
129 extern void binder_alloc_vma_close(struct binder_alloc *alloc);
131 binder_alloc_prepare_to_free(struct binder_alloc *alloc,
133 extern void binder_alloc_free_buf(struct binder_alloc *alloc,
135 extern int binder_alloc_mmap_handler(struct binder_alloc *alloc,
137 extern void binder_alloc_deferred_release(struct binder_alloc *alloc);
138 extern int binder_alloc_get_allocated_count(struct binder_alloc *alloc);
140 struct binder_alloc *alloc);
142 struct binder_alloc *alloc);
146 * @alloc: binder_alloc for this proc
151 binder_alloc_get_free_async_space(struct binder_alloc *alloc)
162 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc,
168 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc,
174 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc,