bsg_device
struct bsg_device *bd;
struct bsg_device *bd = to_bsg_device(file_inode(file));
struct bsg_device *bd = container_of(dev, struct bsg_device, device);
void bsg_unregister_queue(struct bsg_device *bd)
struct bsg_device *bsg_register_queue(struct request_queue *q,
struct bsg_device *bd;
static inline struct bsg_device *to_bsg_device(struct inode *inode)
return container_of(inode->i_cdev, struct bsg_device, cdev);
static unsigned int bsg_timeout(struct bsg_device *bd, struct sg_io_v4 *hdr)
static int bsg_sg_io(struct bsg_device *bd, bool open_for_write,
static int bsg_get_command_q(struct bsg_device *bd, int __user *uarg)
static int bsg_set_command_q(struct bsg_device *bd, int __user *uarg)
struct bsg_device *scsi_bsg_register_queue(struct scsi_device *sdev)
struct bsg_device *scsi_bsg_register_queue(struct scsi_device *sdev);
struct bsg_device;
struct bsg_device *bsg_register_queue(struct request_queue *q,
void bsg_unregister_queue(struct bsg_device *bcd);
struct bsg_device;
struct bsg_device;
struct bsg_device *bsg_dev;