Searched refs:bsg_device (Results 1 – 2 of 2) sorted by relevance
23 struct bsg_device { struct33 static inline struct bsg_device *to_bsg_device(struct inode *inode) in to_bsg_device() argument35 return container_of(inode->i_cdev, struct bsg_device, cdev); in to_bsg_device()45 static unsigned int bsg_timeout(struct bsg_device *bd, struct sg_io_v4 *hdr) in bsg_timeout()57 static int bsg_sg_io(struct bsg_device *bd, fmode_t mode, void __user *uarg) in bsg_sg_io()85 static int bsg_get_command_q(struct bsg_device *bd, int __user *uarg) in bsg_get_command_q()90 static int bsg_set_command_q(struct bsg_device *bd, int __user *uarg) in bsg_set_command_q()104 struct bsg_device *bd = to_bsg_device(file_inode(file)); in bsg_ioctl()170 struct bsg_device *bd = container_of(dev, struct bsg_device, device); in bsg_device_release()176 void bsg_unregister_queue(struct bsg_device *bd) in bsg_unregister_queue()[all …]
23 struct bsg_device *bd;