Lines Matching full:buffers

166 						 struct binder_buffer *buffers[],  in binder_alloc_test_alloc_buf()  argument
173 buffers[i] = binder_alloc_new_buf(alloc, sizes[i], 0, 0, 0); in binder_alloc_test_alloc_buf()
174 if (IS_ERR(buffers[i]) || in binder_alloc_test_alloc_buf()
175 !check_buffer_pages_allocated(test, alloc, buffers[i], sizes[i])) in binder_alloc_test_alloc_buf()
184 struct binder_buffer *buffers[], in binder_alloc_test_free_buf() argument
191 binder_alloc_free_buf(alloc, buffers[seq[i]]); in binder_alloc_test_free_buf()
235 struct binder_buffer *buffers[BUFFER_NUM]; in binder_alloc_test_alloc_free() local
239 failures = binder_alloc_test_alloc_buf(test, alloc, buffers, in binder_alloc_test_alloc_free()
244 "Initial allocation failed: %lu/%u buffers with errors", in binder_alloc_test_alloc_free()
247 failures = binder_alloc_test_free_buf(test, alloc, buffers, in binder_alloc_test_alloc_free()
252 "Initial buffers not freed correctly: %lu/%lu pages not on lru list", in binder_alloc_test_alloc_free()
256 failures = binder_alloc_test_alloc_buf(test, alloc, buffers, in binder_alloc_test_alloc_free()
261 "Reallocation failed: %lu/%u buffers with errors", in binder_alloc_test_alloc_free()
270 failures = binder_alloc_test_free_buf(test, alloc, buffers, in binder_alloc_test_alloc_free()
275 "Reallocated buffers not freed correctly: %lu/%lu pages not on lru list", in binder_alloc_test_alloc_free()
356 * Buffers share the first or last few pages. in gen_buf_sizes()
437 KUNIT_EXPECT_TRUE(test, list_is_last(&buf->entry, &alloc->buffers)); in binder_alloc_test_mmap()
444 * Allocate BUFFER_NUM buffers to cover all page alignment cases,
446 * correctly allocated, put onto lru when buffers are freed, and