Lines Matching defs:alloc
60 static size_t binder_alloc_buffer_size(struct binder_alloc *alloc, in binder_alloc_buffer_size()
68 static void binder_insert_free_buffer(struct binder_alloc *alloc, in binder_insert_free_buffer()
102 struct binder_alloc *alloc, struct binder_buffer *new_buffer) in binder_insert_allocated_buffer_locked()
127 struct binder_alloc *alloc, in binder_alloc_prepare_to_free_locked()
167 struct binder_buffer *binder_alloc_prepare_to_free(struct binder_alloc *alloc, in binder_alloc_prepare_to_free()
179 binder_set_installed_page(struct binder_alloc *alloc, in binder_set_installed_page()
188 binder_get_installed_page(struct binder_alloc *alloc, unsigned long index) in binder_get_installed_page()
194 static void binder_lru_freelist_add(struct binder_alloc *alloc, in binder_lru_freelist_add()
224 void binder_alloc_set_mapped(struct binder_alloc *alloc, bool state) in binder_alloc_set_mapped()
230 static inline bool binder_alloc_is_mapped(struct binder_alloc *alloc) in binder_alloc_is_mapped()
236 static struct page *binder_page_lookup(struct binder_alloc *alloc, in binder_page_lookup()
256 static int binder_page_insert(struct binder_alloc *alloc, in binder_page_insert()
283 static struct page *binder_page_alloc(struct binder_alloc *alloc, in binder_page_alloc()
314 static int binder_install_single_page(struct binder_alloc *alloc, in binder_install_single_page()
363 static int binder_install_buffer_pages(struct binder_alloc *alloc, in binder_install_buffer_pages()
394 static void binder_lru_freelist_del(struct binder_alloc *alloc, in binder_lru_freelist_del()
427 static void debug_no_space_locked(struct binder_alloc *alloc) in debug_no_space_locked()
464 static bool debug_low_async_space_locked(struct binder_alloc *alloc) in debug_low_async_space_locked()
518 struct binder_alloc *alloc, in binder_alloc_new_buf_locked()
649 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc, in binder_alloc_new_buf()
713 static void binder_delete_free_buffer(struct binder_alloc *alloc, in binder_delete_free_buffer()
740 static void binder_free_buf_locked(struct binder_alloc *alloc, in binder_free_buf_locked()
812 static struct page *binder_alloc_get_page(struct binder_alloc *alloc, in binder_alloc_get_page()
834 static void binder_alloc_clear_buf(struct binder_alloc *alloc, in binder_alloc_clear_buf()
861 void binder_alloc_free_buf(struct binder_alloc *alloc, in binder_alloc_free_buf()
894 int binder_alloc_mmap_handler(struct binder_alloc *alloc, in binder_alloc_mmap_handler()
964 void binder_alloc_deferred_release(struct binder_alloc *alloc) in binder_alloc_deferred_release()
1041 struct binder_alloc *alloc) in binder_alloc_print_allocated()
1065 struct binder_alloc *alloc) in binder_alloc_print_pages()
1100 int binder_alloc_get_allocated_count(struct binder_alloc *alloc) in binder_alloc_get_allocated_count()
1121 void binder_alloc_vma_close(struct binder_alloc *alloc) in binder_alloc_vma_close()
1141 struct binder_alloc *alloc = mdata->alloc; in binder_alloc_free_page() local
1239 void binder_alloc_init(struct binder_alloc *alloc) in binder_alloc_init()
1295 static inline bool check_buffer(struct binder_alloc *alloc, in check_buffer()
1321 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc, in binder_alloc_copy_user_to_buffer()
1352 static int binder_alloc_do_buffer_copy(struct binder_alloc *alloc, in binder_alloc_do_buffer_copy()
1383 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc, in binder_alloc_copy_to_buffer()
1393 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc, in binder_alloc_copy_from_buffer()