Lines Matching refs:ubd
153 struct ubd { struct
197 static struct ubd ubd_devs[MAX_DEV] = { [0 ... MAX_DEV - 1] = DEFAULT_UBD };
239 struct ubd *ubd_dev; in ubd_setup_common()
511 static inline int ubd_file_size(struct ubd *ubd_dev, __u64 *size_out) in ubd_file_size()
730 static void ubd_close_dev(struct ubd *ubd_dev) in ubd_close_dev()
741 static int ubd_open_dev(struct ubd *ubd_dev) in ubd_open_dev()
817 struct ubd *ubd_dev = dev_get_drvdata(dev); in ubd_device_release()
820 *ubd_dev = ((struct ubd) DEFAULT_UBD); in ubd_device_release()
827 struct ubd *ubd_dev = disk->private_data; in serial_show()
887 struct ubd *ubd_dev = &ubd_devs[n]; in ubd_add()
972 struct ubd *ubd_dev; in ubd_get_config()
1015 struct ubd *ubd_dev; in ubd_remove()
1065 struct ubd *ubd_dev = &ubd_devs[0]; in ubd0_init()
1158 struct ubd *ubd_dev = disk->private_data; in ubd_open()
1186 struct ubd *ubd_dev = disk->private_data; in ubd_release()
1256 static void ubd_map_req(struct ubd *dev, struct io_thread_req *io_req, in ubd_map_req()
1289 static struct io_thread_req *ubd_alloc_req(struct ubd *dev, struct request *req, in ubd_alloc_req()
1321 static int ubd_submit_request(struct ubd *dev, struct request *req) in ubd_submit_request()
1355 struct ubd *ubd_dev = hctx->queue->queuedata; in ubd_queue_rq()
1390 struct ubd *ubd_dev = bdev->bd_disk->private_data; in ubd_getgeo()
1401 struct ubd *ubd_dev = bdev->bd_disk->private_data; in ubd_ioctl()