Searched refs:mbd_dev (Results 1 – 1 of 1) sorted by relevance
101 struct mtd_blktrans_dev *mbd_dev; member1068 hd->info.last_page = d->mbd_dev->size - 1; in mtdswap_auto_header()1181 mutex_lock(&d->mbd_dev->lock); in mtdswap_show()1208 pages = d->mbd_dev->size; in mtdswap_show()1213 mutex_unlock(&d->mbd_dev->lock); in mtdswap_show()1273 struct mtd_info *mtd = d->mbd_dev->mtd; in mtdswap_init()1282 pages = d->mbd_dev->size; in mtdswap_init()1335 struct mtd_blktrans_dev *mbd_dev; in mtdswap_add_mtd() local1420 mbd_dev = kzalloc(sizeof(struct mtd_blktrans_dev), GFP_KERNEL); in mtdswap_add_mtd()1421 if (!mbd_dev) { in mtdswap_add_mtd()[all …]