Home
last modified time | relevance | path

Searched refs:binder_alloc (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/android/
H A Dbinder_alloc.h68 struct binder_alloc *alloc;
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 *alloc,
141 int binder_alloc_mmap_handler(struct binder_alloc *alloc,
143 void binder_alloc_deferred_release(struct binder_alloc *alloc);
144 int binder_alloc_get_allocated_count(struct binder_alloc *alloc);
[all …]
H A Dbinder_alloc.c61 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()
[all …]
H A Dbinder.c2465 static int binder_do_deferred_txn_copies(struct binder_alloc *alloc, in binder_do_deferred_txn_copies()
/linux/drivers/android/tests/
H A Dbinder_alloc_kunit.c141 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 alloc;
423 struct binder_alloc *alloc = &priv->alloc; in binder_alloc_test_mmap()
[all …]