Lines Matching refs:sbp
68 vxfs_put_super(struct super_block *sbp) in vxfs_put_super() argument
70 struct vxfs_sb_info *infp = VXFS_SBI(sbp); in vxfs_put_super()
148 static int vxfs_try_sb_magic(struct super_block *sbp, int silent, in vxfs_try_sb_magic() argument
153 struct vxfs_sb_info *infp = VXFS_SBI(sbp); in vxfs_try_sb_magic()
156 bp = sb_bread(sbp, blk); in vxfs_try_sb_magic()
207 static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent) in vxfs_fill_super() argument
216 sbp->s_flags |= SB_RDONLY; in vxfs_fill_super()
224 bsize = sb_min_blocksize(sbp, BLOCK_SIZE); in vxfs_fill_super()
230 sbp->s_op = &vxfs_super_ops; in vxfs_fill_super()
231 sbp->s_fs_info = infp; in vxfs_fill_super()
232 sbp->s_time_min = 0; in vxfs_fill_super()
233 sbp->s_time_max = U32_MAX; in vxfs_fill_super()
235 if (!vxfs_try_sb_magic(sbp, silent, 1, in vxfs_fill_super()
239 } else if (!vxfs_try_sb_magic(sbp, silent, 8, in vxfs_fill_super()
262 sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic); in vxfs_fill_super()
268 if (!sb_set_blocksize(sbp, j)) { in vxfs_fill_super()
273 if (vxfs_read_olt(sbp, bsize)) { in vxfs_fill_super()
278 if (vxfs_read_fshead(sbp)) { in vxfs_fill_super()
283 root = vxfs_iget(sbp, VXFS_ROOT_INO); in vxfs_fill_super()
288 sbp->s_root = d_make_root(root); in vxfs_fill_super()
289 if (!sbp->s_root) { in vxfs_fill_super()