mbd_dev 101 drivers/mtd/mtdswap.c struct mtd_blktrans_dev *mbd_dev; mbd_dev 1070 drivers/mtd/mtdswap.c hd->info.last_page = d->mbd_dev->size - 1; mbd_dev 1183 drivers/mtd/mtdswap.c mutex_lock(&d->mbd_dev->lock); mbd_dev 1210 drivers/mtd/mtdswap.c pages = d->mbd_dev->size; mbd_dev 1215 drivers/mtd/mtdswap.c mutex_unlock(&d->mbd_dev->lock); mbd_dev 1281 drivers/mtd/mtdswap.c struct mtd_info *mtd = d->mbd_dev->mtd; mbd_dev 1290 drivers/mtd/mtdswap.c pages = d->mbd_dev->size; mbd_dev 1343 drivers/mtd/mtdswap.c struct mtd_blktrans_dev *mbd_dev; mbd_dev 1428 drivers/mtd/mtdswap.c mbd_dev = kzalloc(sizeof(struct mtd_blktrans_dev), GFP_KERNEL); mbd_dev 1429 drivers/mtd/mtdswap.c if (!mbd_dev) { mbd_dev 1434 drivers/mtd/mtdswap.c d->mbd_dev = mbd_dev; mbd_dev 1435 drivers/mtd/mtdswap.c mbd_dev->priv = d; mbd_dev 1437 drivers/mtd/mtdswap.c mbd_dev->mtd = mtd; mbd_dev 1438 drivers/mtd/mtdswap.c mbd_dev->devnum = mtd->index; mbd_dev 1439 drivers/mtd/mtdswap.c mbd_dev->size = swap_size >> PAGE_SHIFT; mbd_dev 1440 drivers/mtd/mtdswap.c mbd_dev->tr = tr; mbd_dev 1443 drivers/mtd/mtdswap.c mbd_dev->readonly = 1; mbd_dev 1448 drivers/mtd/mtdswap.c if (add_mtd_blktrans_dev(mbd_dev) < 0) mbd_dev 1451 drivers/mtd/mtdswap.c d->dev = disk_to_dev(mbd_dev->disk); mbd_dev 1460 drivers/mtd/mtdswap.c del_mtd_blktrans_dev(mbd_dev); mbd_dev 1466 drivers/mtd/mtdswap.c kfree(mbd_dev);