Lines Matching defs:alloc
23 * @entry: entry alloc->buffers
65 * @alloc: binder_alloc for a proc
70 struct binder_alloc *alloc;
115 void binder_selftest_alloc(struct binder_alloc *alloc);
117 static inline void binder_selftest_alloc(struct binder_alloc *alloc) {}
122 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
127 void binder_alloc_init(struct binder_alloc *alloc);
130 void binder_alloc_vma_close(struct binder_alloc *alloc);
132 binder_alloc_prepare_to_free(struct binder_alloc *alloc,
134 void binder_alloc_free_buf(struct binder_alloc *alloc,
136 int binder_alloc_mmap_handler(struct binder_alloc *alloc,
138 void binder_alloc_deferred_release(struct binder_alloc *alloc);
139 int binder_alloc_get_allocated_count(struct binder_alloc *alloc);
141 struct binder_alloc *alloc);
143 struct binder_alloc *alloc);
147 * @alloc: binder_alloc for this proc
152 binder_alloc_get_free_async_space(struct binder_alloc *alloc)
156 spin_lock(&alloc->lock);
157 free_async_space = alloc->free_async_space;
158 spin_unlock(&alloc->lock);
163 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc,
169 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc,
175 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc,