Lines Matching refs:befs_sb
301 struct befs_sb_info *befs_sb = BEFS_SB(sb); in befs_iget() local
345 inode->i_uid = befs_sb->mount_opts.use_uid ? in befs_iget()
346 befs_sb->mount_opts.uid : in befs_iget()
348 inode->i_gid = befs_sb->mount_opts.use_gid ? in befs_iget()
349 befs_sb->mount_opts.gid : in befs_iget()
376 inode->i_blocks = befs_sb->block_size / VFS_BLOCK_SIZE; in befs_iget()
387 num_blks * (befs_sb->block_size / VFS_BLOCK_SIZE); in befs_iget()
770 struct befs_sb_info *befs_sb = BEFS_SB(root->d_sb); in befs_show_options() local
771 struct befs_mount_options *opts = &befs_sb->mount_opts; in befs_show_options()
811 struct befs_sb_info *befs_sb; in befs_fill_super() local
819 sb->s_fs_info = kzalloc(sizeof(*befs_sb), GFP_KERNEL); in befs_fill_super()
823 befs_sb = BEFS_SB(sb); in befs_fill_super()
825 if (!parse_options((char *) data, &befs_sb->mount_opts)) { in befs_fill_super()
880 if (befs_sb->num_blocks > ~((sector_t)0)) { in befs_fill_super()
883 befs_sb->num_blocks); in befs_fill_super()
893 sb_set_blocksize(sb, (ulong) befs_sb->block_size); in befs_fill_super()
898 root = befs_iget(sb, iaddr2blockno(sb, &(befs_sb->root_dir))); in befs_fill_super()
911 if (befs_sb->mount_opts.iocharset) { in befs_fill_super()
913 befs_sb->mount_opts.iocharset); in befs_fill_super()
914 befs_sb->nls = load_nls(befs_sb->mount_opts.iocharset); in befs_fill_super()
915 if (!befs_sb->nls) { in befs_fill_super()
918 befs_sb->mount_opts.iocharset); in befs_fill_super()
919 befs_sb->nls = load_nls_default(); in befs_fill_super()
924 befs_sb->nls = load_nls_default(); in befs_fill_super()
933 kfree(befs_sb->mount_opts.iocharset); in befs_fill_super()