Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/android/
H A Dbinder_alloc.h72 struct binder_alloc *alloc;
101 struct binder_alloc { struct
119 void binder_selftest_alloc(struct binder_alloc *alloc); argument
121 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,
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 …]
H A Dbinder_alloc.c61 static size_t binder_alloc_buffer_size(struct binder_alloc *alloc, in binder_alloc_buffer_size()
69 static void binder_insert_free_buffer(struct binder_alloc *alloc, in binder_insert_free_buffer()
103 struct binder_alloc *alloc, struct binder_buffer *new_buffer) in binder_insert_allocated_buffer_locked()
128 struct binder_alloc *alloc, in binder_alloc_prepare_to_free_locked()
171 struct binder_buffer *binder_alloc_prepare_to_free(struct binder_alloc *alloc, in binder_alloc_prepare_to_free()
182 static int binder_update_page_range(struct binder_alloc *alloc, int allocate, in binder_update_page_range()
314 static inline void binder_alloc_set_vma(struct binder_alloc *alloc, in binder_alloc_set_vma()
330 struct binder_alloc *alloc) in binder_alloc_get_vma()
342 static bool debug_low_async_space_locked(struct binder_alloc *alloc, int pid) in debug_low_async_space_locked()
386 struct binder_alloc *alloc, in binder_alloc_new_buf_locked()
[all …]
H A 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()
H A Dbinder_trace.h17 struct binder_alloc;
314 TP_PROTO(struct binder_alloc *alloc, bool allocate,
335 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),
362 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
366 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
370 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
374 TP_PROTO(const struct binder_alloc *alloc, size_t page_index),
[all …]
H A DMakefile5 obj-$(CONFIG_ANDROID_BINDER_IPC) += binder.o binder_alloc.o
H A Dbinder_internal.h446 struct binder_alloc alloc;
H A Dbinder.c2460 static int binder_do_deferred_txn_copies(struct binder_alloc *alloc, in binder_do_deferred_txn_copies()
/OK3568_Linux_fs/kernel/include/trace/hooks/
H A Dbinder.h15 struct binder_alloc;
61 TP_PROTO(size_t size, struct binder_alloc *alloc, int is_async),