Lines Matching refs:ubd
147 struct ubd { struct
189 static struct ubd ubd_devs[MAX_DEV] = { [0 ... MAX_DEV - 1] = DEFAULT_UBD };
266 struct ubd *ubd_dev; in ubd_setup_common()
556 static inline int ubd_file_size(struct ubd *ubd_dev, __u64 *size_out) in ubd_file_size()
775 static void ubd_close_dev(struct ubd *ubd_dev) in ubd_close_dev()
786 static int ubd_open_dev(struct ubd *ubd_dev) in ubd_open_dev()
862 struct ubd *ubd_dev = dev_get_drvdata(dev); in ubd_device_release()
866 *ubd_dev = ((struct ubd) DEFAULT_UBD); in ubd_device_release()
914 struct ubd *ubd_dev = &ubd_devs[n]; in ubd_add()
1016 struct ubd *ubd_dev; in ubd_get_config()
1059 struct ubd *ubd_dev; in ubd_remove()
1115 struct ubd *ubd_dev = &ubd_devs[0]; in ubd0_init()
1217 struct ubd *ubd_dev = disk->private_data; in ubd_open()
1245 struct ubd *ubd_dev = disk->private_data; in ubd_release()
1316 struct ubd *dev = hctx->queue->queuedata; in ubd_queue_one_vec()
1379 struct ubd *ubd_dev = hctx->queue->queuedata; in ubd_queue_rq()
1419 struct ubd *ubd_dev = bdev->bd_disk->private_data; in ubd_getgeo()
1430 struct ubd *ubd_dev = bdev->bd_disk->private_data; in ubd_ioctl()