Searched refs:ubiblock (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/ubi/
H A Dblock.c83 struct ubiblock { struct
100 /* Linked list of all ubiblock instances */
180 static struct ubiblock *find_dev_nolock(int ubi_num, int vol_id) find_dev_nolock()
182 struct ubiblock *dev; find_dev_nolock()
195 struct ubiblock *dev = req->q->queuedata; ubiblock_read()
227 struct ubiblock *dev = bdev->bd_disk->private_data; ubiblock_open()
270 struct ubiblock *dev = gd->private_data; ubiblock_release()
323 struct ubiblock *dev = hctx->queue->queuedata; ubiblock_queue_rq()
361 struct ubiblock *dev; ubiblock_create()
376 dev = kzalloc(sizeof(struct ubiblock), GFP_KERNEL); ubiblock_create()
386 /* Initialize the gendisk of this ubiblock device */ ubiblock_create()
404 sprintf(gd->disk_name, "ubiblock%d_%d", dev->ubi_num, dev->vol_id); ubiblock_create()
467 static void ubiblock_cleanup(struct ubiblock *dev) ubiblock_cleanup()
483 struct ubiblock *dev; ubiblock_remove()
512 struct ubiblock *dev; ubiblock_resize()
633 struct ubiblock *next; ubiblock_remove_all()
634 struct ubiblock *dev; ubiblock_remove_all()
650 ubiblock_major = register_blkdev(0, "ubiblock"); ubiblock_init()
671 unregister_blkdev(ubiblock_major, "ubiblock"); ubiblock_init()
680 unregister_blkdev(ubiblock_major, "ubiblock"); ubiblock_exit()

Completed in 59 milliseconds