Lines Matching refs:alloc
69 struct binder_alloc *alloc; member
124 void binder_selftest_alloc(struct binder_alloc *alloc);
126 static inline void binder_selftest_alloc(struct binder_alloc *alloc) {} in binder_selftest_alloc() argument
131 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
136 void binder_alloc_init(struct binder_alloc *alloc);
139 void binder_alloc_vma_close(struct binder_alloc *alloc);
141 binder_alloc_prepare_to_free(struct binder_alloc *alloc,
143 void binder_alloc_free_buf(struct binder_alloc *alloc,
145 int binder_alloc_mmap_handler(struct binder_alloc *alloc,
147 void binder_alloc_deferred_release(struct binder_alloc *alloc);
148 int binder_alloc_get_allocated_count(struct binder_alloc *alloc);
150 struct binder_alloc *alloc);
152 struct binder_alloc *alloc);
161 binder_alloc_get_free_async_space(struct binder_alloc *alloc) in binder_alloc_get_free_async_space() argument
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()
172 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc,
178 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc,
184 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc,