Home
last modified time | relevance | path

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

/drivers/staging/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()
126 extern struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
131 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.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;
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 *alloc, size_t page_index),
[all …]
Dbinder_alloc.c64 static size_t binder_alloc_buffer_size(struct binder_alloc *alloc, in binder_alloc_buffer_size()
73 static void binder_insert_free_buffer(struct binder_alloc *alloc, in binder_insert_free_buffer()
107 struct binder_alloc *alloc, struct binder_buffer *new_buffer) in binder_insert_allocated_buffer_locked()
132 struct binder_alloc *alloc, in binder_alloc_prepare_to_free_locked()
177 struct binder_buffer *binder_alloc_prepare_to_free(struct binder_alloc *alloc, in binder_alloc_prepare_to_free()
188 static int binder_update_page_range(struct binder_alloc *alloc, int allocate, in binder_update_page_range()
331 struct binder_buffer *binder_alloc_new_buf_locked(struct binder_alloc *alloc, in binder_alloc_new_buf_locked()
504 struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc, in binder_alloc_new_buf()
529 static void binder_delete_free_buffer(struct binder_alloc *alloc, in binder_delete_free_buffer()
575 static void binder_free_buf_locked(struct binder_alloc *alloc, in binder_free_buf_locked()
[all …]
DMakefile6 obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o binder_alloc.o
Dbinder.c560 struct binder_alloc alloc;