Lines Matching refs:write_buf
351 _blockdev_compare_and_write(struct io_target *target, char *cmp_buf, char *write_buf, in _blockdev_compare_and_write() argument
358 req.fused_buf = write_buf; in _blockdev_compare_and_write()
534 char *write_buf = NULL; in blockdev_compare_and_write() local
541 initialize_buffer(&write_buf, 0xBB, data_length, block_size); in blockdev_compare_and_write()
546 _blockdev_compare_and_write(target, tx_buf, write_buf, offset, data_length, iov_len); in blockdev_compare_and_write()
549 _blockdev_compare_and_write(target, tx_buf, write_buf, offset, data_length, iov_len); in blockdev_compare_and_write()
554 rc = blockdev_write_read_data_match(rx_buf, write_buf, data_length); in blockdev_compare_and_write()
561 spdk_free(write_buf); in blockdev_compare_and_write()
1096 void *write_buf, *read_buf; in blockdev_test_nvme_passthru_rw() local
1113 write_buf = spdk_malloc(pt_req.len, 0, NULL, SPDK_ENV_LCORE_ID_ANY, SPDK_MALLOC_DMA); in blockdev_test_nvme_passthru_rw()
1114 memset(write_buf, 0xA5, pt_req.len); in blockdev_test_nvme_passthru_rw()
1115 pt_req.buf = write_buf; in blockdev_test_nvme_passthru_rw()
1133 CU_ASSERT(!memcmp(read_buf, write_buf, pt_req.len)); in blockdev_test_nvme_passthru_rw()
1135 spdk_free(write_buf); in blockdev_test_nvme_passthru_rw()