Lines Matching defs:sb
253 struct inode *jffs2_iget(struct super_block *sb, unsigned long ino)
265 inode = iget_locked(sb, ino);
396 int jffs2_do_remount_fs(struct super_block *sb, struct fs_context *fc)
398 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb);
400 if (c->flags & JFFS2_SB_FLAG_RO && !sb_rdonly(sb))
407 if (!sb_rdonly(sb)) {
426 struct super_block *sb = dir_i->i_sb;
434 c = JFFS2_SB_INFO(sb);
436 inode = new_inode(sb);
514 int jffs2_do_fill_super(struct super_block *sb, struct fs_context *fc)
521 c = JFFS2_SB_INFO(sb);
577 root_i = jffs2_iget(sb, 1);
587 sb->s_root = d_make_root(root_i);
588 if (!sb->s_root)
591 sb->s_maxbytes = 0xFFFFFFFF;
592 sb->s_blocksize = PAGE_SIZE;
593 sb->s_blocksize_bits = PAGE_SHIFT;
594 sb->s_magic = JFFS2_SUPER_MAGIC;
595 sb->s_time_min = 0;
596 sb->s_time_max = U32_MAX;
598 if (!sb_rdonly(sb))