Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/android/
Dbinder_alloc.h74 struct binder_alloc *alloc;
102 struct binder_alloc { struct
120 void binder_selftest_alloc(struct binder_alloc *alloc); argument
122 static inline void binder_selftest_alloc(struct binder_alloc *alloc) {} in binder_selftest_alloc()
127 extern struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
132 extern void binder_alloc_init(struct binder_alloc *alloc);
134 extern void binder_alloc_vma_close(struct binder_alloc *alloc);
136 binder_alloc_prepare_to_free(struct binder_alloc *alloc,
138 extern void binder_alloc_free_buf(struct binder_alloc *alloc,
140 extern int binder_alloc_mmap_handler(struct binder_alloc *alloc,
[all …]
Dbinder_alloc_selftest.c101 static bool check_buffer_pages_allocated(struct binder_alloc *alloc, in check_buffer_pages_allocated()
123 static void binder_selftest_alloc_buf(struct binder_alloc *alloc, in binder_selftest_alloc_buf()
140 static void binder_selftest_free_buf(struct binder_alloc *alloc, in binder_selftest_free_buf()
164 static void binder_selftest_free_page(struct binder_alloc *alloc) in binder_selftest_free_page()
184 static void binder_selftest_alloc_free(struct binder_alloc *alloc, in binder_selftest_alloc_free()
213 static void binder_selftest_free_seq(struct binder_alloc *alloc, in binder_selftest_free_seq()
231 static void binder_selftest_alloc_size(struct binder_alloc *alloc, in binder_selftest_alloc_size()
257 static void binder_selftest_alloc_offset(struct binder_alloc *alloc, in binder_selftest_alloc_offset()
291 void binder_selftest_alloc(struct binder_alloc *alloc) in binder_selftest_alloc()
Dbinder_trace.h26 struct binder_alloc;
277 TP_PROTO(struct binder_alloc *alloc, bool allocate,
298 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
313 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
317 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
321 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
325 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
329 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
333 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
337 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
[all …]
Dbinder_alloc.c66 static size_t binder_alloc_buffer_size(struct binder_alloc *alloc, in binder_alloc_buffer_size()
75 static void binder_insert_free_buffer(struct binder_alloc *alloc, in binder_insert_free_buffer()
109 struct binder_alloc *alloc, struct binder_buffer *new_buffer) in binder_insert_allocated_buffer_locked()
134 struct binder_alloc *alloc, in binder_alloc_prepare_to_free_locked()
181 struct binder_buffer *binder_alloc_prepare_to_free(struct binder_alloc *alloc, in binder_alloc_prepare_to_free()
192 static int binder_update_page_range(struct binder_alloc *alloc, int allocate, in binder_update_page_range()
336 static inline void binder_alloc_set_vma(struct binder_alloc *alloc, in binder_alloc_set_vma()
352 struct binder_alloc *alloc) in binder_alloc_get_vma()
365 struct binder_alloc *alloc, in binder_alloc_new_buf_locked()
542 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc, in binder_alloc_new_buf()
[all …]
DMakefile3 obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o binder_alloc.o
Dbinder.c545 struct binder_alloc alloc;