Home
last modified time | relevance | path

Searched refs:s_mtd (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/mtd/
Dmtdsuper.c29 if (sb->s_mtd == fc->sget_key) { in mtd_test_super()
36 sb->s_mtd->index, sb->s_mtd->name, mtd->index, mtd->name); in mtd_test_super()
47 sb->s_mtd = fc->sget_key; in mtd_set_super()
48 sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); in mtd_set_super()
202 put_mtd_device(sb->s_mtd); in kill_mtd_super()
203 sb->s_mtd = NULL; in kill_mtd_super()
/Linux-v5.10/fs/romfs/
Dsuper.c469 if (!sb->s_mtd) { in romfs_fill_super()
486 if (sb->s_mtd) in romfs_fill_super()
487 sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); in romfs_fill_super()
501 if (sb->s_mtd && img_size > sb->s_mtd->size) in romfs_fill_super()
519 storage = sb->s_mtd ? "MTD" : "the block layer"; in romfs_fill_super()
586 if (sb->s_mtd) { in romfs_kill_sb()
Dstorage.c18 #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()
Dmmap-nommu.c25 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()
/Linux-v5.10/fs/cramfs/
Dinode.c500 if (IS_ENABLED(CONFIG_CRAMFS_MTD) && sb->s_mtd) { in cramfs_kill_sb()
502 mtd_unpoint(sb->s_mtd, 0, sbi->mtd_point_size); in cramfs_kill_sb()
647 err = mtd_point(sb->s_mtd, 0, PAGE_SIZE, &sbi->mtd_point_size, in cramfs_mtd_fill_super()
651 sb->s_mtd->name); in cramfs_mtd_fill_super()
663 sb->s_mtd->name, sbi->size/1024); in cramfs_mtd_fill_super()
664 mtd_unpoint(sb->s_mtd, 0, PAGE_SIZE); in cramfs_mtd_fill_super()
665 err = mtd_point(sb->s_mtd, 0, sbi->size, &sbi->mtd_point_size, in cramfs_mtd_fill_super()
669 sb->s_mtd->name); in cramfs_mtd_fill_super()
/Linux-v5.10/fs/jffs2/
Dsuper.c247 sb->s_mtd->index, sb->s_mtd->name); in jffs2_fill_super()
249 c->mtd = sb->s_mtd; in jffs2_fill_super()
/Linux-v5.10/include/linux/
Dfs.h1453 struct mtd_info *s_mtd; member