Searched refs:s_mtd (Results 1 – 6 of 6) sorted by relevance
460 if (!sb->s_mtd) { in romfs_fill_super()480 if (sb->s_mtd) in romfs_fill_super()481 sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); in romfs_fill_super()495 if (sb->s_mtd && img_size > sb->s_mtd->size) in romfs_fill_super()513 storage = sb->s_mtd ? "MTD" : "the block layer"; in romfs_fill_super()582 if (sb->s_mtd) { in romfs_kill_sb()583 put_mtd_device(sb->s_mtd); in romfs_kill_sb()584 sb->s_mtd = NULL; in romfs_kill_sb()
18 #define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__)224 if (sb->s_mtd) in romfs_dev_read()249 if (sb->s_mtd) in romfs_dev_strnlen()279 if (sb->s_mtd) in romfs_dev_strcmp()
25 struct mtd_info *mtd = inode->i_sb->s_mtd; in romfs_get_unmapped_area()71 struct mtd_info *mtd = file_inode(file)->i_sb->s_mtd; in romfs_mmap_capabilities()
54 sb->s_mtd = mtd; in mtd_get_sb()175 put_mtd_device(sb->s_mtd); in kill_mtd_super()176 sb->s_mtd = NULL; in kill_mtd_super()
265 sb->s_mtd->index, sb->s_mtd->name); in jffs2_fill_super()267 c->mtd = sb->s_mtd; in jffs2_fill_super()
170 struct mtd_info *s_mtd; member