Lines Matching refs:sbp
69 vxfs_put_super(struct super_block *sbp) in vxfs_put_super() argument
71 struct vxfs_sb_info *infp = VXFS_SBI(sbp); in vxfs_put_super()
149 static int vxfs_try_sb_magic(struct super_block *sbp, int silent, in vxfs_try_sb_magic() argument
154 struct vxfs_sb_info *infp = VXFS_SBI(sbp); in vxfs_try_sb_magic()
157 bp = sb_bread(sbp, blk); in vxfs_try_sb_magic()
208 static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent) in vxfs_fill_super() argument
217 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
225 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super()
231 sbp->s_op = &vxfs_super_ops; in vxfs_fill_super()
232 sbp->s_fs_info = infp; in vxfs_fill_super()
233 sbp->s_time_min = 0; in vxfs_fill_super()
234 sbp->s_time_max = U32_MAX; in vxfs_fill_super()
236 if (!vxfs_try_sb_magic(sbp, silent, 1, in vxfs_fill_super()
240 } else if (!vxfs_try_sb_magic(sbp, silent, 8, in vxfs_fill_super()
263 sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic); in vxfs_fill_super()
269 if (!sb_set_blocksize(sbp, j)) { in vxfs_fill_super()
274 if (vxfs_read_olt(sbp, bsize)) { in vxfs_fill_super()
279 if (vxfs_read_fshead(sbp)) { in vxfs_fill_super()
284 root = vxfs_iget(sbp, VXFS_ROOT_INO); in vxfs_fill_super()
289 sbp->s_root = d_make_root(root); in vxfs_fill_super()
290 if (!sbp->s_root) { in vxfs_fill_super()