Lines Matching refs:alloc
74 struct binder_alloc *alloc; member
120 void binder_selftest_alloc(struct binder_alloc *alloc);
122 static inline void binder_selftest_alloc(struct binder_alloc *alloc) {} in binder_selftest_alloc() argument
127 extern struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
132 extern void binder_alloc_init(struct binder_alloc *alloc);
134 extern void binder_alloc_vma_close(struct binder_alloc *alloc);
136 binder_alloc_prepare_to_free(struct binder_alloc *alloc,
138 extern void binder_alloc_free_buf(struct binder_alloc *alloc,
140 extern int binder_alloc_mmap_handler(struct binder_alloc *alloc,
142 extern void binder_alloc_deferred_release(struct binder_alloc *alloc);
143 extern int binder_alloc_get_allocated_count(struct binder_alloc *alloc);
145 struct binder_alloc *alloc);
147 struct binder_alloc *alloc);
156 binder_alloc_get_free_async_space(struct binder_alloc *alloc) in binder_alloc_get_free_async_space() argument
160 mutex_lock(&alloc->mutex); in binder_alloc_get_free_async_space()
161 free_async_space = alloc->free_async_space; in binder_alloc_get_free_async_space()
162 mutex_unlock(&alloc->mutex); in binder_alloc_get_free_async_space()
174 binder_alloc_get_user_buffer_offset(struct binder_alloc *alloc) in binder_alloc_get_user_buffer_offset() argument
184 return alloc->user_buffer_offset; in binder_alloc_get_user_buffer_offset()