Home
last modified time | relevance | path

Searched refs:bdev_ch (Results 1 – 6 of 6) sorted by relevance

/spdk/test/unit/lib/bdev/mt/bdev.c/
H A Dbdev_ut.c675 struct spdk_bdev_channel *bdev_ch[2]; in aborted_reset_no_outstanding_io()
692 bdev_ch[0] = spdk_io_channel_get_ctx(io_ch[0]); in aborted_reset_no_outstanding_io()
693 bdev[0] = bdev_ch[0]->bdev; in aborted_reset_no_outstanding_io()
706 bdev_ch[1] = spdk_io_channel_get_ctx(io_ch[1]); in aborted_reset_no_outstanding_io()
707 bdev[1] = bdev_ch[1]->bdev; in aborted_reset_no_outstanding_io()
736 struct spdk_bdev_channel *bdev_ch[2]; in io_during_reset()
748 bdev_ch[0] = spdk_io_channel_get_ctx(io_ch[0]); in io_during_reset()
749 CU_ASSERT(bdev_ch[0]->flags == 0); in io_during_reset()
756 bdev_ch[1] = spdk_io_channel_get_ctx(io_ch[1]); in io_during_reset()
757 CU_ASSERT(bdev_ch[ in io_during_reset()
671 struct spdk_bdev_channel *bdev_ch[2]; aborted_reset_no_outstanding_io() local
732 struct spdk_bdev_channel *bdev_ch[2]; io_during_reset() local
855 struct spdk_bdev_channel *bdev_ch; reset_completions() local
992 struct spdk_bdev_channel *bdev_ch[2]; basic_qos() local
1165 struct spdk_bdev_channel *bdev_ch[2]; io_during_qos_queue() local
1268 struct spdk_bdev_channel *bdev_ch[2]; io_during_qos_reset() local
1360 struct spdk_bdev_channel *bdev_ch; enomem() local
1456 struct spdk_bdev_channel *bdev_ch; enomem_multi_bdev() local
1529 struct spdk_bdev_channel *bdev_ch; enomem_multi_bdev_unregister() local
1583 struct spdk_bdev_channel *bdev_ch; enomem_multi_io_target() local
1672 struct spdk_bdev_channel *bdev_ch[2]; qos_dynamic_enable() local
2005 struct spdk_bdev_channel *bdev_ch[3]; bdev_set_io_timeout_mt() local
2216 struct spdk_bdev_channel *bdev_ch[3]; lock_lba_range_then_submit_io() local
2658 struct spdk_bdev_channel *bdev_ch; unregister_and_qos_poller() local
[all...]
/spdk/module/bdev/zone_block/
H A Dvbdev_zone_block.c593 struct zone_block_io_channel *bdev_ch = ctx_buf; in _zone_block_ch_create_cb() local
596 bdev_ch->base_ch = spdk_bdev_get_io_channel(bdev_node->base_desc); in _zone_block_ch_create_cb()
597 if (!bdev_ch->base_ch) { in _zone_block_ch_create_cb()
607 struct zone_block_io_channel *bdev_ch = ctx_buf; in _zone_block_ch_destroy_cb() local
609 spdk_put_io_channel(bdev_ch->base_ch); in _zone_block_ch_destroy_cb()
/spdk/lib/ublk/
H A Dublk.c89 struct spdk_io_channel *bdev_ch;
113 struct spdk_io_channel *bdev_ch;
1072 spdk_put_io_channel(q->bdev_ch); in ublk_stop_disk()
1073 q->bdev_ch = NULL; in ublk_stop_disk()
1202 rc = spdk_bdev_queue_io_wait(bdev, q->bdev_ch, &io->bdev_io_wait); in ublk_io_get_buffer_cb()
1250 struct spdk_io_channel *ch = io->bdev_ch; in _ublk_submit_bdev_io()
1654 assert(q->bdev_ch != NULL); in ublk_dev_queue_io_init()
1661 io->bdev_ch = q->bdev_ch; in ublk_set_params()
1879 q->bdev_ch in ublk_start_disk()
88 struct spdk_io_channel *bdev_ch; global() member
112 struct spdk_io_channel *bdev_ch; global() member
[all...]
/spdk/lib/scsi/
H A Dscsi_bdev.c1173 struct spdk_io_channel *bdev_ch, struct spdk_scsi_task *task, in bdev_scsi_sync() argument
1195 rc = spdk_bdev_flush_blocks(bdev_desc, bdev_ch, lba, num_blocks, in bdev_scsi_sync()
1236 struct spdk_io_channel *bdev_ch, struct spdk_scsi_task *task, in bdev_scsi_readwrite() argument
1299 rc = spdk_bdev_readv_blocks(bdev_desc, bdev_ch, task->iovs, task->iovcnt, in bdev_scsi_readwrite()
1324 rc = spdk_bdev_comparev_and_writev_blocks(bdev_desc, bdev_ch, iov, 1, in bdev_scsi_readwrite()
1327 rc = spdk_bdev_writev_blocks(bdev_desc, bdev_ch, task->iovs, task->iovcnt, in bdev_scsi_readwrite()
1577 struct spdk_io_channel *bdev_ch, struct spdk_scsi_task *task, in bdev_scsi_write_same() argument
/spdk/test/unit/lib/bdev/bdev.c/
H A Dbdev_ut.c4594 struct spdk_bdev_channel *bdev_ch = NULL; in bdev_set_io_timeout()
4607 bdev_ch = spdk_io_channel_get_ctx(io_ch); in bdev_set_io_timeout()
4608 CU_ASSERT(TAILQ_EMPTY(&bdev_ch->io_submitted)); in bdev_set_io_timeout()
4611 * We will check the bdev_ch->io_submitted list in bdev_set_io_timeout()
4615 CU_ASSERT(bdev_channel_count_submitted_io(bdev_ch) == 1); in bdev_set_io_timeout()
4617 CU_ASSERT(bdev_channel_count_submitted_io(bdev_ch) == 2); in bdev_set_io_timeout()
4619 CU_ASSERT(bdev_channel_count_submitted_io(bdev_ch) == 1); in bdev_set_io_timeout()
4621 CU_ASSERT(bdev_channel_count_submitted_io(bdev_ch) == 0); in bdev_set_io_timeout()
4636 CU_ASSERT(bdev_channel_count_submitted_io(bdev_ch) == 3); in bdev_set_io_timeout()
4638 CU_ASSERT(bdev_channel_count_submitted_io(bdev_ch) in bdev_set_io_timeout()
4588 struct spdk_bdev_channel *bdev_ch = NULL; bdev_set_io_timeout() local
4730 struct spdk_bdev_channel *bdev_ch = NULL; bdev_set_qd_sampling() local
5540 struct spdk_bdev_channel *bdev_ch; bdev_unmap() local
5637 struct spdk_bdev_channel *bdev_ch; bdev_write_zeroes_split_test() local
6439 struct spdk_bdev_channel *bdev_ch; bdev_copy_split_test() local
[all...]
/spdk/test/unit/lib/blob/blob.c/
H A Dblob_ut.c9547 struct spdk_io_channel *bdev_ch, *blob_ch; in blob_set_parent()
9642 bdev_ch = ext_dev->create_channel(ext_dev); in blob_set_parent()
9643 SPDK_CU_ASSERT_FATAL(bdev_ch != NULL); 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()
9675 ext_dev->read(ext_dev, bdev_ch, buf2, offset, 1, &ext_args); in blob_set_parent()
9682 ext_dev->read(ext_dev, bdev_ch, buf2, offset, 1, &ext_args); in blob_set_parent()
9689 ext_dev->read(ext_dev, bdev_ch, buf2, offset, 1, &ext_args);
9696 ext_dev->destroy_channel(ext_dev, bdev_ch); in blob_set_external_parent()
9377 struct spdk_io_channel *bdev_ch, *blob_ch; blob_shallow_copy() local