Searched refs:to_bsg_device (Results 1 – 1 of 1) sorted by relevance
33 static inline struct bsg_device *to_bsg_device(struct inode *inode) in to_bsg_device() function74 if (!blk_get_queue(to_bsg_device(inode)->queue)) in bsg_open()81 blk_put_queue(to_bsg_device(inode)->queue); in bsg_release()104 struct bsg_device *bd = to_bsg_device(file_inode(file)); in bsg_ioctl()