| /spdk/test/unit/lib/util/crc16.c/ |
| H A D | crc16_ut.c | 27 char buf2[] = "56789"; in test_crc16_t10dif_seed() local 30 crc = spdk_crc16_t10dif(crc, buf2, strlen(buf2)); in test_crc16_t10dif_seed() 39 char buf2[] = "56789"; in test_crc16_t10dif_copy() local 40 char *buf3 = calloc(1, strlen(buf1) + strlen(buf2) + 1); in test_crc16_t10dif_copy() 44 crc1 = spdk_crc16_t10dif_copy(crc1, buf3 + strlen(buf1), buf2, strlen(buf2)); in test_crc16_t10dif_copy()
|
| /spdk/test/external_code/accel/ |
| H A D | app_module.c | 24 char buf2[TEST_XFER_SIZE]; member 71 if (memcmp(ctx->buf1, ctx->buf2, TEST_XFER_SIZE) != 0) { in copy_cb() 92 if (memcmp(ctx->buf1, ctx->buf2, TEST_XFER_SIZE) != 0) { in compare_cb() 116 memset(ctx->buf2, 0, sizeof(ctx->buf2)); in process_accel() 129 rc = spdk_accel_submit_copy(ctx->ch, ctx->buf1, ctx->buf2, in process_accel() 139 rc = spdk_accel_submit_compare(ctx->ch, ctx->buf1, ctx->buf2, in process_accel()
|
| H A D | app_driver.c | 22 char buf2[TEST_XFER_SIZE]; member 47 memcmp(ctx->buf2, expected_buf2, TEST_XFER_SIZE) != 0 || in test_seq_complete_cb() 74 memset(ctx->buf2, INITIAL_PATTERN_2, TEST_XFER_SIZE); in start_driver() 81 ctx->iov2.iov_base = ctx->buf2; in start_driver() 117 rc = spdk_accel_append_fill(&seq, ctx->ch, &ctx->buf2, TEST_XFER_SIZE, in start_driver()
|
| /spdk/test/env/mem_callbacks/ |
| H A D | mem_callbacks.c | 90 void *buf1, *buf2, *buf3, *buf4; in test() local 112 buf2 = rte_malloc(NULL, len2, 0); in test() 113 verify_buffer(buf2, len2); in test() 131 printf("free %p %ju\n", buf2, len2); in test() 132 rte_free(buf2); in test()
|
| /spdk/test/unit/lib/util/dif.c/ |
| H A D | dif_ut.c | 2903 uint8_t *buf1, *buf2; in set_md_interleave_iovs_alignment_test() 3005 buf2 = calloc(1, (4096 + 128) * 4); in _dif_generate_split_test() 3006 SPDK_CU_ASSERT_FATAL(buf2 != NULL); in _dif_generate_split_test() 3007 _iov_set_buf(&iov2, buf2, (4096 + 128) * 4); in _dif_generate_split_test() 3021 rc = memcmp(buf1, buf2, (4096 + 128) * 4); in _dif_generate_split_test() 3025 free(buf2); in _dif_generate_split_test() 3375 uint8_t *buf1, *buf2; in update_crc32c_pi_16_test() 3426 buf2 = calloc(1, 4096 + 128); in update_crc32c_pi_16_test() 3427 SPDK_CU_ASSERT_FATAL(buf2 != NULL); in update_crc32c_pi_16_test() 3428 _iov_set_buf(&iov, buf2, 409 in update_crc32c_pi_16_test() 2482 uint8_t *buf1, *buf2; _set_md_interleave_iovs_test() local 2954 uint8_t *buf1, *buf2; _dif_generate_split_test() local 3046 uint8_t *buf1, *buf2; _set_md_interleave_iovs_multi_segments_test() local [all...] |
| /spdk/test/unit/lib/blob/blob.c/ |
| H A D | blob_ut.c | 9549 uint8_t buf2[DEV_BUFFER_BLOCKLEN]; in blob_set_parent() 9646 memset(buf2, 0xff, DEV_BUFFER_BLOCKLEN); in blob_set_parent() 9647 ext_dev->write(ext_dev, bdev_ch, buf2, offset, 1, &ext_args); in blob_set_parent() 9668 ext_dev->read(ext_dev, bdev_ch, buf2, offset, 1, &ext_args); in blob_set_parent() 9671 CU_ASSERT(memcmp(buf1, buf2, DEV_BUFFER_BLOCKLEN) == 0); in blob_set_parent() 9675 ext_dev->read(ext_dev, bdev_ch, buf2, offset, 1, &ext_args); in blob_set_parent() 9678 CU_ASSERT(memcmp(buf1, buf2, DEV_BUFFER_BLOCKLEN) == 0); in blob_set_parent() 9682 ext_dev->read(ext_dev, bdev_ch, buf2, offset, 1, &ext_args); in blob_set_parent() 9685 CU_ASSERT(memcmp(buf1, buf2, DEV_BUFFER_BLOCKLEN) == 0); in blob_set_parent() 9689 ext_dev->read(ext_dev, bdev_ch, buf2, offse in blob_set_parent() 9379 uint8_t buf2[DEV_BUFFER_BLOCKLEN]; blob_shallow_copy() local [all...] |