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()
193 static void binder_lru_freelist_add(struct binder_alloc *alloc, in binder_lru_freelist_add()
220 static int binder_install_single_page(struct binder_alloc *alloc, in binder_install_single_page()
268 static int binder_install_buffer_pages(struct binder_alloc *alloc, in binder_install_buffer_pages()
302 static void binder_lru_freelist_del(struct binder_alloc *alloc, in binder_lru_freelist_del()
332 static inline void binder_alloc_set_vma(struct binder_alloc *alloc, in binder_alloc_set_vma()
340 struct binder_alloc *alloc) in binder_alloc_get_vma()
346 static void debug_no_space_locked(struct binder_alloc *alloc) in debug_no_space_locked()
383 static bool debug_low_async_space_locked(struct binder_alloc *alloc) in debug_low_async_space_locked()
437 struct binder_alloc *alloc, in binder_alloc_new_buf_locked()
568 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc, in binder_alloc_new_buf()
632 static void binder_delete_free_buffer(struct binder_alloc *alloc, in binder_delete_free_buffer()
659 static void binder_free_buf_locked(struct binder_alloc *alloc, in binder_free_buf_locked()
731 static struct page *binder_alloc_get_page(struct binder_alloc *alloc, in binder_alloc_get_page()
754 static void binder_alloc_clear_buf(struct binder_alloc *alloc, in binder_alloc_clear_buf()
781 void binder_alloc_free_buf(struct binder_alloc *alloc, in binder_alloc_free_buf()
814 int binder_alloc_mmap_handler(struct binder_alloc *alloc, in binder_alloc_mmap_handler()
889 void binder_alloc_deferred_release(struct binder_alloc *alloc) in binder_alloc_deferred_release()
962 struct binder_alloc *alloc) in binder_alloc_print_allocated()
986 struct binder_alloc *alloc) in binder_alloc_print_pages()
1021 int binder_alloc_get_allocated_count(struct binder_alloc *alloc) in binder_alloc_get_allocated_count()
1042 void binder_alloc_vma_close(struct binder_alloc *alloc) in binder_alloc_vma_close()
1063 struct binder_alloc *alloc = page->alloc; in binder_alloc_free_page() local
1145 void binder_alloc_init(struct binder_alloc *alloc) in binder_alloc_init()
1201 static inline bool check_buffer(struct binder_alloc *alloc, in check_buffer()
1227 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc, in binder_alloc_copy_user_to_buffer()
1258 static int binder_alloc_do_buffer_copy(struct binder_alloc *alloc, in binder_alloc_do_buffer_copy()
1289 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc, in binder_alloc_copy_to_buffer()
1299 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc, in binder_alloc_copy_from_buffer()