Lines Matching refs:sbp
44 vxfs_put_super(struct super_block *sbp) in vxfs_put_super() argument
46 struct vxfs_sb_info *infp = VXFS_SBI(sbp); in vxfs_put_super()
124 static int vxfs_try_sb_magic(struct super_block *sbp, int silent, in vxfs_try_sb_magic() argument
129 struct vxfs_sb_info *infp = VXFS_SBI(sbp); in vxfs_try_sb_magic()
132 bp = sb_bread(sbp, blk); in vxfs_try_sb_magic()
183 static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent) in vxfs_fill_super() argument
192 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
200 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super()
206 sbp->s_op = &vxfs_super_ops; in vxfs_fill_super()
207 sbp->s_fs_info = infp; in vxfs_fill_super()
208 sbp->s_time_min = 0; in vxfs_fill_super()
209 sbp->s_time_max = U32_MAX; in vxfs_fill_super()
211 if (!vxfs_try_sb_magic(sbp, silent, 1, in vxfs_fill_super()
215 } else if (!vxfs_try_sb_magic(sbp, silent, 8, in vxfs_fill_super()
238 sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic); in vxfs_fill_super()
244 if (!sb_set_blocksize(sbp, j)) { in vxfs_fill_super()
249 if (vxfs_read_olt(sbp, bsize)) { in vxfs_fill_super()
254 if (vxfs_read_fshead(sbp)) { in vxfs_fill_super()
259 root = vxfs_iget(sbp, VXFS_ROOT_INO); in vxfs_fill_super()
264 sbp->s_root = d_make_root(root); in vxfs_fill_super()
265 if (!sbp->s_root) { in vxfs_fill_super()