Searched refs:s_mtd (Results 1 – 6 of 6) sorted by relevance
/linux/fs/romfs/ |
H A D | super.c | 460 if (!sb->s_mtd) { in romfs_fill_super() 477 if (sb->s_mtd) in romfs_fill_super() 478 sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, sb->s_mtd->index); in romfs_fill_super() 492 if (sb->s_mtd && img_size > sb->s_mtd->size) in romfs_fill_super() 510 storage = sb->s_mtd ? "MTD" : "the block layer"; in romfs_fill_super() 579 if (sb->s_mtd) { in romfs_kill_sb() 580 put_mtd_device(sb->s_mtd); in romfs_kill_sb() 581 sb->s_mtd = NULL; in romfs_kill_sb()
|
H A 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()
|
H A 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/drivers/mtd/ |
H A D | mtdsuper.c | 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()
|
/linux/fs/cramfs/ |
H A D | inode.c | 491 if (IS_ENABLED(CONFIG_CRAMFS_MTD) && sb->s_mtd) { in cramfs_kill_sb() 493 mtd_unpoint(sb->s_mtd, 0, sbi->mtd_point_size); in cramfs_kill_sb() 494 put_mtd_device(sb->s_mtd); in cramfs_kill_sb() 495 sb->s_mtd = NULL; in cramfs_kill_sb() 640 err = mtd_point(sb->s_mtd, 0, PAGE_SIZE, &sbi->mtd_point_size, in cramfs_mtd_fill_super() 644 sb->s_mtd->name); in cramfs_mtd_fill_super() 656 sb->s_mtd->name, sbi->size/1024); in cramfs_mtd_fill_super() 657 mtd_unpoint(sb->s_mtd, 0, PAGE_SIZE); in cramfs_mtd_fill_super() 658 err = mtd_point(sb->s_mtd, 0, sbi->size, &sbi->mtd_point_size, in cramfs_mtd_fill_super() 662 sb->s_mtd->name); in cramfs_mtd_fill_super()
|
/linux/include/linux/ |
H A D | fs.h | 1293 struct mtd_info *s_mtd; member
|