Lines Matching refs:mtd_blktrans_dev
30 struct mtd_blktrans_dev *dev = in blktrans_dev_release()
31 container_of(kref, struct mtd_blktrans_dev, ref); in blktrans_dev_release()
42 static struct mtd_blktrans_dev *blktrans_dev_get(struct gendisk *disk) in blktrans_dev_get()
44 struct mtd_blktrans_dev *dev; in blktrans_dev_get()
57 static void blktrans_dev_put(struct mtd_blktrans_dev *dev) in blktrans_dev_put()
66 struct mtd_blktrans_dev *dev, in do_blktrans_request()
120 int mtd_blktrans_cease_background(struct mtd_blktrans_dev *dev) in mtd_blktrans_cease_background()
126 static struct request *mtd_next_request(struct mtd_blktrans_dev *dev) in mtd_next_request()
140 static void mtd_blktrans_work(struct mtd_blktrans_dev *dev) in mtd_blktrans_work()
188 struct mtd_blktrans_dev *dev; in mtd_queue_rq()
206 struct mtd_blktrans_dev *dev = blktrans_dev_get(bdev->bd_disk); in blktrans_open()
256 struct mtd_blktrans_dev *dev = blktrans_dev_get(disk); in blktrans_release()
283 struct mtd_blktrans_dev *dev = blktrans_dev_get(bdev->bd_disk); in blktrans_getgeo()
304 struct mtd_blktrans_dev *dev = blktrans_dev_get(bdev->bd_disk); in blktrans_ioctl()
340 int add_mtd_blktrans_dev(struct mtd_blktrans_dev *new) in add_mtd_blktrans_dev()
343 struct mtd_blktrans_dev *d; in add_mtd_blktrans_dev()
476 int del_mtd_blktrans_dev(struct mtd_blktrans_dev *old) in del_mtd_blktrans_dev()
518 struct mtd_blktrans_dev *dev, *next; in blktrans_notify_remove()
582 struct mtd_blktrans_dev *dev, *next; in deregister_mtd_blktrans()