Searched refs:s_mtd (Results 1 – 8 of 8) sorted by relevance
19 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_read()39 struct mtd_info *mtd = super->s_mtd; in loffs_mtd_write()93 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_erase()120 struct mtd_info *mtd = logfs_super(sb)->s_mtd; in logfs_mtd_sync()153 struct mtd_info *mtd = super->s_mtd; in logfs_mtd_find_first_sb()170 struct mtd_info *mtd = super->s_mtd; in logfs_mtd_find_last_sb()231 put_mtd_device(s->s_mtd); in logfs_mtd_put_device()271 s->s_mtd = mtd; in logfs_get_sb_mtd()
118 sb->s_mtd = super->s_mtd; in logfs_sb_set()125 if (sb->s_mtd) in logfs_sb_set()126 sb->s_bdi = sb->s_mtd->backing_dev_info; in logfs_sb_set()134 struct mtd_info *mtd = super->s_mtd; in logfs_sb_test()136 if (mtd && sb->s_mtd == mtd) in logfs_sb_test()
319 p->s_mtd = NULL; in logfs_get_sb_bdev()
324 struct mtd_info *s_mtd; /* underlying device */ member
495 if (!sb->s_mtd) { in romfs_fill_super()510 if (sb->s_mtd) in romfs_fill_super()511 sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); in romfs_fill_super()525 if (sb->s_mtd && img_size > sb->s_mtd->size) in romfs_fill_super()543 storage = sb->s_mtd ? "MTD" : "the block layer"; in romfs_fill_super()599 if (sb->s_mtd) { in romfs_kill_sb()
22 #define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__)230 if (sb->s_mtd) in romfs_dev_read()255 if (sb->s_mtd) in romfs_dev_strnlen()285 if (sb->s_mtd) in romfs_dev_strcmp()
29 struct mtd_info *mtd = inode->i_sb->s_mtd; in romfs_get_unmapped_area()75 struct mtd_info *mtd = file_inode(file)->i_sb->s_mtd; in romfs_mmap_capabilities()
277 sb->s_mtd->index, sb->s_mtd->name); in jffs2_fill_super()283 c->mtd = sb->s_mtd; in jffs2_fill_super()