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()
170 struct binder_buffer *binder_alloc_prepare_to_free(struct binder_alloc *alloc, in binder_alloc_prepare_to_free()
181 static int binder_update_page_range(struct binder_alloc *alloc, int allocate, in binder_update_page_range()
312 static inline void binder_alloc_set_vma(struct binder_alloc *alloc, in binder_alloc_set_vma()
320 struct binder_alloc *alloc) in binder_alloc_get_vma()
326 static bool debug_low_async_space_locked(struct binder_alloc *alloc, int pid) in debug_low_async_space_locked()
370 struct binder_alloc *alloc, in binder_alloc_new_buf_locked()
562 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc, in binder_alloc_new_buf()
589 static void binder_delete_free_buffer(struct binder_alloc *alloc, in binder_delete_free_buffer()
638 static void binder_free_buf_locked(struct binder_alloc *alloc, in binder_free_buf_locked()
703 void binder_alloc_free_buf(struct binder_alloc *alloc, in binder_alloc_free_buf()
736 int binder_alloc_mmap_handler(struct binder_alloc *alloc, in binder_alloc_mmap_handler()
806 void binder_alloc_deferred_release(struct binder_alloc *alloc) in binder_alloc_deferred_release()
891 struct binder_alloc *alloc) in binder_alloc_print_allocated()
908 struct binder_alloc *alloc) in binder_alloc_print_pages()
943 int binder_alloc_get_allocated_count(struct binder_alloc *alloc) in binder_alloc_get_allocated_count()
964 void binder_alloc_vma_close(struct binder_alloc *alloc) in binder_alloc_vma_close()
988 struct binder_alloc *alloc; in binder_alloc_free_page() local
1069 void binder_alloc_init(struct binder_alloc *alloc) in binder_alloc_init()
1115 static inline bool check_buffer(struct binder_alloc *alloc, in check_buffer()
1147 static struct page *binder_alloc_get_page(struct binder_alloc *alloc, in binder_alloc_get_page()
1170 static void binder_alloc_clear_buf(struct binder_alloc *alloc, in binder_alloc_clear_buf()
1203 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc, in binder_alloc_copy_user_to_buffer()
1234 static int binder_alloc_do_buffer_copy(struct binder_alloc *alloc, in binder_alloc_do_buffer_copy()
1265 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc, in binder_alloc_copy_to_buffer()
1275 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc, in binder_alloc_copy_from_buffer()