Lines Matching refs:befs_sb

306 	struct befs_sb_info *befs_sb = BEFS_SB(sb);  in befs_iget()  local
350 inode->i_uid = befs_sb->mount_opts.use_uid ? in befs_iget()
351 befs_sb->mount_opts.uid : in befs_iget()
353 inode->i_gid = befs_sb->mount_opts.use_gid ? in befs_iget()
354 befs_sb->mount_opts.gid : in befs_iget()
381 inode->i_blocks = befs_sb->block_size / VFS_BLOCK_SIZE; in befs_iget()
392 num_blks * (befs_sb->block_size / VFS_BLOCK_SIZE); in befs_iget()
775 struct befs_sb_info *befs_sb = BEFS_SB(root->d_sb); in befs_show_options() local
776 struct befs_mount_options *opts = &befs_sb->mount_opts; in befs_show_options()
816 struct befs_sb_info *befs_sb; in befs_fill_super() local
824 sb->s_fs_info = kzalloc(sizeof(*befs_sb), GFP_KERNEL); in befs_fill_super()
828 befs_sb = BEFS_SB(sb); in befs_fill_super()
830 if (!parse_options((char *) data, &befs_sb->mount_opts)) { in befs_fill_super()
885 if (befs_sb->num_blocks > ~((sector_t)0)) { in befs_fill_super()
888 befs_sb->num_blocks); in befs_fill_super()
898 sb_set_blocksize(sb, (ulong) befs_sb->block_size); in befs_fill_super()
901 root = befs_iget(sb, iaddr2blockno(sb, &(befs_sb->root_dir))); in befs_fill_super()
914 if (befs_sb->mount_opts.iocharset) { in befs_fill_super()
916 befs_sb->mount_opts.iocharset); in befs_fill_super()
917 befs_sb->nls = load_nls(befs_sb->mount_opts.iocharset); in befs_fill_super()
918 if (!befs_sb->nls) { in befs_fill_super()
921 befs_sb->mount_opts.iocharset); in befs_fill_super()
922 befs_sb->nls = load_nls_default(); in befs_fill_super()
927 befs_sb->nls = load_nls_default(); in befs_fill_super()
936 kfree(befs_sb->mount_opts.iocharset); in befs_fill_super()