Loading...
Searching...
No Matches
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(* readv_ext )(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, struct spdk_blob_ext_io_opts *ext_io_opts)
 
void(* writev_ext )(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, struct spdk_blob_ext_io_opts *ext_io_opts)
 
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, uint64_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, uint64_t lba_count, struct spdk_bs_dev_cb_args *cb_args)
 
struct spdk_bdev *(* get_base_bdev )(struct spdk_bs_dev *dev)
 
bool(* is_zeroes )(struct spdk_bs_dev *dev, uint64_t lba, uint64_t lba_count)
 
bool(* is_range_valid )(struct spdk_bs_dev *dev, uint64_t lba, uint64_t lba_count)
 
bool(* translate_lba )(struct spdk_bs_dev *dev, uint64_t lba, uint64_t *base_lba)
 
void(* copy )(struct spdk_bs_dev *dev, struct spdk_io_channel *channel, uint64_t dst_lba, uint64_t src_lba, uint64_t lba_count, struct spdk_bs_dev_cb_args *cb_args)
 
bool(* is_degraded )(struct spdk_bs_dev *dev)
 
uint64_t blockcnt
 
uint32_t blocklen
 

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