Lines Matching defs:count
50 * @count: image size in bytes.
54 static char *init_test_buffer(struct kunit *test, size_t count)
58 KUNIT_ASSERT_GE(test, count, HEADER_SIZE);
60 buf = kunit_kzalloc(test, count, GFP_KERNEL);
64 memset(buf + HEADER_SIZE, IMAGE_FILL, count - HEADER_SIZE);
75 const char *buf, size_t count)
85 info->data_size = info->count - HEADER_SIZE;
99 const char *buf, size_t count)
113 static int op_write(struct fpga_manager *mgr, const char *buf, size_t count)
122 for (i = 0; i < count; i++) {
226 ctx->img_info->count = IMAGE_SIZE;