Searched refs:binder_alloc (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/android/ |
H A D | binder_alloc.h | 63 * @alloc: binder_alloc owning the page to reclaim 68 struct binder_alloc *alloc; 82 * struct binder_alloc - per-binder proc state for binder allocator 83 * @mutex: protects binder_alloc fields 107 struct binder_alloc { struct 127 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc, argument 132 void binder_alloc_init(struct binder_alloc *alloc); 135 void binder_alloc_vma_close(struct binder_alloc *alloc); 137 binder_alloc_prepare_to_free(struct binder_alloc *alloc, 139 void binder_alloc_free_buf(struct binder_alloc *allo [all...] |
H A D | binder_alloc.c | 2 /* binder_alloc.c 27 #include "binder_alloc.h" 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() 160 * @alloc: binder_alloc for this proc 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 *allo [all...] |
H A D | binder_trace.h | 17 struct binder_alloc; 298 TP_PROTO(struct binder_alloc *alloc, bool allocate, 319 TP_PROTO(const struct binder_alloc *alloc, size_t page_index), 334 TP_PROTO(const struct binder_alloc *alloc, size_t page_index), 338 TP_PROTO(const struct binder_alloc *alloc, size_t page_index), 342 TP_PROTO(const struct binder_alloc *alloc, size_t page_index), 346 TP_PROTO(const struct binder_alloc *alloc, size_t page_index), 350 TP_PROTO(const struct binder_alloc *alloc, size_t page_index), 354 TP_PROTO(const struct binder_alloc *alloc, size_t page_index), 358 TP_PROTO(const struct binder_alloc *allo [all...] |
H A D | Makefile | 5 obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o binder_alloc.o
|
H A D | Kconfig | 47 Each test case runs using a pared-down binder_alloc struct and
|
H A D | binder_internal.h | 15 #include "binder_alloc.h" 446 struct binder_alloc alloc;
|
H A D | binder.c | 2460 * @alloc: binder_alloc associated with @buffer 2473 static int binder_do_deferred_txn_copies(struct binder_alloc *alloc, in binder_do_deferred_txn_copies()
|
/linux/drivers/android/tests/ |
H A D | binder_alloc_kunit.c | 21 #include "../binder_alloc.h" 141 struct binder_alloc *alloc, in check_buffer_pages_allocated() 165 struct binder_alloc *alloc, in binder_alloc_test_alloc_buf() 183 struct binder_alloc *alloc, in binder_alloc_test_free_buf() 205 struct binder_alloc *alloc) in binder_alloc_test_free_page() 230 struct binder_alloc *alloc, in binder_alloc_test_alloc_free() 299 static void permute_frees(struct kunit *test, struct binder_alloc *alloc, in permute_frees() 335 struct binder_alloc *alloc, in gen_buf_sizes() 370 static void gen_buf_offsets(struct kunit *test, struct binder_alloc *alloc, in gen_buf_offsets() 406 struct binder_alloc allo [all...] |