Lines Matching refs:sbp
36 * @sbp: VFS superblock.
39 * vxfs_put_super frees all resources allocated for @sbp
44 vxfs_put_super(struct super_block *sbp)
46 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
126 static int vxfs_try_sb_magic(struct super_block *sbp, int silent,
131 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
134 bp = sb_bread(sbp, blk);
171 * @sbp: VFS superblock (to fill)
183 * We are under @sbp->s_lock.
185 static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent)
194 sbp->s_flags |= SB_RDONLY;
202 bsize = sb_min_blocksize(sbp, BLOCK_SIZE);
208 sbp->s_op = &vxfs_super_ops;
209 sbp->s_fs_info = infp;
210 sbp->s_time_min = 0;
211 sbp->s_time_max = U32_MAX;
213 if (!vxfs_try_sb_magic(sbp, silent, 1,
217 } else if (!vxfs_try_sb_magic(sbp, silent, 8,
240 sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic);
246 if (!sb_set_blocksize(sbp, j)) {
251 if (vxfs_read_olt(sbp, bsize)) {
256 if (vxfs_read_fshead(sbp)) {
261 root = vxfs_iget(sbp, VXFS_ROOT_INO);
266 sbp->s_root = d_make_root(root);
267 if (!sbp->s_root) {