| /spdk/test/unit/lib/blob/blob_bdev.c/ |
| H A D | blob_bdev_ut.c | 22 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, void *buf, 26 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, void *buf, 30 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, struct iovec *iov, int iovcnt, 34 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, struct iovec *iov, int iovcnt, 38 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, struct iovec *iov, int iovcnt, 42 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, struct iovec *iov, int iovcnt, 46 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, uint64_t offset_blocks, 49 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, uint64_t offset_blocks, 52 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, uint64_t dst_offset_blocks, 81 spdk_bdev_get_io_channel(struct spdk_bdev_desc *desc) in spdk_bdev_get_io_channel() 80 spdk_bdev_get_io_channel(struct spdk_bdev_desc * desc) spdk_bdev_get_io_channel() argument 111 struct spdk_bdev_desc *desc; spdk_bdev_open_ext() local 133 spdk_bdev_close(struct spdk_bdev_desc * desc) spdk_bdev_close() argument 149 spdk_bdev_desc_get_bdev(struct spdk_bdev_desc * desc) spdk_bdev_desc_get_bdev() argument 168 spdk_bdev_module_claim_bdev_desc(struct spdk_bdev_desc * desc,enum spdk_bdev_claim_type type,struct spdk_bdev_claim_opts * opts,struct spdk_bdev_module * module) spdk_bdev_module_claim_bdev_desc() argument [all...] |
| /spdk/lib/idxd/ |
| H A D | idxd.c | 55 movdir64b(chan->portal + chan->portal_offset, op->desc); in _submit_to_hw() 156 struct idxd_hw_desc *desc; in _dsa_alloc_batches() local 170 batch->user_desc = desc = spdk_zmalloc(batch->size * sizeof(struct idxd_hw_desc), in _dsa_alloc_batches() 194 rc = _vtophys(chan, &op->hw, &desc->completion_addr, sizeof(struct dsa_hw_comp_record)); in _dsa_alloc_batches() 200 desc++; in _dsa_alloc_batches() 221 struct idxd_hw_desc *desc; in spdk_idxd_get_channel() local 258 chan->desc_base = desc = spdk_zmalloc(num_descriptors * sizeof(struct idxd_hw_desc), in spdk_idxd_get_channel() 285 op->desc = desc; in spdk_idxd_get_channel() 286 rc = _vtophys(chan, &op->hw, &desc in spdk_idxd_get_channel() 409 struct idxd_hw_desc *desc; _idxd_prep_command() local 443 struct idxd_hw_desc *desc; _idxd_prep_batch_cmd() local 546 struct idxd_hw_desc *desc; idxd_batch_submit() local 640 _update_write_flags(struct spdk_idxd_io_channel * chan,struct idxd_hw_desc * desc) _update_write_flags() argument 651 struct idxd_hw_desc *desc; spdk_idxd_submit_copy() local 728 struct idxd_hw_desc *desc; spdk_idxd_submit_dualcast() local 825 struct idxd_hw_desc *desc; spdk_idxd_submit_compare() local 901 struct idxd_hw_desc *desc; spdk_idxd_submit_fill() local 981 struct idxd_hw_desc *desc; spdk_idxd_submit_crc32c() local 1075 struct idxd_hw_desc *desc; spdk_idxd_submit_copy_crc32c() local 1167 struct idxd_hw_desc *desc; _idxd_submit_compress_single() local 1235 struct idxd_hw_desc *desc; _idxd_submit_decompress_single() local 1464 struct idxd_hw_desc *desc; spdk_idxd_submit_dif_check() local 1646 struct idxd_hw_desc *desc; spdk_idxd_submit_dif_insert() local 1766 struct idxd_hw_desc *desc; spdk_idxd_submit_dif_strip() local 1863 struct idxd_hw_desc *desc; spdk_idxd_submit_raw_desc() local [all...] |
| /spdk/test/unit/lib/bdev/bdev.c/ |
| H A D | bdev_ut.c | 674 struct spdk_bdev_desc *desc = *(struct spdk_bdev_desc **)event_ctx; in bdev_open_cb1() local 678 spdk_bdev_close(desc); in bdev_open_cb1() 685 struct spdk_bdev_desc *desc = *(struct spdk_bdev_desc **)event_ctx; in bdev_open_cb2() local 689 spdk_bdev_close(desc); in bdev_open_cb2() 737 struct spdk_bdev_desc *desc[9] = {}; in open_write_test() local 804 rc = spdk_bdev_open_ext("bdev0", false, bdev_ut_event_cb, NULL, &desc[0]); in open_write_test() 806 SPDK_CU_ASSERT_FATAL(desc[0] != NULL); in open_write_test() 807 CU_ASSERT(bdev[0] == spdk_bdev_desc_get_bdev(desc[0])); in open_write_test() 808 spdk_bdev_close(desc[0]); in open_write_test() 814 rc = spdk_bdev_open_ext("bdev1", true, bdev_ut_event_cb, NULL, &desc[ in open_write_test() 875 struct spdk_bdev_desc *desc, *open_desc; claim_test() local 966 struct spdk_bdev_desc *desc = NULL; num_blocks_test() local 1149 struct spdk_bdev_desc *desc; global() member 1168 struct spdk_bdev_desc *desc = NULL; bdev_io_types_test() local 1220 struct spdk_bdev_desc *desc = NULL; bdev_io_wait_test() local 1377 struct spdk_bdev_desc *desc = NULL; bdev_io_boundary_split_test() local 2027 struct spdk_bdev_desc *desc = NULL; bdev_io_max_size_and_segment_split_test() local 2717 struct spdk_bdev_desc *desc = NULL; bdev_io_mix_split_test() local 2982 struct spdk_bdev_desc *desc = NULL; bdev_io_split_with_io_wait() local 3115 struct spdk_bdev_desc *desc = NULL; bdev_io_write_unit_split_test() local 3232 struct spdk_bdev_desc *desc = NULL; bdev_io_alignment() local 3449 struct spdk_bdev_desc *desc = NULL; bdev_io_alignment_with_boundary() local 3618 struct spdk_bdev_desc *desc = NULL; bdev_histograms() local 3714 struct spdk_bdev_desc *desc = NULL; _bdev_compare() local 3827 struct spdk_bdev_desc *desc = NULL; _bdev_compare_with_md() local 3996 struct spdk_bdev_desc *desc = NULL; bdev_compare_and_write() local 4103 struct spdk_bdev_desc *desc = NULL; bdev_write_zeroes() local 4210 struct spdk_bdev_desc *desc = NULL; bdev_zcopy_write() local 4292 struct spdk_bdev_desc *desc = NULL; bdev_zcopy_read() local 4376 struct spdk_bdev_desc *desc[2] = {}; bdev_open_while_hotremove() local 4402 struct spdk_bdev_desc *desc = NULL; bdev_close_while_hotremove() local 4586 struct spdk_bdev_desc *desc = NULL; bdev_set_io_timeout() local 4728 struct spdk_bdev_desc *desc = NULL; bdev_set_qd_sampling() local 4891 struct spdk_bdev_desc *desc = NULL; lock_lba_range_check_ranges() local 4945 struct spdk_bdev_desc *desc = NULL; lock_lba_range_with_io_outstanding() local 5039 struct spdk_bdev_desc *desc = NULL; lock_lba_range_overlapped() local 5200 struct spdk_bdev_desc *desc = NULL; bdev_quiesce() local 5352 struct spdk_bdev_desc *desc = NULL; bdev_io_abort() local 5538 struct spdk_bdev_desc *desc = NULL; bdev_unmap() local 5635 struct spdk_bdev_desc *desc = NULL; bdev_write_zeroes_split_test() local 5790 struct spdk_bdev_desc *desc = NULL; _bdev_io_ext() local 5873 struct spdk_bdev_desc *desc = NULL; bdev_io_ext_invalid_opts() local 5927 struct spdk_bdev_desc *desc = NULL; bdev_io_ext_split() local 6020 struct spdk_bdev_desc *desc = NULL; bdev_io_ext_bounce_buffer() local 6314 struct spdk_bdev_desc *desc = NULL; bdev_seek_test() local 6377 struct spdk_bdev_desc *desc = NULL; bdev_copy() local 6437 struct spdk_bdev_desc *desc = NULL; bdev_copy_split_test() local 6604 struct spdk_bdev_desc *desc; global() member 6679 struct spdk_bdev_desc *desc; claim_v2_rwo() local 6806 struct spdk_bdev_desc *desc; claim_v2_rom() local 6946 struct spdk_bdev_desc *desc; claim_v2_rwm() local 7067 struct spdk_bdev_desc *desc; claim_v2_existing_writer() local 7123 struct spdk_bdev_desc *desc; claim_v2_existing_v1() local 7167 struct spdk_bdev_desc *desc; claim_v1_existing_v2() local 7252 struct spdk_bdev_desc *desc; global() member [all...] |
| /spdk/lib/bdev/ |
| H A D | bdev_zone.c | 67 spdk_bdev_get_zone_info(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, in spdk_bdev_get_zone_info() argument 71 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in spdk_bdev_get_zone_info() 81 bdev_io->internal.desc = desc; in spdk_bdev_get_zone_info() 93 spdk_bdev_zone_management(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, in spdk_bdev_zone_management() argument 97 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in spdk_bdev_zone_management() 107 bdev_io->internal.desc = desc; in spdk_bdev_zone_management() 119 zone_bdev_append_with_md(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, in zone_bdev_append_with_md() argument 123 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in zone_bdev_append_with_md() 133 bdev_io->internal.desc = desc; in zone_bdev_append_with_md() 149 spdk_bdev_zone_append(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, in spdk_bdev_zone_append() argument [all …]
|
| /spdk/lib/ftl/upgrade/ |
| H A D | ftl_layout_upgrade.c | 59 .desc = sb_upgrade_desc, 64 .desc = sb_upgrade_desc, 70 .desc = band_upgrade_desc, 75 .desc = band_upgrade_desc, 81 .desc = nvc_upgrade_desc, 86 .desc = nvc_upgrade_desc, 93 .desc = p2l_upgrade_desc, 98 .desc = p2l_upgrade_desc, 103 .desc = p2l_upgrade_desc, 108 .desc [all...] |
| /spdk/module/vfu_device/ |
| H A D | vfu_virtio.c | 75 ret = vfu_virtio_map_q(dev, &vq->desc, phys_addr, len); in virtio_dev_map_vq() 85 vfu_virtio_unmap_q(dev, &vq->desc); in virtio_dev_map_vq() 94 vfu_virtio_unmap_q(dev, &vq->desc); in virtio_dev_map_vq() 119 vfu_virtio_unmap_q(dev, &vq->desc); in virtio_dev_unmap_vq() 132 if (vq->desc.addr >= map_start && vq->desc.addr < map_end) { in vfu_virtio_vq_should_unmap() 354 virtio_vring_split_desc_get_next(struct vring_desc **desc, in virtio_vring_split_desc_get_next() argument 358 struct vring_desc *old_desc = *desc; in virtio_vring_split_desc_get_next() 362 *desc = NULL; in virtio_vring_split_desc_get_next() 368 *desc = NULL; in virtio_vring_split_desc_get_next() 372 *desc = &desc_table[next_idx]; in virtio_vring_split_desc_get_next() [all …]
|
| H A D | vfu_virtio_internal.h | 90 struct vring_desc *desc; member 123 struct q_mapping desc; member 291 virtio_vring_split_desc_is_indirect(struct vring_desc *desc) in virtio_vring_split_desc_is_indirect() argument 293 return !!(desc->flags & VRING_DESC_F_INDIRECT); in virtio_vring_split_desc_is_indirect() 297 virtio_vring_packed_desc_is_indirect(struct vring_packed_desc *desc) in virtio_vring_packed_desc_is_indirect() argument 299 return !!(desc->flags & VRING_DESC_F_INDIRECT); in virtio_vring_packed_desc_is_indirect() 303 virtio_vring_split_desc_is_wr(struct vring_desc *desc) in virtio_vring_split_desc_is_wr() argument 305 return !!(desc->flags & VRING_DESC_F_WRITE); in virtio_vring_split_desc_is_wr() 309 virtio_vring_packed_desc_is_wr(struct vring_packed_desc *desc) in virtio_vring_packed_desc_is_wr() argument 311 return !!(desc in virtio_vring_packed_desc_is_wr() 315 virtio_vring_packed_is_avail(struct vring_packed_desc * desc,bool avail_phase) virtio_vring_packed_is_avail() argument 331 virtio_vring_packed_is_used(struct vring_packed_desc * desc,bool used_phase) virtio_vring_packed_is_used() argument [all...] |
| /spdk/lib/vhost/ |
| H A D | rte_vhost_user.c | 69 struct vring_desc *desc, *desc_table; in vhost_log_req_desc() local 77 rc = vhost_vq_get_desc(vsession, virtqueue, req_id, &desc, &desc_table, &desc_table_size); in vhost_log_req_desc() 84 if (vhost_vring_desc_is_wr(desc)) { in vhost_log_req_desc() 89 rte_vhost_log_write(vsession->vid, desc->addr, desc->len); in vhost_log_req_desc() 91 vhost_vring_desc_get_next(&desc, desc_table, desc_table_size); in vhost_log_req_desc() 92 } while (desc); in vhost_log_req_desc() 223 uint16_t req_idx, struct vring_desc **desc, struct vring_desc **desc_table, in vhost_vq_get_desc() argument 230 *desc = &virtqueue->vring.desc[req_id in vhost_vq_get_desc() 269 vhost_vq_get_desc_packed(struct spdk_vhost_session * vsession,struct spdk_vhost_virtqueue * virtqueue,uint16_t req_idx,struct vring_packed_desc ** desc,struct vring_packed_desc ** desc_table,uint32_t * desc_table_size) vhost_vq_get_desc_packed() argument 297 vhost_inflight_queue_get_desc(struct spdk_vhost_session * vsession,spdk_vhost_inflight_desc * desc_array,uint16_t req_idx,spdk_vhost_inflight_desc ** desc,struct vring_packed_desc ** desc_table,uint32_t * desc_table_size) vhost_inflight_queue_get_desc() argument 490 struct vring_packed_desc *desc = &virtqueue->vring.desc_packed[virtqueue->last_used_idx]; global() local 577 vhost_vring_packed_desc_get_next(struct vring_packed_desc ** desc,uint16_t * req_idx,struct spdk_vhost_virtqueue * vq,struct vring_packed_desc * desc_table,uint32_t desc_table_size) global() argument 641 vhost_vring_packed_desc_to_iov(struct spdk_vhost_session * vsession,struct iovec * iov,uint16_t * iov_index,const struct vring_packed_desc * desc) global() argument 649 vhost_vring_inflight_desc_to_iov(struct spdk_vhost_session * vsession,struct iovec * iov,uint16_t * iov_index,const spdk_vhost_inflight_desc * desc) global() argument 663 struct vring_packed_desc *desc; global() local 690 vhost_vring_desc_get_next(struct vring_desc ** desc,struct vring_desc * desc_table,uint32_t desc_table_size) global() argument 713 vhost_vring_desc_to_iov(struct spdk_vhost_session * vsession,struct iovec * iov,uint16_t * iov_index,const struct vring_desc * desc) global() argument [all...] |
| H A D | vhost_scsi.c | 278 struct vring_desc *desc, *desc_table; in eventq_enqueue() local 287 if (vq->vring.desc == NULL || vhost_vq_avail_ring_get(vq, &req, 1) != 1) { in eventq_enqueue() 293 rc = vhost_vq_get_desc(vsession, vq, req, &desc, &desc_table, &desc_table_size); in eventq_enqueue() 294 if (rc != 0 || desc->len < sizeof(*desc_ev)) { in eventq_enqueue() 300 desc_ev = vhost_gpa_to_vva(vsession, desc->addr, sizeof(*desc_ev)); in eventq_enqueue() 304 vsession->name, req, (void *)(uintptr_t)desc->addr); in eventq_enqueue() 429 struct vring_desc *desc, *desc_table; in process_ctrl_request() local 436 rc = vhost_vq_get_desc(vsession, task->vq, task->req_idx, &desc, &desc_table, in process_ctrl_request() 444 ctrl_req = vhost_gpa_to_vva(vsession, desc->addr, sizeof(*ctrl_req)); in process_ctrl_request() 452 "Processing controlq descriptor: desc in process_ctrl_request() 532 struct vring_desc *desc, *desc_table; task_data_setup() local [all...] |
| /spdk/lib/scsi/ |
| H A D | lun.c | 308 struct spdk_scsi_lun_desc *desc, *tmp; in scsi_lun_notify_hot_remove() local 314 TAILQ_FOREACH_SAFE(desc, &lun->open_descs, link, tmp) { in scsi_lun_notify_hot_remove() 315 if (desc->hotremove_cb) { in scsi_lun_notify_hot_remove() 316 desc->hotremove_cb(lun, desc->hotremove_ctx); in scsi_lun_notify_hot_remove() 318 spdk_scsi_lun_close(desc); in scsi_lun_notify_hot_remove() 483 struct spdk_scsi_lun_desc *desc; in spdk_scsi_lun_open() local 485 desc = calloc(1, sizeof(*desc)); in spdk_scsi_lun_open() 486 if (desc == NULL) { in spdk_scsi_lun_open() 491 TAILQ_INSERT_TAIL(&lun->open_descs, desc, link); in spdk_scsi_lun_open() 493 desc->lun = lun; in spdk_scsi_lun_open() [all …]
|
| /spdk/lib/ftl/mngt/ |
| H A D | ftl_mngt.c | 23 const struct ftl_mngt_step_desc *desc; member 42 const struct ftl_mngt_process_desc *desc; member 49 struct ftl_mngt_step_desc desc; member 75 const struct ftl_mngt_step_desc *desc) in init_step() argument 85 if (desc->ctx_size) { in init_step() 86 step->ctx = calloc(1, desc->ctx_size); in init_step() 92 step->desc = desc; in init_step() 148 mngt->desc = pdesc; in allocate_mngt() 191 mngt->cleanup.step.desc = &mngt->cleanup.desc; in _ftl_mngt_process_execute() 192 mngt->cleanup.desc.name = "Handle ERROR"; in _ftl_mngt_process_execute() [all …]
|
| /spdk/test/unit/lib/bdev/raid/raid1.c/ |
| H A D | raid1_ut.c | 36 spdk_bdev_readv_blocks_ext(struct spdk_bdev_desc *desc, in spdk_bdev_readv_blocks_ext() 41 g_last_io_desc = desc; in spdk_bdev_readv_blocks_ext() 48 spdk_bdev_writev_blocks_ext(struct spdk_bdev_desc *desc, in spdk_bdev_writev_blocks_ext() 53 g_last_io_desc = desc; in spdk_bdev_writev_blocks_ext() 279 bdev_io.bdev = base_info->desc->bdev; in _test_raid1_write_error() 297 bdev_io.bdev = base_info->desc->bdev; in _test_raid1_write_error() 311 bdev_io.bdev = base_info->desc->bdev; in _test_raid1_write_error() 341 CU_ASSERT(g_last_io_desc == base_info->desc); in _test_raid1_read_error() 347 CU_ASSERT(g_last_io_desc == raid_bdev->base_bdev_info[1].desc); in _test_raid1_read_error() 352 CU_ASSERT(g_last_io_desc == base_info->desc); in _test_raid1_read_error() 35 spdk_bdev_readv_blocks_ext(struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct iovec * iov,int iovcnt,uint64_t offset_blocks,uint64_t num_blocks,spdk_bdev_io_completion_cb cb,void * cb_arg,struct spdk_bdev_ext_io_opts * opts) spdk_bdev_readv_blocks_ext() argument 47 spdk_bdev_writev_blocks_ext(struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct iovec * iov,int iovcnt,uint64_t offset_blocks,uint64_t num_blocks,spdk_bdev_io_completion_cb cb,void * cb_arg,struct spdk_bdev_ext_io_opts * opts) spdk_bdev_writev_blocks_ext() argument [all...] |
| /spdk/test/unit/lib/bdev/bdev_zone.c/ |
| H A D | bdev_zone_ut.c | 21 struct spdk_bdev_desc *desc; member 187 spdk_bdev_get_io_channel(struct spdk_bdev_desc *desc) in spdk_bdev_get_io_channel() argument 199 spdk_bdev_desc_get_bdev(struct spdk_bdev_desc *desc) in spdk_bdev_desc_get_bdev() argument 328 struct spdk_bdev_desc *desc = NULL; \ 332 rc = spdk_bdev_open_ext(bdev.name, true, NULL, NULL, &desc); \ 334 SPDK_CU_ASSERT_FATAL(desc != NULL); \ 335 ch = spdk_bdev_get_io_channel(desc); \ 348 …rc = spdk_bdev_get_zone_info(desc, ch, g_expected_zone_id, g_expected_num_zones, &g_zone_info, NUL… in test_bdev_zone_get_info() 369 rc = spdk_bdev_zone_management(desc, ch, g_expected_zone_id, g_zone_action, NULL, in test_bdev_zone_management() 389 rc = spdk_bdev_zone_append(desc, ch, g_buf, g_start_lba, g_num_blocks, NULL, NULL); in test_bdev_zone_append() [all …]
|
| /spdk/lib/ioat/ |
| H A D | ioat.c | 118 struct ioat_descriptor **desc, in ioat_get_ring_entry() argument 123 *desc = &ioat->ring[i]; in ioat_get_ring_entry() 147 struct ioat_descriptor *desc; in ioat_prep_null() local 154 ioat_get_ring_entry(ioat, ioat->head, &desc, &hw_desc); in ioat_prep_null() 164 desc->callback_fn = NULL; in ioat_prep_null() 165 desc->callback_arg = NULL; in ioat_prep_null() 169 return desc; in ioat_prep_null() 176 struct ioat_descriptor *desc; in ioat_prep_copy() local 185 ioat_get_ring_entry(ioat, ioat->head, &desc, &hw_desc); in ioat_prep_copy() 194 desc in ioat_prep_copy() 206 struct ioat_descriptor *desc; ioat_prep_fill() local 293 struct ioat_descriptor *desc; ioat_process_channel_events() local [all...] |
| /spdk/test/unit/lib/nvmf/auth.c/ |
| H A D | auth_ut.c | 269 struct spdk_nvmf_auth_descriptor *desc; in test_auth_negotiate() local 276 ut_prep_send_cmd(&req, &cmd, msgbuf, sizeof(*msg) + sizeof(*desc)); in test_auth_negotiate() 286 desc = &msg->descriptors[0]; in test_auth_negotiate() 287 desc->auth_id = SPDK_NVMF_AUTH_TYPE_DHCHAP; in test_auth_negotiate() 288 desc->halen = 3; in test_auth_negotiate() 289 desc->hash_id_list[0] = SPDK_NVMF_DHCHAP_HASH_SHA256; in test_auth_negotiate() 290 desc->hash_id_list[1] = SPDK_NVMF_DHCHAP_HASH_SHA384; in test_auth_negotiate() 291 desc->hash_id_list[2] = SPDK_NVMF_DHCHAP_HASH_SHA512; in test_auth_negotiate() 292 desc->dhlen = 6; in test_auth_negotiate() 293 desc in test_auth_negotiate() 530 struct spdk_nvmf_auth_descriptor *desc; test_auth_timeout() local [all...] |
| /spdk/lib/log/ |
| H A D | log_deprecated.c | 13 const char desc[64]; member 52 assert(strnlen(description, sizeof(dep->desc)) < sizeof(dep->desc)); in spdk_log_deprecation_register() 61 snprintf((char *)dep->desc, sizeof(dep->desc), "%s", description); in spdk_log_deprecation_register() 99 dep->tag, dep->desc, dep->remove); in spdk_log_deprecated() 131 return deprecation->desc; in spdk_deprecation_get_description()
|
| /spdk/lib/ftl/base/ |
| H A D | ftl_base_dev.h | 59 #define FTL_BASE_DEVICE_TYPE_REGISTER(desc) \ argument 60 static void __attribute__((constructor)) ftl_base_device_register_##desc(void) \ 62 ftl_base_device_register(&desc); \ 70 void ftl_base_device_register(struct ftl_base_device_type *desc);
|
| /spdk/include/spdk/ |
| H A D | bdev_zone.h | 152 int spdk_bdev_get_zone_info(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 174 int spdk_bdev_zone_management(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 197 int spdk_bdev_zone_append(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 223 int spdk_bdev_zone_appendv(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 250 int spdk_bdev_zone_append_with_md(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 280 int spdk_bdev_zone_appendv_with_md(struct spdk_bdev_desc *desc, struct spdk_io_channel *ch,
|
| /spdk/lib/ftl/ |
| H A D | ftl_nv_cache_io.h | 15 struct spdk_bdev_desc *desc, in ftl_nv_cache_bdev_read_blocks_with_md() argument 21 if (spdk_bdev_get_md_size(spdk_bdev_desc_get_bdev(desc))) { in ftl_nv_cache_bdev_read_blocks_with_md() 22 return spdk_bdev_read_blocks_with_md(desc, ch, buf, md ? : g_ftl_read_buf, in ftl_nv_cache_bdev_read_blocks_with_md() 25 return spdk_bdev_read_blocks(desc, ch, buf, offset_blocks, num_blocks, 32 struct spdk_bdev_desc *desc, in ftl_nv_cache_bdev_write_blocks_with_md() 38 if (spdk_bdev_get_md_size(spdk_bdev_desc_get_bdev(desc))) { 39 return spdk_bdev_write_blocks_with_md(desc, ch, buf, md ? : g_ftl_write_buf, 42 return spdk_bdev_write_blocks(desc, ch, buf, offset_blocks, num_blocks, 28 ftl_nv_cache_bdev_write_blocks_with_md(struct spdk_ftl_dev * dev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,void * buf,void * md,uint64_t offset_blocks,uint64_t num_blocks,spdk_bdev_io_completion_cb cb,void * cb_arg) ftl_nv_cache_bdev_write_blocks_with_md() argument
|
| /spdk/test/unit/lib/bdev/raid/ |
| H A D | common.c | 67 spdk_bdev_desc_get_bdev(struct spdk_bdev_desc *desc) in spdk_bdev_desc_get_bdev() argument 69 return desc->bdev; in spdk_bdev_desc_get_bdev() 148 struct spdk_bdev_desc *desc; in raid_test_create_raid_bdev() local 158 desc = calloc(1, sizeof(*desc)); in raid_test_create_raid_bdev() 159 SPDK_CU_ASSERT_FATAL(desc != NULL); in raid_test_create_raid_bdev() 160 desc->bdev = bdev; in raid_test_create_raid_bdev() 163 base_info->desc = desc; in raid_test_create_raid_bdev() 177 free(base_info->desc->bdev); in raid_test_delete_raid_bdev() 178 free(base_info->desc); in raid_test_delete_raid_bdev()
|
| /spdk/lib/virtio/ |
| H A D | virtio.c | 56 vring_desc_init(vr->desc, size); in virtio_init_vring() 307 dp = &vq->vq_ring.desc[desc_idx]; in vq_ring_free_chain() 313 dp = &vq->vq_ring.desc[dp->next]; in vq_ring_free_chain() 326 dp_tail = &vq->vq_ring.desc[vq->vq_desc_tail_idx]; in vq_ring_free_chain() 371 struct vring_desc *desc; in finish_req() local 374 desc = &vq->vq_ring.desc[vq->req_end]; in finish_req() 375 desc->flags &= ~VRING_DESC_F_NEXT; in finish_req() 453 struct vring_desc *desc; in virtqueue_req_abort() local 460 desc = &vq->vq_ring.desc[vq->req_end]; in virtqueue_req_abort() 461 desc->flags &= ~VRING_DESC_F_NEXT; in virtqueue_req_abort() [all …]
|
| /spdk/test/unit/lib/nvmf/ctrlr_bdev.c/ |
| H A D | ctrlr_bdev_ut.c | 29 DEFINE_STUB(spdk_bdev_comparev_blocks, int, (struct spdk_bdev_desc *desc, 34 DEFINE_STUB(spdk_bdev_readv_blocks_ext, int, (struct spdk_bdev_desc *desc, 39 DEFINE_STUB(spdk_bdev_writev_blocks_ext, int, (struct spdk_bdev_desc *desc, 45 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 50 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 140 spdk_bdev_desc_get_md_size(struct spdk_bdev_desc *desc) 142 return spdk_bdev_get_md_size(desc->bdev); 146 spdk_bdev_desc_is_md_interleaved(struct spdk_bdev_desc *desc) 148 return spdk_bdev_is_md_interleaved(desc->bdev); 155 spdk_bdev_desc_get_dif_type(struct spdk_bdev_desc *desc) 368 struct spdk_bdev_desc *desc = NULL; test_spdk_nvmf_bdev_ctrlr_compare_and_write_cmd() local 574 struct spdk_bdev_desc *desc = NULL; test_nvmf_bdev_ctrlr_zcopy_start() local 866 struct spdk_bdev_desc *desc = NULL; test_nvmf_bdev_ctrlr_nvme_passthru() local [all...] |
| /spdk/test/unit/lib/vhost/vhost.c/ |
| H A D | vhost_ut.c | 85 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 91 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 97 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 111 void *event_ctx, struct spdk_bdev_desc **desc), 0); 113 (struct spdk_bdev_desc *desc), NULL); 114 DEFINE_STUB_V(spdk_bdev_close, (struct spdk_bdev_desc *desc)); 118 DEFINE_STUB(spdk_bdev_get_io_channel, struct spdk_io_channel *, (struct spdk_bdev_desc *desc), 0); 120 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 125 (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, 283 struct vring_desc desc; in desc_to_iov_test() local [all...] |
| /spdk/lib/nvmf/ |
| H A D | ctrlr_bdev.c | 123 struct spdk_bdev_desc *desc = ns->desc; in nvmf_bdev_ctrlr_identify_ns() 138 nsdata->lbaf[0].ms = spdk_bdev_desc_get_md_size(desc); in nvmf_bdev_ctrlr_identify_ns() 139 nsdata->lbaf[0].lbads = spdk_u32log2(spdk_bdev_desc_get_block_size(desc)); in nvmf_bdev_ctrlr_identify_ns() 144 nsdata->dps.md_start = spdk_bdev_desc_is_dif_head_of_md(desc); in nvmf_bdev_ctrlr_identify_ns() 220 struct spdk_bdev_desc *desc = ns->desc; in nvmf_bdev_ctrlr_get_rw_ext_params() 224 if (spdk_bdev_desc_get_dif_type(desc) == SPDK_DIF_DISABLE) { in nvmf_bdev_ctrlr_lba_in_range() 228 pif = spdk_bdev_desc_get_dif_pi_format(desc); in nvmf_bdev_ctrlr_lba_in_range() 356 nvmf_bdev_ctrlr_read_cmd(struct spdk_bdev *bdev, struct spdk_bdev_desc *desc, in nvmf_bdev_ctrlr_write_cmd() 282 nvmf_bdev_ctrlr_read_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_read_cmd() argument 334 nvmf_bdev_ctrlr_write_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_write_cmd() argument 387 nvmf_bdev_ctrlr_compare_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_compare_cmd() argument 431 nvmf_bdev_ctrlr_compare_and_write_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * cmp_req,struct spdk_nvmf_request * write_req) nvmf_bdev_ctrlr_compare_and_write_cmd() argument 486 nvmf_bdev_ctrlr_write_zeroes_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_write_zeroes_cmd() argument 536 nvmf_bdev_ctrlr_flush_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_flush_cmd() argument 568 struct spdk_bdev_desc *desc; global() member 609 struct spdk_bdev_desc *desc = unmap_ctx->desc; nvmf_bdev_ctrlr_unmap_resubmit() local 617 nvmf_bdev_ctrlr_unmap(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req,struct nvmf_bdev_ctrlr_unmap * unmap_ctx) nvmf_bdev_ctrlr_unmap() argument 701 nvmf_bdev_ctrlr_dsm_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_dsm_cmd() argument 717 nvmf_bdev_ctrlr_copy_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_copy_cmd() argument 782 nvmf_bdev_ctrlr_nvme_passthru_io(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_nvme_passthru_io() argument 805 spdk_nvmf_bdev_ctrlr_nvme_passthru_admin(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req,spdk_nvmf_nvme_passthru_cmd_cb cb_fn) spdk_nvmf_bdev_ctrlr_nvme_passthru_admin() argument 855 spdk_nvmf_bdev_ctrlr_abort_cmd(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req,struct spdk_nvmf_request * req_to_abort) spdk_nvmf_bdev_ctrlr_abort_cmd() argument 951 nvmf_bdev_ctrlr_zcopy_start(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_io_channel * ch,struct spdk_nvmf_request * req) nvmf_bdev_ctrlr_zcopy_start() argument [all...] |
| /spdk/module/blob/bdev/ |
| H A D | blob_bdev.c | 20 struct spdk_bdev_desc *desc; member 44 return ((struct blob_bdev *)dev)->desc; in __get_desc() 342 struct spdk_bdev_desc *desc = blob_bdev->desc; in spdk_bs_bdev_claim() 348 rc = spdk_bdev_module_claim_bdev_desc(desc, claim_type, NULL, module); in bdev_blob_create_channel() 363 ch = spdk_bdev_get_io_channel(blob_bdev->desc); 416 struct spdk_bdev_desc *desc; in bdev_blob_destroy() 421 desc = blob_bdev->desc; in bdev_blob_destroy() 422 blob_bdev->desc in bdev_blob_destroy() 332 struct spdk_bdev_desc *desc = blob_bdev->desc; spdk_bs_bdev_claim() local 406 struct spdk_bdev_desc *desc; bdev_blob_destroy() local 476 blob_bdev_init(struct blob_bdev * b,struct spdk_bdev_desc * desc) blob_bdev_init() argument 523 struct spdk_bdev_desc *desc; spdk_bdev_create_bs_dev() local [all...] |