Searched refs:block2mtd_dev (Results 1 – 1 of 1) sorted by relevance
38 struct block2mtd_dev { struct56 static int _block2mtd_erase(struct block2mtd_dev *dev, loff_t to, size_t len) in _block2mtd_erase() argument89 struct block2mtd_dev *dev = mtd->priv; in block2mtd_erase()107 struct block2mtd_dev *dev = mtd->priv; in block2mtd_read()138 static int _block2mtd_write(struct block2mtd_dev *dev, const u_char *buf, in _block2mtd_write()181 struct block2mtd_dev *dev = mtd->priv; in block2mtd_write()196 struct block2mtd_dev *dev = mtd->priv; in block2mtd_sync()202 static void block2mtd_free_device(struct block2mtd_dev *dev) in block2mtd_free_device()223 blk_mode_t mode, int timeout, struct block2mtd_dev *dev) in mdtblock_early_get_bdev()261 static struct block2mtd_dev *add_device(char *devname, int erase_size, in add_device()[all …]