spdk_bs_dev Struct Reference
Collaboration diagram for spdk_bs_dev:

Data Fields

struct spdk_io_channel *(* create_channel )(struct spdk_bs_dev *dev)
 
void(* destroy_channel )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel)
 
void(* destroy )(struct spdk_bs_dev *dev)
 
void(* read )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel, void *payload, uint64_t lba, uint32_t lba_count, struct spdk_bs_dev_cb_args *cb_args)
 
void(* write )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel, void *payload, uint64_t lba, uint32_t lba_count, struct spdk_bs_dev_cb_args *cb_args)
 
void(* readv )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel, struct iovec *iov, int iovcnt, uint64_t lba, uint32_t lba_count, struct spdk_bs_dev_cb_args *cb_args)
 
void(* writev )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel, struct iovec *iov, int iovcnt, uint64_t lba, uint32_t lba_count, struct spdk_bs_dev_cb_args *cb_args)
 
void(* flush )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel, struct spdk_bs_dev_cb_args *cb_args)
 
void(* write_zeroes )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel, uint64_t lba, uint32_t lba_count, struct spdk_bs_dev_cb_args *cb_args)
 
void(* unmap )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel, uint64_t lba, uint32_t lba_count, struct spdk_bs_dev_cb_args *cb_args)
 
uint64_t blockcnt
 
uint32_t blocklen
 

The documentation for this struct was generated from the following file: