camdd_dev
struct camdd_dev *
struct camdd_dev *dev = NULL;
struct camdd_dev *
struct camdd_dev *dev = NULL;
struct camdd_dev *dev = arg;
camdd_queue_peer_buf(struct camdd_dev *dev, struct camdd_buf *buf)
camdd_complete_peer_buf(struct camdd_dev *dev, struct camdd_buf *peer_buf)
struct camdd_dev *dev;
camdd_complete_buf(struct camdd_dev *dev, struct camdd_buf *buf,
camdd_pass_fetch(struct camdd_dev *dev)
struct camdd_dev *dev;
camdd_file_run(struct camdd_dev *dev)
camdd_pass_run(struct camdd_dev *dev)
camdd_get_next_lba_len(struct camdd_dev *dev, uint64_t *lba, ssize_t *len)
camdd_queue(struct camdd_dev *dev, struct camdd_buf *read_buf)
camdd_get_depth(struct camdd_dev *dev, uint32_t *our_depth,
camdd_print_status(struct camdd_dev *camdd_dev, struct camdd_dev *other_dev,
(uintmax_t)camdd_dev->bytes_transferred,
(camdd_dev->write_dev == 0) ? "read from" : "written to",
camdd_dev->device_name,
mb_sec = min(other_dev->bytes_transferred,camdd_dev->bytes_transferred);
struct camdd_dev *devs[2];
struct camdd_dev *peer_dev;
int (*run)(struct camdd_dev *dev);
int (*fetch)(struct camdd_dev *dev);
void camdd_free_dev(struct camdd_dev *dev);
struct camdd_dev *camdd_alloc_dev(camdd_dev_type dev_type,
static struct camdd_buf *camdd_alloc_buf(struct camdd_dev *dev,
struct camdd_buf *camdd_get_buf(struct camdd_dev *dev, camdd_buf_type buf_type);
struct camdd_dev *camdd_probe_file(int fd, struct camdd_io_opts *io_opts,
struct camdd_dev *camdd_probe_pass(struct cam_device *cam_dev,
int camdd_queue_peer_buf(struct camdd_dev *dev, struct camdd_buf *buf);
int camdd_complete_peer_buf(struct camdd_dev *dev, struct camdd_buf *peer_buf);
void camdd_complete_buf(struct camdd_dev *dev, struct camdd_buf *buf,
int camdd_pass_fetch(struct camdd_dev *dev);
int camdd_file_run(struct camdd_dev *dev);
int camdd_pass_run(struct camdd_dev *dev);
int camdd_get_next_lba_len(struct camdd_dev *dev, uint64_t *lba, ssize_t *len);
int camdd_queue(struct camdd_dev *dev, struct camdd_buf *read_buf);
void camdd_get_depth(struct camdd_dev *dev, uint32_t *our_depth,
void camdd_print_status(struct camdd_dev *camdd_dev,
struct camdd_dev *other_dev,
camdd_free_dev(struct camdd_dev *dev)
struct camdd_dev *
struct camdd_dev *dev = NULL;
camdd_alloc_buf(struct camdd_dev *dev, camdd_buf_type buf_type)
struct camdd_dev *dev;
camdd_get_buf(struct camdd_dev *dev, camdd_buf_type buf_type)