Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/android/
Dbinder_alloc.h67 struct binder_alloc *alloc;
94 struct binder_alloc { struct
111 void binder_selftest_alloc(struct binder_alloc *alloc); argument
113 static inline void binder_selftest_alloc(struct binder_alloc *alloc) {} in binder_selftest_alloc()
118 extern struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
124 extern void binder_alloc_init(struct binder_alloc *alloc);
126 extern void binder_alloc_vma_close(struct binder_alloc *alloc);
128 binder_alloc_prepare_to_free(struct binder_alloc *alloc,
130 extern void binder_alloc_free_buf(struct binder_alloc *alloc,
132 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()
313 static inline void binder_alloc_set_vma(struct binder_alloc *alloc, in binder_alloc_set_vma()
329 struct binder_alloc *alloc) in binder_alloc_get_vma()
341 static void debug_low_async_space_locked(struct binder_alloc *alloc, int pid) in debug_low_async_space_locked()
379 struct binder_alloc *alloc, in binder_alloc_new_buf_locked()
[all …]
Dbinder_trace.h17 struct binder_alloc;
286 TP_PROTO(struct binder_alloc *alloc, bool allocate,
307 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
322 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
326 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
330 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),
[all …]
DMakefile5 obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o binder_alloc.o
Dbinder.c481 struct binder_alloc alloc;