Home
last modified time | relevance | path

Searched defs:vdev (Results 1 – 15 of 15) sorted by relevance

/spdk/lib/vhost/
H A Dvhost.c31 spdk_vhost_dev_next(struct spdk_vhost_dev * vdev) spdk_vhost_dev_next() argument
43 struct spdk_vhost_dev *vdev; spdk_vhost_dev_find() local
112 vhost_dev_register(struct spdk_vhost_dev * vdev,const char * name,const char * mask_str,const struct spdk_json_val * params,const struct spdk_vhost_dev_backend * backend,const struct spdk_vhost_user_dev_backend * user_backend,bool delay) vhost_dev_register() argument
170 vhost_dev_unregister(struct spdk_vhost_dev * vdev) vhost_dev_unregister() argument
199 spdk_vhost_dev_get_name(struct spdk_vhost_dev * vdev) spdk_vhost_dev_get_name() argument
206 spdk_vhost_dev_get_cpumask(struct spdk_vhost_dev * vdev) spdk_vhost_dev_get_cpumask() argument
213 vhost_dump_info_json(struct spdk_vhost_dev * vdev,struct spdk_json_write_ctx * w) vhost_dump_info_json() argument
220 spdk_vhost_dev_remove(struct spdk_vhost_dev * vdev) spdk_vhost_dev_remove() argument
226 spdk_vhost_set_coalescing(struct spdk_vhost_dev * vdev,uint32_t delay_base_us,uint32_t iops_threshold) spdk_vhost_set_coalescing() argument
234 spdk_vhost_get_coalescing(struct spdk_vhost_dev * vdev,uint32_t * delay_base_us,uint32_t * iops_threshold) spdk_vhost_get_coalescing() argument
281 struct spdk_vhost_dev *vdev, *tmp; vhost_fini() local
348 vhost_user_config_json(struct spdk_vhost_dev * vdev,struct spdk_json_write_ctx * w) vhost_user_config_json() argument
373 struct spdk_vhost_dev *vdev; spdk_vhost_scsi_config_json() local
412 struct spdk_vhost_dev *vdev; spdk_vhost_blk_config_json() local
[all...]
H A Dvhost_blk.c55 struct spdk_vhost_dev vdev; member
74 struct spdk_vhost_dev *vdev; global() member
114 struct spdk_vhost_dev *vdev = &bvsession->bvdev->vdev; vhost_user_process_blk_request() local
122 to_blk_dev(struct spdk_vhost_dev * vdev) to_blk_dev() argument
137 vhost_blk_get_bdev(struct spdk_vhost_dev * vdev) vhost_blk_get_bdev() argument
243 struct spdk_vhost_dev *vdev = vsession->vdev; blk_iovs_split_queue_setup() local
375 struct spdk_vhost_dev *vdev = vsession->vdev; blk_iovs_packed_queue_setup() local
397 struct spdk_vhost_dev *vdev = vsession->vdev; blk_iovs_inflight_queue_setup() local
484 blk_request_queue_io(struct spdk_vhost_dev * vdev,struct spdk_io_channel * ch,struct spdk_vhost_blk_task * task) blk_request_queue_io() argument
503 virtio_blk_process_request(struct spdk_vhost_dev * vdev,struct spdk_io_channel * ch,struct spdk_vhost_blk_task * task,virtio_blk_request_cb cb,void * cb_arg) virtio_blk_process_request() argument
1190 struct spdk_vhost_dev *vdev; vhost_blk_vq_enable() local
1256 bdev_event_cpl_cb(struct spdk_vhost_dev * vdev,void * ctx) bdev_event_cpl_cb() argument
1272 vhost_session_bdev_resize_cb(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * ctx) vhost_session_bdev_resize_cb() argument
1287 vhost_user_blk_resize_cb(struct spdk_vhost_dev * vdev,bdev_event_cb_complete cb,void * cb_arg) vhost_user_blk_resize_cb() argument
1320 vhost_user_session_bdev_remove_cb(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * ctx) vhost_user_session_bdev_remove_cb() argument
1337 vhost_user_bdev_remove_cb(struct spdk_vhost_dev * vdev,bdev_event_cb_complete cb,void * cb_arg) vhost_user_bdev_remove_cb() argument
1347 vhost_user_bdev_event_cb(enum spdk_bdev_event_type type,struct spdk_vhost_dev * vdev,bdev_event_cb_complete cb,void * cb_arg) vhost_user_bdev_event_cb() argument
1367 struct spdk_vhost_dev *vdev = (struct spdk_vhost_dev *)event_ctx; bdev_event_cb() local
1488 session_start_poll_groups(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession) session_start_poll_groups() argument
1570 vhost_blk_start(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * unused) vhost_blk_start() argument
1710 vhost_blk_stop(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * unused) vhost_blk_stop() argument
1730 vhost_blk_dump_info_json(struct spdk_vhost_dev * vdev,struct spdk_json_write_ctx * w) vhost_blk_dump_info_json() argument
1753 vhost_blk_write_config_json(struct spdk_vhost_dev * vdev,struct spdk_json_write_ctx * w) vhost_blk_write_config_json() argument
1782 vhost_blk_get_config(struct spdk_vhost_dev * vdev,uint8_t * config,uint32_t len) vhost_blk_get_config() argument
1844 vhost_blk_set_coalescing(struct spdk_vhost_dev * vdev,uint32_t delay_base_us,uint32_t iops_threshold) vhost_blk_set_coalescing() argument
1855 vhost_blk_get_coalescing(struct spdk_vhost_dev * vdev,uint32_t * delay_base_us,uint32_t * iops_threshold) vhost_blk_get_coalescing() argument
1884 virtio_blk_construct_ctrlr(struct spdk_vhost_dev * vdev,const char * address,struct spdk_cpuset * cpumask,const struct spdk_json_val * params,const struct spdk_vhost_user_dev_backend * user_backend) virtio_blk_construct_ctrlr() argument
1900 struct spdk_vhost_dev *vdev; spdk_vhost_blk_construct() local
1964 virtio_blk_destroy_ctrlr(struct spdk_vhost_dev * vdev) virtio_blk_destroy_ctrlr() argument
1974 vhost_blk_destroy(struct spdk_vhost_dev * vdev) vhost_blk_destroy() argument
1997 vhost_blk_get_io_channel(struct spdk_vhost_dev * vdev) vhost_blk_get_io_channel() argument
2052 vhost_user_blk_create_ctrlr(struct spdk_vhost_dev * vdev,struct spdk_cpuset * cpumask,const char * address,const struct spdk_json_val * params,void * custom_opts) vhost_user_blk_create_ctrlr() argument
2079 vhost_user_blk_destroy_ctrlr(struct spdk_vhost_dev * vdev) vhost_user_blk_destroy_ctrlr() argument
[all...]
H A Dvhost_scsi.c71 struct spdk_vhost_dev vdev; member
211 vhost_scsi_dev_process_removed_cpl_cb(struct spdk_vhost_dev *vdev, voi argument
227 vhost_scsi_session_process_removed(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * ctx) vhost_scsi_session_process_removed() argument
863 struct spdk_vhost_dev *vdev; vhost_scsi_controller_start() local
936 vhost_scsi_dev_remove(struct spdk_vhost_dev * vdev) vhost_scsi_dev_remove() argument
966 spdk_vhost_scsi_dev_get_tgt(struct spdk_vhost_dev * vdev,uint8_t num) spdk_vhost_scsi_dev_get_tgt() argument
1032 vhost_scsi_dev_add_tgt_cpl_cb(struct spdk_vhost_dev * vdev,void * ctx) vhost_scsi_dev_add_tgt_cpl_cb() argument
1048 vhost_scsi_session_add_tgt(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * ctx) vhost_scsi_session_add_tgt() argument
1099 spdk_vhost_scsi_dev_add_tgt(struct spdk_vhost_dev * vdev,int scsi_tgt_num,const char * bdev_name) spdk_vhost_scsi_dev_add_tgt() argument
1186 vhost_scsi_dev_remove_tgt_cpl_cb(struct spdk_vhost_dev * vdev,void * _ctx) vhost_scsi_dev_remove_tgt_cpl_cb() argument
1201 vhost_scsi_session_remove_tgt(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * _ctx) vhost_scsi_session_remove_tgt() argument
1232 spdk_vhost_scsi_dev_remove_tgt(struct spdk_vhost_dev * vdev,unsigned scsi_tgt_num,spdk_vhost_event_fn cb_fn,void * cb_arg) spdk_vhost_scsi_dev_remove_tgt() argument
1281 vhost_scsi_session_param_changed(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * ctx) vhost_scsi_session_param_changed() argument
1313 vhost_scsi_dev_param_changed(struct spdk_vhost_dev * vdev,unsigned scsi_tgt_num) vhost_scsi_dev_param_changed() argument
1410 vhost_scsi_start(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * unused) vhost_scsi_start() argument
1537 vhost_scsi_stop(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * unused) vhost_scsi_stop() argument
1569 vhost_scsi_dump_info_json(struct spdk_vhost_dev * vdev,struct spdk_json_write_ctx * w) vhost_scsi_dump_info_json() argument
1612 vhost_scsi_write_config_json(struct spdk_vhost_dev * vdev,struct spdk_json_write_ctx * w) vhost_scsi_write_config_json() argument
[all...]
H A Drte_vhost_user.c28 struct spdk_vhost_dev *vdev; member
884 struct spdk_vhost_dev *vdev; local
973 struct spdk_vhost_dev *vdev = vsession->vdev; local
1131 struct spdk_vhost_dev *vdev; global() local
1231 vhost_session_find_by_id(struct spdk_vhost_dev * vdev,unsigned id) global() argument
1247 struct spdk_vhost_dev *vdev; global() local
1302 struct spdk_vhost_dev *vdev = ctx->vdev; global() local
1321 struct spdk_vhost_dev *vdev = vsession->vdev; global() local
1340 struct spdk_vhost_dev *vdev = ev_ctx->vdev; global() local
1363 struct spdk_vhost_dev *vdev = ev_ctx->vdev; global() local
1386 vhost_user_dev_foreach_session(struct spdk_vhost_dev * vdev,spdk_vhost_session_fn fn,spdk_vhost_dev_fn cpl_fn,void * arg) global() argument
1700 vhost_user_session_set_coalescing(struct spdk_vhost_dev * vdev,struct spdk_vhost_session * vsession,void * ctx) global() argument
1711 vhost_user_set_coalescing(struct spdk_vhost_dev * vdev,uint32_t delay_base_us,uint32_t iops_threshold) global() argument
1727 vhost_user_get_coalescing(struct spdk_vhost_dev * vdev,uint32_t * delay_base_us,uint32_t * iops_threshold) global() argument
1774 vhost_user_dev_init(struct spdk_vhost_dev * vdev,const char * name,struct spdk_cpuset * cpumask,const struct spdk_vhost_user_dev_backend * user_backend) global() argument
1819 vhost_user_dev_start(struct spdk_vhost_dev * vdev) global() argument
1827 vhost_user_dev_create(struct spdk_vhost_dev * vdev,const char * name,struct spdk_cpuset * cpumask,const struct spdk_vhost_user_dev_backend * user_backend,bool delay) global() argument
1853 vhost_user_dev_unregister(struct spdk_vhost_dev * vdev) global() argument
1946 struct spdk_vhost_dev *vdev = NULL; global() local
1998 vhost_session_info_json(struct spdk_vhost_dev * vdev,struct spdk_json_write_ctx * w) global() argument
[all...]
H A Dvhost_rpc.c146 struct spdk_vhost_dev *vdev; in rpc_vhost_scsi_controller_add_target() local
203 rpc_vhost_scsi_controller_remove_target_finish_cb(struct spdk_vhost_dev *vdev, void *arg) in rpc_vhost_scsi_controller_remove_target_finish_cb() argument
216 struct spdk_vhost_dev *vdev; in rpc_vhost_scsi_controller_remove_target() local
331 struct spdk_vhost_dev *vdev; rpc_vhost_delete_controller() local
373 _rpc_get_vhost_controller(struct spdk_json_write_ctx * w,struct spdk_vhost_dev * vdev) _rpc_get_vhost_controller() argument
414 struct spdk_vhost_dev *vdev; rpc_vhost_get_controllers() local
493 struct spdk_vhost_dev *vdev; rpc_vhost_controller_set_coalescing() local
[all...]
H A Dvhost_internal.h121 struct spdk_vhost_dev *vdev; global() member
175 struct spdk_vhost_dev *vdev; global() member
220 to_user_dev(struct spdk_vhost_dev * vdev) to_user_dev() argument
[all...]
/spdk/lib/virtio/
H A Dvirtio_vhost_user.c484 virtio_user_create_queue(struct virtio_dev *vdev, uint32_t queue_sel) in virtio_user_create_queue() argument
500 virtio_user_set_vring_addr(struct virtio_dev *vdev, uint32_t queue_sel) in virtio_user_set_vring_addr() argument
517 virtio_user_kick_queue(struct virtio_dev *vdev, uint32_t queue_sel) in virtio_user_kick_queue() argument
551 virtio_user_stop_queue(struct virtio_dev *vdev, uint32_t queue_sel) in virtio_user_stop_queue() argument
563 virtio_user_queue_setup(struct virtio_dev *vdev, in virtio_user_queue_setup() argument
585 struct virtio_dev *vdev = cb_ctx; virtio_user_map_notify() local
620 virtio_user_register_mem(struct virtio_dev * vdev) virtio_user_register_mem() argument
638 virtio_user_unregister_mem(struct virtio_dev * vdev) virtio_user_unregister_mem() argument
647 virtio_user_start_device(struct virtio_dev * vdev) virtio_user_start_device() argument
691 virtio_user_stop_device(struct virtio_dev * vdev) virtio_user_stop_device() argument
705 virtio_user_dev_setup(struct virtio_dev * vdev) virtio_user_dev_setup() argument
721 virtio_user_read_dev_config(struct virtio_dev * vdev,size_t offset,void * dst,int length) virtio_user_read_dev_config() argument
746 virtio_user_write_dev_config(struct virtio_dev * vdev,size_t offset,const void * src,int length) virtio_user_write_dev_config() argument
771 virtio_user_set_status(struct virtio_dev * vdev,uint8_t status) virtio_user_set_status() argument
794 virtio_user_get_status(struct virtio_dev * vdev) virtio_user_get_status() argument
802 virtio_user_get_features(struct virtio_dev * vdev) virtio_user_get_features() argument
818 virtio_user_set_features(struct virtio_dev * vdev,uint64_t features) virtio_user_set_features() argument
853 virtio_user_get_queue_size(struct virtio_dev * vdev,uint16_t queue_id) virtio_user_get_queue_size() argument
862 virtio_user_setup_queue(struct virtio_dev * vdev,struct virtqueue * vq) virtio_user_setup_queue() argument
937 virtio_user_del_queue(struct virtio_dev * vdev,struct virtqueue * vq) virtio_user_del_queue() argument
959 virtio_user_notify_queue(struct virtio_dev * vdev,struct virtqueue * vq) virtio_user_notify_queue() argument
970 virtio_user_destroy(struct virtio_dev * vdev) virtio_user_destroy() argument
981 virtio_user_dump_json_info(struct virtio_dev * vdev,struct spdk_json_write_ctx * w) virtio_user_dump_json_info() argument
990 virtio_user_write_json_config(struct virtio_dev * vdev,struct spdk_json_write_ctx * w) virtio_user_write_json_config() argument
1017 virtio_user_dev_init(struct virtio_dev * vdev,const char * name,const char * path,uint32_t queue_size) virtio_user_dev_init() argument
[all...]
H A Dvirtio_vfio_user.c27 virtio_vfio_user_read_dev_config(struct virtio_dev *vdev, size_t offset, in virtio_vfio_user_read_dev_config() argument
39 virtio_vfio_user_write_dev_config(struct virtio_dev *vdev, size_t offset, in virtio_vfio_user_write_dev_config() argument
51 virtio_vfio_user_get_status(struct virtio_dev *vdev) in virtio_vfio_user_get_status() argument
71 virtio_vfio_user_set_status(struct virtio_dev *vdev, uint8_t status) in virtio_vfio_user_set_status() argument
88 virtio_vfio_user_get_features(struct virtio_dev *vdev) in virtio_vfio_user_get_features() argument
133 virtio_vfio_user_set_features(struct virtio_dev * vdev,uint64_t features) virtio_vfio_user_set_features() argument
182 virtio_vfio_user_destruct_dev(struct virtio_dev * vdev) virtio_vfio_user_destruct_dev() argument
193 virtio_vfio_user_get_queue_size(struct virtio_dev * vdev,uint16_t queue_id) virtio_vfio_user_get_queue_size() argument
222 virtio_vfio_user_setup_queue(struct virtio_dev * vdev,struct virtqueue * vq) virtio_vfio_user_setup_queue() argument
343 virtio_vfio_user_del_queue(struct virtio_dev * vdev,struct virtqueue * vq) virtio_vfio_user_del_queue() argument
371 virtio_vfio_user_notify_queue(struct virtio_dev * vdev,struct virtqueue * vq) virtio_vfio_user_notify_queue() argument
391 virtio_vfio_user_dev_init(struct virtio_dev * vdev,const char * name,const char * path) virtio_vfio_user_dev_init() argument
[all...]
H A Dvirtio.c229 virtio_dev_construct(struct virtio_dev *vdev, const char *name, in virtio_dev_construct()
274 virtio_dev_start(struct virtio_dev *vdev, uint16_t max_queues, uint16_t fixed_queue_num) in virtio_dev_start()
547 virtio_dev_acquire_queue(struct virtio_dev *vdev, uint16_t index) in virtio_dev_acquire_queue()
570 virtio_dev_find_and_acquire_queue(struct virtio_dev *vdev, uint16_t start_index) in virtio_dev_find_and_acquire_queue()
595 virtio_dev_queue_get_thread(struct virtio_dev *vdev, uint16_t index) in virtio_dev_queue_get_thread()
613 virtio_dev_queue_is_acquired(struct virtio_dev *vdev, uint16_t index) in virtio_dev_queue_is_acquired()
619 virtio_dev_release_queue(struct virtio_dev *vdev, uint16_t index) in virtio_dev_release_queue()
H A Dvirtio_pci.c36 struct virtio_dev *vdev; member
349 modern_destruct_dev(struct virtio_dev *vdev) in modern_destruct_dev()
761 virtio_pci_dev_init(struct virtio_dev *vdev, const char *name, in virtio_pci_dev_init()
/spdk/test/unit/lib/vhost/vhost.c/
H A Dvhost_ut.c205 struct spdk_vhost_dev *vdev = NULL; in alloc_vdev() local
225 start_vdev(struct spdk_vhost_dev *vdev) in start_vdev() argument
254 stop_vdev(struct spdk_vhost_dev * vdev) stop_vdev() argument
265 cleanup_vdev(struct spdk_vhost_dev * vdev) cleanup_vdev() argument
279 struct spdk_vhost_dev *vdev; desc_to_iov_test() local
365 struct spdk_vhost_dev *vdev, *vdev2; create_controller_test() local
426 struct spdk_vhost_dev *vdev; session_find_by_vid_test() local
450 struct spdk_vhost_dev *vdev; remove_controller_test() local
683 struct spdk_vhost_dev *vdev = NULL; vhost_blk_construct_test() local
[all...]
/spdk/module/bdev/virtio/
H A Dbdev_virtio_blk.c28 struct virtio_dev vdev; member
44 struct virtio_dev *vdev; member
254 struct virtio_dev *vdev = &bvdev->vdev; in virtio_blk_dev_unregister_cb() local
345 struct virtio_dev *vdev = &bvdev->vdev; in bdev_virtio_blk_ch_create_cb() local
369 struct virtio_dev *vdev = &bvdev->vdev; in bdev_virtio_blk_ch_destroy_cb() local
380 struct virtio_dev *vdev = &bvdev->vdev; in virtio_blk_dev_init() local
527 struct virtio_dev *vdev; in virtio_pci_blk_dev_create() local
H A Dbdev_virtio_scsi.c47 struct virtio_dev vdev; member
198 struct virtio_dev *vdev = &svdev->vdev; in virtio_scsi_dev_init() local
285 struct virtio_dev *vdev; virtio_pci_scsi_dev_create() local
340 struct virtio_dev *vdev; virtio_user_scsi_dev_create() local
948 struct virtio_dev *vdev = &svdev->vdev; bdev_virtio_mgmt_poll() local
986 struct virtio_dev *vdev = &svdev->vdev; bdev_virtio_scsi_ch_create_cb() local
1012 struct virtio_dev *vdev = &svdev->vdev; bdev_virtio_scsi_ch_destroy_cb() local
1687 struct virtio_dev *vdev = &svdev->vdev; _virtio_scsi_dev_unregister_cb() local
[all...]
/spdk/include/spdk_internal/
H A Dvirtio.h107 struct virtio_dev *vdev; /**< owner of this virtqueue */ member
393 virtio_dev_has_feature(struct virtio_dev *vdev, uint64_t bit) in virtio_dev_has_feature()
/spdk/test/app/fuzz/vhost_fuzz/
H A Dvhost_fuzz.c179 virtio_dev_init(struct virtio_dev *vdev, const char *socket_path, uint64_t flags, in virtio_dev_init()
210 blk_dev_init(struct virtio_dev *vdev, const char *socket_path, uint16_t max_queues) in blk_dev_init()
216 scsi_dev_init(struct virtio_dev *vdev, const char *socket_path, uint16_t max_queues) in scsi_dev_init()