Lines Matching defs:alloc
61 VISIBLE_IF_KUNIT size_t binder_alloc_buffer_size(struct binder_alloc *alloc, in binder_alloc_buffer_size()
70 static void binder_insert_free_buffer(struct binder_alloc *alloc, in binder_insert_free_buffer()
104 struct binder_alloc *alloc, struct binder_buffer *new_buffer) in binder_insert_allocated_buffer_locked()
129 struct binder_alloc *alloc, in binder_alloc_prepare_to_free_locked()
169 struct binder_buffer *binder_alloc_prepare_to_free(struct binder_alloc *alloc, in binder_alloc_prepare_to_free()
177 binder_set_installed_page(struct binder_alloc *alloc, in binder_set_installed_page()
186 binder_get_installed_page(struct binder_alloc *alloc, unsigned long index) in binder_get_installed_page()
192 static void binder_lru_freelist_add(struct binder_alloc *alloc, in binder_lru_freelist_add()
222 void binder_alloc_set_mapped(struct binder_alloc *alloc, bool state) in binder_alloc_set_mapped()
228 static inline bool binder_alloc_is_mapped(struct binder_alloc *alloc) in binder_alloc_is_mapped()
234 static struct page *binder_page_lookup(struct binder_alloc *alloc, in binder_page_lookup()
254 static int binder_page_insert(struct binder_alloc *alloc, in binder_page_insert()
281 static struct page *binder_page_alloc(struct binder_alloc *alloc, in binder_page_alloc()
312 static int binder_install_single_page(struct binder_alloc *alloc, in binder_install_single_page()
361 static int binder_install_buffer_pages(struct binder_alloc *alloc, in binder_install_buffer_pages()
392 static void binder_lru_freelist_del(struct binder_alloc *alloc, in binder_lru_freelist_del()
425 static void debug_no_space_locked(struct binder_alloc *alloc) in debug_no_space_locked()
462 static bool debug_low_async_space_locked(struct binder_alloc *alloc) in debug_low_async_space_locked()
516 struct binder_alloc *alloc, in binder_alloc_new_buf_locked()
647 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc, in binder_alloc_new_buf()
712 static void binder_delete_free_buffer(struct binder_alloc *alloc, in binder_delete_free_buffer()
739 static void binder_free_buf_locked(struct binder_alloc *alloc, in binder_free_buf_locked()
811 static struct page *binder_alloc_get_page(struct binder_alloc *alloc, in binder_alloc_get_page()
833 static void binder_alloc_clear_buf(struct binder_alloc *alloc, in binder_alloc_clear_buf()
860 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()
1042 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()
1120 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
1233 VISIBLE_IF_KUNIT void __binder_alloc_init(struct binder_alloc *alloc, in __binder_alloc_init()
1252 void binder_alloc_init(struct binder_alloc *alloc) in binder_alloc_init()
1304 static inline bool check_buffer(struct binder_alloc *alloc, in check_buffer()
1330 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc, in binder_alloc_copy_user_to_buffer()
1361 static int binder_alloc_do_buffer_copy(struct binder_alloc *alloc, in binder_alloc_do_buffer_copy()
1392 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc, in binder_alloc_copy_to_buffer()
1402 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc, in binder_alloc_copy_from_buffer()