Searched refs:s_mtd (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/drivers/mtd/ |
D | mtdsuper.c | 30 if (sb->s_mtd == fc->sget_key) { in mtd_test_super() 37 sb->s_mtd->index, sb->s_mtd->name, mtd->index, mtd->name); in mtd_test_super() 48 sb->s_mtd = fc->sget_key; in mtd_set_super() 49 sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); in mtd_set_super() 198 put_mtd_device(sb->s_mtd); in kill_mtd_super() 199 sb->s_mtd = NULL; in kill_mtd_super()
|
/Linux-v6.1/fs/romfs/ |
D | super.c | 470 if (!sb->s_mtd) { in romfs_fill_super() 487 if (sb->s_mtd) in romfs_fill_super() 488 sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); in romfs_fill_super() 502 if (sb->s_mtd && img_size > sb->s_mtd->size) in romfs_fill_super() 520 storage = sb->s_mtd ? "MTD" : "the block layer"; in romfs_fill_super() 587 if (sb->s_mtd) { in romfs_kill_sb()
|
D | storage.c | 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()
|
D | mmap-nommu.c | 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()
|
/Linux-v6.1/fs/cramfs/ |
D | inode.c | 489 if (IS_ENABLED(CONFIG_CRAMFS_MTD) && sb->s_mtd) { in cramfs_kill_sb() 491 mtd_unpoint(sb->s_mtd, 0, sbi->mtd_point_size); in cramfs_kill_sb() 636 err = mtd_point(sb->s_mtd, 0, PAGE_SIZE, &sbi->mtd_point_size, in cramfs_mtd_fill_super() 640 sb->s_mtd->name); in cramfs_mtd_fill_super() 652 sb->s_mtd->name, sbi->size/1024); in cramfs_mtd_fill_super() 653 mtd_unpoint(sb->s_mtd, 0, PAGE_SIZE); in cramfs_mtd_fill_super() 654 err = mtd_point(sb->s_mtd, 0, sbi->size, &sbi->mtd_point_size, in cramfs_mtd_fill_super() 658 sb->s_mtd->name); in cramfs_mtd_fill_super()
|
/Linux-v6.1/fs/jffs2/ |
D | super.c | 263 sb->s_mtd->index, sb->s_mtd->name); in jffs2_fill_super() 265 c->mtd = sb->s_mtd; in jffs2_fill_super()
|
/Linux-v6.1/include/linux/ |
D | fs.h | 1488 struct mtd_info *s_mtd; member
|