Home
last modified time | relevance | path

Searched defs:bdev (Results 1 – 25 of 107) sorted by relevance

12345

/spdk/test/unit/lib/blob/blob_bdev.c/
H A Dblob_bdev_ut.c67 struct spdk_bdev *bdev; global() member
112 struct spdk_bdev *bdev = get_bdev(bdev_name); spdk_bdev_open_ext() local
135 struct spdk_bdev *bdev = desc->bdev; spdk_bdev_close() local
155 spdk_bdev_get_num_blocks(const struct spdk_bdev * bdev) spdk_bdev_get_num_blocks() argument
161 spdk_bdev_get_block_size(const struct spdk_bdev * bdev) spdk_bdev_get_block_size() argument
172 struct spdk_bdev *bdev = desc->bdev; spdk_bdev_module_claim_bdev_desc() local
188 init_bdev(struct spdk_bdev * bdev,const char * name,uint64_t num_blocks) init_bdev() argument
198 struct spdk_bdev bdev; create_bs_dev() local
226 struct spdk_bdev bdev; create_bs_dev_ro() local
265 struct spdk_bdev bdev; create_bs_dev_rw() local
294 struct spdk_bdev bdev; claim_bs_dev() local
341 struct spdk_bdev bdev; claim_bs_dev_ro() local
391 struct spdk_bdev bdev; deferred_destroy_refs() local
448 struct spdk_bdev bdev; deferred_destroy_channels() local
493 struct spdk_bdev bdev; deferred_destroy_threads() local
[all...]
/spdk/lib/ftl/mngt/
H A Dftl_mngt_bdev.c37 base_bdev_event_cb(enum spdk_bdev_event_type type, struct spdk_bdev *bdev, void *event_ctx) in base_bdev_event_cb()
54 struct spdk_bdev *bdev; in ftl_mngt_open_base_bdev() local
144 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(dev->base_bdev_desc); in ftl_mngt_close_base_bdev() local
161 nv_cache_bdev_event_cb(enum spdk_bdev_event_type type, struct spdk_bdev *bdev, void *event_ctx) in nv_cache_bdev_event_cb()
175 struct spdk_bdev *bdev; in ftl_mngt_open_cache_bdev() local
252 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(dev->nv_cache.bdev_desc); in ftl_mngt_close_cache_bdev() local
/spdk/lib/bdev/
H A Dbdev_zone.c15 spdk_bdev_get_zone_size(const struct spdk_bdev *bdev) in spdk_bdev_get_zone_size()
21 spdk_bdev_get_num_zones(const struct spdk_bdev *bdev) in spdk_bdev_get_num_zones()
27 spdk_bdev_get_zone_id(const struct spdk_bdev *bdev, uint64_t offset_blocks) in spdk_bdev_get_zone_id()
43 spdk_bdev_get_max_zone_append_size(const struct spdk_bdev *bdev) in spdk_bdev_get_max_zone_append_size()
49 spdk_bdev_get_max_open_zones(const struct spdk_bdev *bdev) in spdk_bdev_get_max_open_zones()
55 spdk_bdev_get_max_active_zones(const struct spdk_bdev *bdev) in spdk_bdev_get_max_active_zones()
61 spdk_bdev_get_optimal_open_zones(const struct spdk_bdev *bdev) in spdk_bdev_get_optimal_open_zones()
71 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in spdk_bdev_get_zone_info() local
97 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in spdk_bdev_zone_management() local
123 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in zone_bdev_append_with_md() local
[all …]
/spdk/test/unit/lib/nvmf/ctrlr_bdev.c/
H A Dctrlr_bdev_ut.c58 struct spdk_bdev *bdev; in spdk_bdev_get_optimal_io_boundary() argument
64 return bdev->optimal_io_boundary; in spdk_bdev_get_md_size() argument
70 return bdev->md_len; in spdk_bdev_is_md_interleaved() argument
79 spdk_bdev_get_dif_type(const struct spdk_bdev * bdev) spdk_bdev_get_dif_type() argument
89 spdk_bdev_is_dif_head_of_md(const struct spdk_bdev * bdev) spdk_bdev_is_dif_head_of_md() argument
99 spdk_bdev_get_data_block_size(const struct spdk_bdev * bdev) spdk_bdev_get_data_block_size() argument
109 spdk_bdev_get_acwu(const struct spdk_bdev * bdev) spdk_bdev_get_acwu() argument
115 spdk_bdev_get_block_size(const struct spdk_bdev * bdev) spdk_bdev_get_block_size() argument
121 spdk_bdev_get_num_blocks(const struct spdk_bdev * bdev) spdk_bdev_get_num_blocks() argument
342 struct spdk_bdev bdev = {}; test_get_dif_ctx() local
367 struct spdk_bdev bdev = {}; test_spdk_nvmf_bdev_ctrlr_compare_and_write_cmd() local
498 struct spdk_bdev bdev = {}; test_nvmf_bdev_ctrlr_identify_ns() local
573 struct spdk_bdev bdev = {}; test_nvmf_bdev_ctrlr_zcopy_start() local
659 struct spdk_bdev bdev = {}; test_nvmf_bdev_ctrlr_cmd() local
831 struct spdk_bdev bdev = {}; test_nvmf_bdev_ctrlr_read_write_cmd() local
865 struct spdk_bdev bdev = {}; test_nvmf_bdev_ctrlr_nvme_passthru() local
[all...]
/spdk/test/unit/lib/bdev/bdev.c/
H A Dbdev_ut.c510 vbdev_ut_examine_config(struct spdk_bdev * bdev) vbdev_ut_examine_config() argument
525 vbdev_ut_examine_disk(struct spdk_bdev * bdev) vbdev_ut_examine_disk() argument
576 struct spdk_bdev *bdev; allocate_bdev_ctx() local
607 struct spdk_bdev *bdev; allocate_vbdev() local
627 free_bdev(struct spdk_bdev * bdev) free_bdev() argument
636 free_vbdev(struct spdk_bdev * bdev) free_vbdev() argument
645 get_device_stat_cb(struct spdk_bdev * bdev,struct spdk_bdev_io_stat * stat,void * cb_arg,int rc) get_device_stat_cb() argument
667 bdev_ut_event_cb(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * event_ctx) bdev_ut_event_cb() argument
672 bdev_open_cb1(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * event_ctx) bdev_open_cb1() argument
683 bdev_open_cb2(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * event_ctx) bdev_open_cb2() argument
694 bdev_open_cb3(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * event_ctx) bdev_open_cb3() argument
700 bdev_open_cb4(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * event_ctx) bdev_open_cb4() argument
715 struct spdk_bdev *bdev; get_device_stat_test() local
736 struct spdk_bdev *bdev[9]; open_write_test() local
874 struct spdk_bdev *bdev; claim_test() local
929 struct spdk_bdev bdev; bytes_to_blocks_test() local
965 struct spdk_bdev *bdev; num_blocks_test() local
1013 struct spdk_bdev bdev; io_valid_test() local
1043 struct spdk_bdev *bdev[3]; alias_add_del_test() local
1167 struct spdk_bdev *bdev; bdev_io_types_test() local
1219 struct spdk_bdev *bdev; bdev_io_wait_test() local
1294 struct spdk_bdev bdev; bdev_io_spans_split_test() local
1376 struct spdk_bdev *bdev; bdev_io_boundary_split_test() local
2026 struct spdk_bdev *bdev; bdev_io_max_size_and_segment_split_test() local
2716 struct spdk_bdev *bdev; bdev_io_mix_split_test() local
2981 struct spdk_bdev *bdev; bdev_io_split_with_io_wait() local
3114 struct spdk_bdev *bdev; bdev_io_write_unit_split_test() local
3231 struct spdk_bdev *bdev; bdev_io_alignment() local
3448 struct spdk_bdev *bdev; bdev_io_alignment_with_boundary() local
3617 struct spdk_bdev *bdev; bdev_histograms() local
3713 struct spdk_bdev *bdev; _bdev_compare() local
3826 struct spdk_bdev *bdev; _bdev_compare_with_md() local
3995 struct spdk_bdev *bdev; bdev_compare_and_write() local
4102 struct spdk_bdev *bdev; bdev_write_zeroes() local
4209 struct spdk_bdev *bdev; bdev_zcopy_write() local
4291 struct spdk_bdev *bdev; bdev_zcopy_read() local
4375 struct spdk_bdev *bdev; bdev_open_while_hotremove() local
4401 struct spdk_bdev *bdev; bdev_close_while_hotremove() local
4438 struct spdk_bdev *bdev; bdev_open_ext_test() local
4472 struct spdk_bdev *bdev; bdev_open_ext_unregister() local
4585 struct spdk_bdev *bdev; bdev_set_io_timeout() local
4727 struct spdk_bdev *bdev; bdev_set_qd_sampling() local
4890 struct spdk_bdev *bdev; lock_lba_range_check_ranges() local
4944 struct spdk_bdev *bdev; lock_lba_range_with_io_outstanding() local
5038 struct spdk_bdev *bdev; lock_lba_range_overlapped() local
5187 struct spdk_bdev *bdev = ctx; bdev_quiesce_done_unquiesce() local
5199 struct spdk_bdev *bdev; bdev_quiesce() local
5351 struct spdk_bdev *bdev; bdev_io_abort() local
5537 struct spdk_bdev *bdev; bdev_unmap() local
5634 struct spdk_bdev *bdev; bdev_write_zeroes_split_test() local
5759 struct spdk_bdev bdev = { .fn_table = &fn_table }; bdev_get_memory_domains() local
5789 struct spdk_bdev *bdev; _bdev_io_ext() local
5872 struct spdk_bdev *bdev; bdev_io_ext_invalid_opts() local
5926 struct spdk_bdev *bdev; bdev_io_ext_split() local
6019 struct spdk_bdev *bdev; bdev_io_ext_bounce_buffer() local
6151 struct spdk_bdev *bdev, *second; bdev_register_uuid_alias() local
6217 struct spdk_bdev *bdev; bdev_unregister_by_name() local
6251 count_bdevs(void * ctx,struct spdk_bdev * bdev) count_bdevs() argument
6263 struct spdk_bdev *bdev[8]; for_each_bdev_test() local
6313 struct spdk_bdev *bdev; bdev_seek_test() local
6376 struct spdk_bdev *bdev; bdev_copy() local
6436 struct spdk_bdev *bdev; bdev_copy_split_test() local
6586 examine_claim_v1(struct spdk_bdev * bdev) examine_claim_v1() argument
6595 examine_no_lock_held(struct spdk_bdev * bdev) examine_no_lock_held() argument
6608 examine_claim_v2(struct spdk_bdev * bdev) examine_claim_v2() argument
6623 struct spdk_bdev *bdev; examine_locks() local
6665 UT_ASSERT_CLAIM_V2_COUNT(bdev,expect) global() argument
6678 struct spdk_bdev *bdev; claim_v2_rwo() local
6805 struct spdk_bdev *bdev; claim_v2_rom() local
6945 struct spdk_bdev *bdev; claim_v2_rwm() local
7066 struct spdk_bdev *bdev; claim_v2_existing_writer() local
7122 struct spdk_bdev *bdev; claim_v2_existing_v1() local
7166 struct spdk_bdev *bdev; claim_v1_existing_v2() local
7306 examine_claimed_config(struct spdk_bdev * bdev,uint32_t modnum) examine_claimed_config() argument
7332 ut_examine_claimed_config0(struct spdk_bdev * bdev) ut_examine_claimed_config0() argument
7338 ut_examine_claimed_config1(struct spdk_bdev * bdev) ut_examine_claimed_config1() argument
7344 examine_claimed_disk(struct spdk_bdev * bdev,uint32_t modnum) examine_claimed_disk() argument
7361 ut_examine_claimed_disk0(struct spdk_bdev * bdev) ut_examine_claimed_disk0() argument
7367 ut_examine_claimed_disk1(struct spdk_bdev * bdev) ut_examine_claimed_disk1() argument
7375 struct spdk_bdev *bdev; examine_claimed() local
[all...]
/spdk/test/unit/lib/bdev/vbdev_zone_block.c/
H A Dvbdev_zone_block_ut.c97 struct spdk_bdev *bdev; in spdk_bdev_open_ext() local
116 spdk_bdev_register(struct spdk_bdev *bdev) in spdk_bdev_register() argument
125 spdk_bdev_unregister(struct spdk_bdev * bdev,spdk_bdev_unregister_cb cb_fn,void * cb_arg) spdk_bdev_unregister() argument
141 struct spdk_bdev *bdev; spdk_bdev_unregister_by_name() local
167 spdk_bdev_get_name(const struct spdk_bdev * bdev) spdk_bdev_get_name() argument
173 spdk_bdev_is_zoned(const struct spdk_bdev * bdev) spdk_bdev_is_zoned() argument
185 spdk_bdev_module_claim_bdev(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_bdev_module * module) spdk_bdev_module_claim_bdev() argument
199 spdk_bdev_module_release_bdev(struct spdk_bdev * bdev) spdk_bdev_module_release_bdev() argument
268 struct spdk_bdev *bdev; base_bdevs_cleanup() local
283 struct spdk_bdev *bdev; spdk_bdev_get_by_name() local
445 struct bdev_zone_block *bdev; verify_bdev_present() local
549 struct bdev_zone_block *bdev; verify_zone_bdev() local
629 struct spdk_bdev *bdev; test_zone_block_create() local
697 bdev_io_zone_info_initialize(struct spdk_bdev_io * bdev_io,struct spdk_bdev * bdev,uint64_t zone_id,uint32_t num_zones) bdev_io_zone_info_initialize() argument
713 bdev_io_zone_initialize(struct spdk_bdev_io * bdev_io,struct spdk_bdev * bdev,uint64_t zone_id,uint32_t num_zones,uint8_t zone_action) bdev_io_zone_initialize() argument
731 bdev_io_initialize(struct spdk_bdev_io * bdev_io,struct spdk_bdev * bdev,uint64_t lba,uint64_t blocks,int16_t iotype) bdev_io_initialize() argument
762 struct bdev_zone_block *bdev = NULL; create_and_get_vbdev() local
779 struct bdev_zone_block *bdev; test_supported_io_types() local
809 send_zone_info(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t zone_id,uint64_t wp,enum spdk_bdev_zone_state state,uint32_t output_index,bool success) send_zone_info() argument
841 struct bdev_zone_block *bdev; test_get_zone_info() local
917 send_zone_management(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t zone_id,uint32_t output_index,enum spdk_bdev_zone_action action,bool success) send_zone_management() argument
936 send_reset_zone(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t zone_id,uint32_t output_index,bool success) send_reset_zone() argument
943 send_open_zone(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t zone_id,uint32_t output_index,bool success) send_open_zone() argument
950 send_close_zone(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t zone_id,uint32_t output_index,bool success) send_close_zone() argument
957 send_finish_zone(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t zone_id,uint32_t output_index,bool success) send_finish_zone() argument
967 struct bdev_zone_block *bdev; test_reset_zone() local
1015 send_write_zone(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t lba,uint64_t blocks,uint32_t output_index,bool success) send_write_zone() argument
1034 send_read_zone(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t lba,uint64_t blocks,uint32_t output_index,bool success) send_read_zone() argument
1053 send_append_zone(struct bdev_zone_block * bdev,struct spdk_io_channel * ch,uint64_t lba,uint64_t blocks,uint32_t output_index,bool success,uint64_t wp) send_append_zone() argument
1078 struct bdev_zone_block *bdev; test_open_zone() local
1145 struct bdev_zone_block *bdev; test_zone_write() local
1221 struct bdev_zone_block *bdev; test_zone_read() local
1281 struct bdev_zone_block *bdev; test_close_zone() local
1340 struct bdev_zone_block *bdev; test_finish_zone() local
1400 struct bdev_zone_block *bdev; test_append_zone() local
[all...]
/spdk/module/bdev/null/
H A Dbdev_null.c25 struct spdk_bdev bdev; member
59 struct null_bdev *bdev = ctx; in bdev_null_destruct() local
92 struct spdk_bdev *bdev = bdev_io->bdev; in bdev_null_submit_request() local
210 bdev_null_write_config_json(struct spdk_bdev * bdev,struct spdk_json_write_ctx * w) bdev_null_write_config_json() argument
239 bdev_null_create(struct spdk_bdev ** bdev,const struct spdk_null_bdev_opts * opts) bdev_null_create() argument
422 dummy_bdev_event_cb(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * ctx) dummy_bdev_event_cb() argument
430 struct spdk_bdev *bdev; bdev_null_resize() local
[all...]
/spdk/lib/nvmf/
H A Dctrlr_bdev.c122 struct spdk_bdev *bdev = ns->bdev; in nvmf_bdev_ctrlr_identify_ns() local
259 nvmf_bdev_ctrl_queue_io(struct spdk_nvmf_request * req,struct spdk_bdev * bdev,struct spdk_io_channel * ch,spdk_bdev_io_wait_cb cb_fn,void * cb_arg) nvmf_bdev_ctrl_queue_io() argument
276 nvmf_bdev_zcopy_enabled(struct spdk_bdev * bdev) nvmf_bdev_zcopy_enabled() argument
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
569 struct spdk_bdev *bdev; global() member
610 struct spdk_bdev *bdev = unmap_ctx->bdev; 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
875 nvmf_bdev_ctrlr_get_dif_ctx(struct spdk_bdev * bdev,struct spdk_nvme_cmd * cmd,struct spdk_dif_ctx * dif_ctx) nvmf_bdev_ctrlr_get_dif_ctx() argument
950 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/test/unit/lib/scsi/scsi_bdev.c/
H A Dscsi_bdev_ut.c31 spdk_bdev_io_type_supported(struct spdk_bdev *bdev, enum spdk_bdev_io_type io_type) in spdk_bdev_io_type_supported()
61 spdk_bdev_get_num_blocks(const struct spdk_bdev *bdev) in spdk_bdev_get_num_blocks()
290 spdk_bdev_queue_io_wait(struct spdk_bdev *bdev, struct spdk_io_channel *ch, in spdk_bdev_queue_io_wait()
317 struct spdk_bdev bdev; in mode_select_6_test() local
359 struct spdk_bdev bdev; in mode_select_6_test2() local
395 struct spdk_bdev bdev; in mode_sense_6_test() local
445 struct spdk_bdev bdev; in mode_sense_10_test() local
495 struct spdk_bdev bdev; in inquiry_evpd_test() local
535 struct spdk_bdev bdev = { .blocklen = 512 }; in inquiry_standard_test() local
573 struct spdk_bdev bdev = { .blocklen = 512 }; in _inquiry_overflow_test() local
[all …]
/spdk/test/unit/lib/bdev/bdev_zone.c/
H A Dbdev_zone_ut.c39 } bdev; member
201 struct spdk_bdev *bdev; in spdk_bdev_desc_get_bdev() local
218 struct spdk_bdev bdev = {}; in test_get_zone_size() local
230 struct spdk_bdev bdev = {}; in test_get_num_zones() local
243 struct spdk_bdev bdev = {}; in test_get_zone_id() local
256 struct spdk_bdev bdev = {}; in test_get_max_zone_append_size() local
268 struct spdk_bdev bdev = {}; in test_get_max_open_zones() local
280 struct spdk_bdev bdev = {}; in test_get_max_active_zones() local
292 struct spdk_bdev bdev = {}; in test_get_optimal_open_zones() local
/spdk/test/bdev/bdevio/
H A Dbdevio.c37 struct spdk_bdev *bdev; member
96 bdevio_construct_target_open_cb(enum spdk_bdev_event_type type, struct spdk_bdev *bdev, in bdevio_construct_target_open_cb()
105 struct spdk_bdev *bdev; in bdevio_construct_target_by_name() local
141 bdevio_construct_target(void *ctx, struct spdk_bdev *bdev) in bdevio_construct_target()
219 bdev_bytes_to_blocks(struct spdk_bdev *bdev, uint64_t bytes) in bdev_bytes_to_blocks()
268 struct spdk_bdev *bdev = target->bdev; in __blockdev_compare_and_write() local
429 struct spdk_bdev *bdev = target->bdev; in _blockdev_copy() local
532 struct spdk_bdev *bdev = target->bdev; in blockdev_compare_and_write() local
572 struct spdk_bdev *bdev = target->bdev; in blockdev_write_read_block() local
595 struct spdk_bdev *bdev = target->bdev; in blockdev_write_zeroes_read_block() local
[all …]
/spdk/test/unit/lib/nvmf/nvmf.c/
H A Dnvmf_ut.c134 spdk_bdev_get_num_blocks(const struct spdk_bdev *bdev) in spdk_bdev_get_num_blocks() argument
140 spdk_bdev_get_uuid(const struct spdk_bdev *bdev) in spdk_bdev_get_uuid() argument
155 struct spdk_bdev bdev = {}; in test_nvmf_tgt_create_poll_group() local
[all...]
/spdk/test/unit/lib/bdev/raid/bdev_raid.c/
H A Dbdev_raid_ut.c26 struct spdk_bdev *bdev; global() member
199 spdk_bdev_get_data_block_size(const struct spdk_bdev * bdev) spdk_bdev_get_data_block_size() argument
220 spdk_bdev_get_uuid(const struct spdk_bdev * bdev) spdk_bdev_get_uuid() argument
283 struct spdk_bdev *bdev; base_bdevs_cleanup() local
370 spdk_bdev_destruct_done(struct spdk_bdev * bdev,int bdeverrno) spdk_bdev_destruct_done() argument
378 spdk_bdev_register(struct spdk_bdev * bdev) spdk_bdev_register() argument
392 spdk_bdev_unregister(struct spdk_bdev * bdev,spdk_bdev_unregister_cb cb_fn,void * cb_arg) spdk_bdev_unregister() argument
412 struct spdk_bdev *bdev; spdk_bdev_open_ext() local
490 spdk_bdev_module_release_bdev(struct spdk_bdev * bdev) spdk_bdev_module_release_bdev() argument
499 spdk_bdev_module_claim_bdev(struct spdk_bdev * bdev,struct spdk_bdev_desc * desc,struct spdk_bdev_module * module) spdk_bdev_module_claim_bdev() argument
566 struct spdk_bdev *bdev; spdk_bdev_get_by_name() local
580 spdk_bdev_quiesce(struct spdk_bdev * bdev,struct spdk_bdev_module * module,spdk_bdev_quiesce_cb cb_fn,void * cb_arg) spdk_bdev_quiesce() argument
591 spdk_bdev_unquiesce(struct spdk_bdev * bdev,struct spdk_bdev_module * module,spdk_bdev_quiesce_cb cb_fn,void * cb_arg) spdk_bdev_unquiesce() argument
602 spdk_bdev_quiesce_range(struct spdk_bdev * bdev,struct spdk_bdev_module * module,uint64_t offset,uint64_t length,spdk_bdev_quiesce_cb cb_fn,void * cb_arg) spdk_bdev_quiesce_range() argument
614 spdk_bdev_unquiesce_range(struct spdk_bdev * bdev,struct spdk_bdev_module * module,uint64_t offset,uint64_t length,spdk_bdev_quiesce_cb cb_fn,void * cb_arg) spdk_bdev_unquiesce_range() argument
642 _bdev_io_initialize(struct spdk_bdev_io * bdev_io,struct spdk_io_channel * ch,struct spdk_bdev * bdev,uint64_t lba,uint64_t blocks,int16_t iotype,int iovcnt,size_t iov_len) _bdev_io_initialize() argument
677 bdev_io_initialize(struct spdk_bdev_io * bdev_io,struct spdk_io_channel * ch,struct spdk_bdev * bdev,uint64_t lba,uint64_t blocks,int16_t iotype) bdev_io_initialize() argument
729 struct spdk_bdev *bdev = NULL; verify_raid_bdev() local
[all...]
/spdk/module/bdev/lvol/
H A Dvbdev_lvol.h18 struct spdk_bdev *bdev; member
26 struct spdk_bdev bdev; member
H A Dvbdev_lvol.c144 vbdev_lvs_hotremove_cb(struct spdk_bdev * bdev) vbdev_lvs_hotremove_cb() argument
157 vbdev_lvs_base_bdev_event_cb(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * event_ctx) vbdev_lvs_base_bdev_event_cb() argument
175 struct spdk_bdev *bdev = req->base_bdev; _vbdev_lvs_create_cb() local
709 struct spdk_bdev *bdev; vbdev_lvol_dump_info_json() local
803 vbdev_lvol_write_config_json(struct spdk_bdev * bdev,struct spdk_json_write_ctx * w) vbdev_lvol_write_config_json() argument
1107 struct spdk_bdev *bdev; _create_lvol_disk() local
1263 ignore_bdev_event_cb(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * ctx) ignore_bdev_event_cb() argument
1274 struct spdk_bdev *bdev; vbdev_lvol_create_bdev_clone() local
1569 struct spdk_bdev *bdev = ctx; create_esnap_clone_lvol_disks() local
1598 vbdev_lvs_examine_config(struct spdk_bdev * bdev) vbdev_lvs_examine_config() argument
1676 _vbdev_lvs_examine(struct spdk_bdev * bdev,struct spdk_lvs_req * ori_req,void (* action)(struct spdk_bs_dev * bs_dev,spdk_lvs_op_with_handle_complete cb_fn,void * cb_arg)) _vbdev_lvs_examine() argument
1725 vbdev_lvs_examine_disk(struct spdk_bdev * bdev) vbdev_lvs_examine_disk() argument
1750 vbdev_lvol_get_from_bdev(struct spdk_bdev * bdev) vbdev_lvol_get_from_bdev() argument
1859 vbdev_lvol_esnap_bdev_event_cb(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * event_ctx) vbdev_lvol_esnap_bdev_event_cb() argument
1946 _vbdev_lvol_shallow_copy_base_bdev_event_cb(enum spdk_bdev_event_type type,struct spdk_bdev * bdev,void * event_ctx) _vbdev_lvol_shallow_copy_base_bdev_event_cb() argument
2031 struct spdk_bdev *bdev; vbdev_lvol_set_external_parent() local
[all...]
/spdk/test/unit/lib/bdev/raid/bdev_raid_sb.c/
H A Dbdev_raid_sb_ut.c72 spdk_bdev_is_md_interleaved(const struct spdk_bdev *bdev) in spdk_bdev_is_md_interleaved()
78 spdk_bdev_get_data_block_size(const struct spdk_bdev *bdev) in spdk_bdev_get_data_block_size()
90 spdk_bdev_get_uuid(const struct spdk_bdev *bdev) in spdk_bdev_get_uuid()
108 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in spdk_bdev_read() local
134 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in spdk_bdev_write() local
/spdk/module/bdev/raid/
H A Dbdev_raid_sb.c139 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(ctx->desc); in raid_bdev_parse_superblock() local
201 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(ctx->desc); in raid_bdev_read_sb_remainder() local
230 struct spdk_bdev *bdev = bdev_io->bdev; in raid_bdev_read_sb_cb() local
275 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(desc); in raid_bdev_load_base_bdev_superblock() local
362 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(base_info->desc); in _raid_bdev_write_superblock() local
/spdk/test/json_config/
H A Dclear_config.py15 def get_bdev_name_key(bdev): argument
22 def get_bdev_name(bdev): argument
36 def get_bdev_delete_method(bdev): argument
/spdk/lib/scsi/
H A Dscsi_bdev.c122 bdev_scsi_inquiry(struct spdk_bdev *bdev, struct spdk_scsi_task *task, in bdev_scsi_inquiry()
757 bdev_scsi_mode_sense_page(struct spdk_bdev *bdev, in bdev_scsi_mode_sense_page()
1032 bdev_scsi_mode_sense(struct spdk_bdev *bdev, int md, in bdev_scsi_mode_sense()
1157 struct spdk_bdev *bdev = lun->bdev; in bdev_scsi_queue_io() local
1172 bdev_scsi_sync(struct spdk_bdev *bdev, struct spdk_bdev_desc *bdev_desc, in bdev_scsi_sync()
1235 bdev_scsi_readwrite(struct spdk_bdev *bdev, struct spdk_bdev_desc *bdev_desc, in bdev_scsi_readwrite()
1512 bdev_scsi_unmap(struct spdk_bdev *bdev, struct spdk_scsi_task *task) in bdev_scsi_unmap()
1576 bdev_scsi_write_same(struct spdk_bdev *bdev, struct spdk_bdev_desc *bdev_desc, in bdev_scsi_write_same()
1661 struct spdk_bdev *bdev = lun->bdev; in bdev_scsi_process_block() local
1863 struct spdk_bdev *bdev = lun->bdev; in bdev_scsi_process_primary() local
[all …]
/spdk/test/unit/lib/bdev/raid/raid0.c/
H A Draid0_ut.c62 spdk_bdev_is_md_interleaved(const struct spdk_bdev *bdev) in spdk_bdev_is_md_interleaved()
68 spdk_bdev_is_md_separate(const struct spdk_bdev *bdev) in spdk_bdev_is_md_separate()
74 spdk_bdev_get_md_size(const struct spdk_bdev *bdev) in spdk_bdev_get_md_size()
80 spdk_bdev_get_block_size(const struct spdk_bdev *bdev) in spdk_bdev_get_block_size()
140 uint64_t offset_blocks, uint32_t num_blocks, struct spdk_bdev *bdev) in generate_dif()
180 uint64_t offset_blocks, uint32_t num_blocks, struct spdk_bdev *bdev) in verify_dif()
221 remap_dif(void *md_buf, uint64_t num_blocks, struct spdk_bdev *bdev, uint32_t remapped_offset) in remap_dif()
271 struct spdk_bdev *bdev, uint32_t remapped_offset) in raid_bdev_remap_dix_reftag()
280 uint64_t num_blocks, struct spdk_bdev *bdev, uint32_t offset_blocks) in raid_bdev_verify_dix_reftag()
642 struct spdk_bdev *bdev = spdk_bdev_desc_get_bdev(base_info->desc); in create_raid0() local
/spdk/module/bdev/ftl/
H A Dbdev_ftl.c21 struct spdk_bdev bdev; member
212 bdev_ftl_write_config_json(struct spdk_bdev *bdev, struct spdk_json_write_ctx *w) in bdev_ftl_write_config_json()
395 bdev_ftl_create_bdev_event_cb(enum spdk_bdev_event_type type, struct spdk_bdev *bdev, void *ctx) in bdev_ftl_create_bdev_event_cb()
458 bdev_ftl_event_cb(enum spdk_bdev_event_type type, struct spdk_bdev *bdev, void *ctx) in bdev_ftl_event_cb()
467 struct spdk_bdev *bdev; in bdev_ftl_delete_bdev() local
632 bdev_ftl_examine(struct spdk_bdev *bdev) in bdev_ftl_examine()
673 struct spdk_bdev *bdev; in bdev_ftl_action_start() local
/spdk/module/bdev/error/
H A Dvbdev_error.c87 dummy_bdev_event_cb(enum spdk_bdev_event_type type, struct spdk_bdev *bdev, void *ctx) in dummy_bdev_event_cb() argument
95 struct spdk_bdev *bdev; in vbdev_error_inject_error() local
330 vbdev_error_write_config_json(struct spdk_bdev * bdev,struct spdk_json_write_ctx * w) vbdev_error_write_config_json() argument
356 struct spdk_bdev *base_bdev, *bdev; _vbdev_error_create() local
531 vbdev_error_examine(struct spdk_bdev * bdev) vbdev_error_examine() argument
[all...]
/spdk/test/unit/lib/ftl/common/
H A Dutils.c32 spdk_bdev_get_zone_size(const struct spdk_bdev *bdev) in spdk_bdev_get_zone_size() argument
38 spdk_bdev_get_optimal_open_zones(const struct spdk_bdev *bdev) in spdk_bdev_get_optimal_open_zones() argument
/spdk/test/unit/lib/bdev/vbdev_lvol.c/
H A Dvbdev_lvol_ut.c71 spdk_bdev_get_aliases(const struct spdk_bdev *bdev) in spdk_bdev_get_aliases() argument
77 spdk_bdev_get_md_size(const struct spdk_bdev *bdev) in spdk_bdev_get_md_size() argument
83 spdk_bdev_get_uuid(const struct spdk_bdev *bdev) in spdk_bdev_get_uuid() argument
89 spdk_bdev_alias_add(struct spdk_bdev *bdev, cons argument
111 spdk_bdev_alias_del(struct spdk_bdev * bdev,const char * alias) spdk_bdev_alias_del() argument
131 spdk_bdev_alias_del_all(struct spdk_bdev * bdev) spdk_bdev_alias_del_all() argument
143 spdk_bdev_destruct_done(struct spdk_bdev * bdev,int bdeverrno) spdk_bdev_destruct_done() argument
152 struct spdk_bdev *bdev; global() member
176 struct spdk_bdev *bdev; spdk_bdev_create_bs_dev() local
564 spdk_bdev_notify_blockcnt_change(struct spdk_bdev * bdev,uint64_t size) spdk_bdev_notify_blockcnt_change() argument
595 struct spdk_bdev *bdev; global() member
603 struct spdk_bdev *bdev; spdk_bdev_open_ext() local
791 spdk_bdev_get_name(const struct spdk_bdev * bdev) spdk_bdev_get_name() argument
797 spdk_bdev_get_block_size(const struct spdk_bdev * bdev) spdk_bdev_get_block_size() argument
803 spdk_bdev_get_num_blocks(const struct spdk_bdev * bdev) spdk_bdev_get_num_blocks() argument
[all...]
/spdk/test/unit/lib/bdev/raid/
H A Dcommon.c11 struct spdk_bdev *bdev; member
17 spdk_bdev_get_dif_type(const struct spdk_bdev *bdev) in spdk_bdev_get_dif_type()
147 struct spdk_bdev *bdev; in raid_test_create_raid_bdev() local

12345