Lines Matching defs: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);
124 static int vxfs_try_sb_magic(struct super_block *sbp, int silent,
129 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
132 bp = sb_bread(sbp, blk);
169 * @sbp: VFS superblock (to fill)
181 * We are under @sbp->s_lock.
183 static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent)
192 sbp->s_flags |= SB_RDONLY;
200 bsize = sb_min_blocksize(sbp, BLOCK_SIZE);
206 sbp->s_op = &vxfs_super_ops;
207 sbp->s_fs_info = infp;
208 sbp->s_time_min = 0;
209 sbp->s_time_max = U32_MAX;
211 if (!vxfs_try_sb_magic(sbp, silent, 1,
215 } else if (!vxfs_try_sb_magic(sbp, silent, 8,
238 sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic);
244 if (!sb_set_blocksize(sbp, j)) {
249 if (vxfs_read_olt(sbp, bsize)) {
254 if (vxfs_read_fshead(sbp)) {
259 root = vxfs_iget(sbp, VXFS_ROOT_INO);
264 sbp->s_root = d_make_root(root);
265 if (!sbp->s_root) {