Home
last modified time | relevance | path

Searched refs:binder_alloc (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/android/
H A Dbinder_alloc.h64 * @alloc: binder_alloc for a proc
69 struct binder_alloc *alloc;
73 * struct binder_alloc - per-binder proc state for binder allocator
96 struct binder_alloc { struct
113 void binder_selftest_alloc(struct binder_alloc *alloc);
115 static inline void binder_selftest_alloc(struct binder_alloc *alloc) {} in binder_selftest_alloc()
120 extern struct binder_buffer *binder_alloc_new_buf(struct binder_alloc *alloc,
126 extern void binder_alloc_init(struct binder_alloc *alloc);
129 extern void binder_alloc_vma_close(struct binder_alloc *alloc);
131 binder_alloc_prepare_to_free(struct binder_alloc *allo
[all...]
H A Dbinder_alloc_selftest.c13 #include "binder_alloc.h"
92 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 *allo
[all...]
H A Dbinder_alloc.c2 /* binder_alloc.c
26 #include "binder_alloc.h"
60 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()
161 * @alloc: binder_alloc for this proc
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 *allo
[all...]
H A 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 *allo
[all...]
H A Dbinder.c79 #include "binder_alloc.h"
511 struct binder_alloc alloc;
2755 * @alloc: binder_alloc associated with @buffer
2768 static int binder_do_deferred_txn_copies(struct binder_alloc *alloc, in binder_do_deferred_txn_copies()
/kernel/linux/linux-6.6/drivers/android/
H A Dbinder_alloc.h67 * @alloc: binder_alloc for a proc
72 struct binder_alloc *alloc;
76 * struct binder_alloc - per-binder proc state for binder allocator
77 * @mutex: protects binder_alloc fields
100 struct binder_alloc { struct
117 void binder_selftest_alloc(struct binder_alloc *alloc);
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 *allo
[all...]
H A Dbinder_alloc_selftest.c13 #include "binder_alloc.h"
92 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 *allo
[all...]
H A Dbinder_alloc.c2 /* binder_alloc.c
26 #include "binder_alloc.h"
60 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()
161 * @alloc: binder_alloc for this proc
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 *allo
[all...]
H A 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 *allo
[all...]
H A Dbinder_internal.h16 #include "binder_alloc.h"
430 struct binder_alloc alloc;
H A Dbinder.c2407 * @alloc: binder_alloc associated with @buffer
2420 static int binder_do_deferred_txn_copies(struct binder_alloc *alloc, in binder_do_deferred_txn_copies()

Completed in 26 milliseconds