Lines Matching refs:bsg_device
36 struct bsg_device { struct
235 static struct bsg_device *bsg_alloc_device(void) in bsg_alloc_device()
237 struct bsg_device *bd; in bsg_alloc_device()
239 bd = kzalloc(sizeof(struct bsg_device), GFP_KERNEL); in bsg_alloc_device()
249 static int bsg_put_device(struct bsg_device *bd) in bsg_put_device()
273 static struct bsg_device *bsg_add_device(struct inode *inode, in bsg_add_device()
277 struct bsg_device *bd; in bsg_add_device()
303 static struct bsg_device *__bsg_get_device(int minor, struct request_queue *q) in __bsg_get_device()
305 struct bsg_device *bd; in __bsg_get_device()
320 static struct bsg_device *bsg_get_device(struct inode *inode, struct file *file) in bsg_get_device()
322 struct bsg_device *bd; in bsg_get_device()
347 struct bsg_device *bd; in bsg_open()
360 struct bsg_device *bd = file->private_data; in bsg_release()
368 struct bsg_device *bd = file->private_data; in bsg_ioctl()