Lines Matching refs:binder_alloc
2 /* binder_alloc.c
26 #include "binder_alloc.h"
60 static size_t binder_alloc_buffer_size(struct binder_alloc *alloc,
68 static void binder_insert_free_buffer(struct binder_alloc *alloc,
102 struct binder_alloc *alloc, struct binder_buffer *new_buffer)
127 struct binder_alloc *alloc,
161 * @alloc: binder_alloc for this proc
170 struct binder_buffer *binder_alloc_prepare_to_free(struct binder_alloc *alloc,
181 static int binder_update_page_range(struct binder_alloc *alloc, int allocate,
312 static inline void binder_alloc_set_vma(struct binder_alloc *alloc,
320 struct binder_alloc *alloc)
326 static bool debug_low_async_space_locked(struct binder_alloc *alloc, int pid)
369 struct binder_alloc *alloc,
385 /* Check binder_alloc is fully initialized */
547 * @alloc: binder_alloc for this proc
561 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
588 static void binder_delete_free_buffer(struct binder_alloc *alloc,
637 static void binder_free_buf_locked(struct binder_alloc *alloc,
692 static void binder_alloc_clear_buf(struct binder_alloc *alloc,
696 * @alloc: binder_alloc for this proc
701 void binder_alloc_free_buf(struct binder_alloc *alloc,
734 int binder_alloc_mmap_handler(struct binder_alloc *alloc,
781 /* Signal binder_alloc is fully initialized */
804 void binder_alloc_deferred_release(struct binder_alloc *alloc)
883 * @alloc: binder_alloc for this proc
886 * the binder_alloc state to the given seq_file
889 struct binder_alloc *alloc)
903 * @alloc: binder_alloc for this proc
906 struct binder_alloc *alloc)
916 * Make sure the binder_alloc is fully initialized, otherwise we might
937 * @alloc: binder_alloc for this proc
941 int binder_alloc_get_allocated_count(struct binder_alloc *alloc)
956 * @alloc: binder_alloc for this proc
962 void binder_alloc_vma_close(struct binder_alloc *alloc)
986 struct binder_alloc *alloc;
1066 * @alloc: binder_alloc for this proc
1068 * Called from binder_open() to initialize binder_alloc fields for
1071 void binder_alloc_init(struct binder_alloc *alloc)
1100 * @alloc: binder_alloc for this proc
1117 static inline bool check_buffer(struct binder_alloc *alloc,
1132 * @alloc: binder_alloc for this proc
1149 static struct page *binder_alloc_get_page(struct binder_alloc *alloc,
1167 * @alloc: binder_alloc for this proc
1172 static void binder_alloc_clear_buf(struct binder_alloc *alloc,
1194 * @alloc: binder_alloc for this proc
1205 binder_alloc_copy_user_to_buffer(struct binder_alloc *alloc,
1236 static int binder_alloc_do_buffer_copy(struct binder_alloc *alloc,
1267 int binder_alloc_copy_to_buffer(struct binder_alloc *alloc,
1277 int binder_alloc_copy_from_buffer(struct binder_alloc *alloc,