Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/android/
Dbinder_alloc.h72 struct binder_alloc *alloc;
100 struct binder_alloc { struct
117 void binder_selftest_alloc(struct binder_alloc *alloc); argument
119 static inline void binder_selftest_alloc(struct binder_alloc *alloc) {} in binder_selftest_alloc()
124 extern struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
130 extern void binder_alloc_init(struct binder_alloc *alloc);
133 extern void binder_alloc_vma_close(struct binder_alloc *alloc);
135 binder_alloc_prepare_to_free(struct binder_alloc *alloc,
137 extern void binder_alloc_free_buf(struct binder_alloc *alloc,
139 extern int binder_alloc_mmap_handler(struct binder_alloc *alloc,
[all …]
Dbinder_alloc_selftest.c92 static bool check_buffer_pages_allocated(struct binder_alloc *alloc, in check_buffer_pages_allocated()
115 static void binder_selftest_alloc_buf(struct binder_alloc *alloc, in binder_selftest_alloc_buf()
132 static void binder_selftest_free_buf(struct binder_alloc *alloc, in binder_selftest_free_buf()
156 static void binder_selftest_free_page(struct binder_alloc *alloc) in binder_selftest_free_page()
176 static void binder_selftest_alloc_free(struct binder_alloc *alloc, in binder_selftest_alloc_free()
205 static void binder_selftest_free_seq(struct binder_alloc *alloc, in binder_selftest_free_seq()
223 static void binder_selftest_alloc_size(struct binder_alloc *alloc, in binder_selftest_alloc_size()
249 static void binder_selftest_alloc_offset(struct binder_alloc *alloc, in binder_selftest_alloc_offset()
283 void binder_selftest_alloc(struct binder_alloc *alloc) in binder_selftest_alloc()
Dbinder_alloc.c60 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()
[all …]
Dbinder_trace.h17 struct binder_alloc;
319 TP_PROTO(struct binder_alloc *alloc, bool allocate,
340 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
355 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
359 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
363 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
367 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
371 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
375 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
379 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
[all …]
DMakefile5 obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o binder_alloc.o
Dbinder_internal.h430 struct binder_alloc alloc;
Dbinder.c2374 static int binder_do_deferred_txn_copies(struct binder_alloc *alloc, in binder_do_deferred_txn_copies()