D | binder_alloc_selftest.c | 116 struct binder_buffer *buffers[], in binder_selftest_alloc_buf() argument 122 buffers[i] = binder_alloc_new_buf(alloc, sizes[i], 0, 0, 0, 0); in binder_selftest_alloc_buf() 123 if (IS_ERR(buffers[i]) || in binder_selftest_alloc_buf() 124 !check_buffer_pages_allocated(alloc, buffers[i], in binder_selftest_alloc_buf() 133 struct binder_buffer *buffers[], in binder_selftest_free_buf() argument 139 binder_alloc_free_buf(alloc, buffers[seq[i]]); in binder_selftest_free_buf() 179 struct binder_buffer *buffers[BUFFER_NUM]; in binder_selftest_alloc_free() local 181 binder_selftest_alloc_buf(alloc, buffers, sizes, seq); in binder_selftest_alloc_free() 182 binder_selftest_free_buf(alloc, buffers, sizes, seq, end); in binder_selftest_alloc_free() 185 binder_selftest_alloc_buf(alloc, buffers, sizes, seq); in binder_selftest_alloc_free() [all …]
|