Lines Matching refs:bsg_device
29 struct bsg_device { struct
196 static struct bsg_device *bsg_alloc_device(void) in bsg_alloc_device()
198 struct bsg_device *bd; in bsg_alloc_device()
200 bd = kzalloc(sizeof(struct bsg_device), GFP_KERNEL); in bsg_alloc_device()
210 static int bsg_put_device(struct bsg_device *bd) in bsg_put_device()
234 static struct bsg_device *bsg_add_device(struct inode *inode, in bsg_add_device()
238 struct bsg_device *bd; in bsg_add_device()
264 static struct bsg_device *__bsg_get_device(int minor, struct request_queue *q) in __bsg_get_device()
266 struct bsg_device *bd; in __bsg_get_device()
281 static struct bsg_device *bsg_get_device(struct inode *inode, struct file *file) in bsg_get_device()
283 struct bsg_device *bd; in bsg_get_device()
308 struct bsg_device *bd; in bsg_open()
321 struct bsg_device *bd = file->private_data; in bsg_release()
327 static int bsg_get_command_q(struct bsg_device *bd, int __user *uarg) in bsg_get_command_q()
332 static int bsg_set_command_q(struct bsg_device *bd, int __user *uarg) in bsg_set_command_q()
349 struct bsg_device *bd = file->private_data; in bsg_ioctl()