Searched refs:read_buf (Results 1 – 3 of 3) sorted by relevance
| /spdk/test/nvme/boot_partition/ |
| H A D | boot_partition.c | 15 char *read_buf; member 80 g_ctrlr.read_buf = spdk_memzone_reserve("boot_partition", bpsize, in boot_partition_test() 83 if (g_ctrlr.read_buf == NULL) { in boot_partition_test() 104 rc = spdk_nvme_ctrlr_read_boot_partition_start(ctrlr, g_ctrlr.read_buf, in boot_partition_test() 123 rc = memcmp(g_ctrlr.write_buf, g_ctrlr.read_buf, bpsize); in boot_partition_test() 147 rc = spdk_nvme_ctrlr_read_boot_partition_start(ctrlr, g_ctrlr.read_buf, in boot_partition_test() 166 rc = memcmp(g_ctrlr.write_buf, g_ctrlr.read_buf, bpsize); in boot_partition_test()
|
| /spdk/test/app/fuzz/llvm_vfio_fuzz/ |
| H A D | llvm_vfio_fuzz.c | 57 char *read_buf; member 337 if (memcmp(io->read_buf, io->write_buf, io->buf_size)) { in read_complete() 367 io->read_buf, io->lba_num, 1, in write_complete() 384 spdk_free(io->read_buf); in terminate_io_thread() 512 g_io_thread.read_buf = spdk_zmalloc(g_io_thread.buf_size, 0x1000, NULL, in init_io() 518 if (!g_io_thread.write_buf || !g_io_thread.read_buf) { in init_io()
|
| /spdk/test/bdev/bdevio/ |
| H A D | bdevio.c | 1096 void *write_buf, *read_buf; in blockdev_test_nvme_passthru_rw() local 1124 read_buf = spdk_zmalloc(pt_req.len, 0, NULL, SPDK_ENV_LCORE_ID_ANY, SPDK_MALLOC_DMA); in blockdev_test_nvme_passthru_rw() 1125 pt_req.buf = read_buf; in blockdev_test_nvme_passthru_rw() 1133 CU_ASSERT(!memcmp(read_buf, write_buf, pt_req.len)); in blockdev_test_nvme_passthru_rw() 1134 spdk_free(read_buf); in blockdev_test_nvme_passthru_rw()
|