Lines Matching defs:sbp
60 * @sbp: VFS superblock.
63 * vxfs_put_super frees all resources allocated for @sbp
68 vxfs_put_super(struct super_block *sbp)
70 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
148 static int vxfs_try_sb_magic(struct super_block *sbp, int silent,
153 struct vxfs_sb_info *infp = VXFS_SBI(sbp);
156 bp = sb_bread(sbp, blk);
193 * @sbp: VFS superblock (to fill)
205 * We are under @sbp->s_lock.
207 static int vxfs_fill_super(struct super_block *sbp, void *dp, int silent)
216 sbp->s_flags |= SB_RDONLY;
224 bsize = sb_min_blocksize(sbp, BLOCK_SIZE);
230 sbp->s_op = &vxfs_super_ops;
231 sbp->s_fs_info = infp;
232 sbp->s_time_min = 0;
233 sbp->s_time_max = U32_MAX;
235 if (!vxfs_try_sb_magic(sbp, silent, 1,
239 } else if (!vxfs_try_sb_magic(sbp, silent, 8,
262 sbp->s_magic = fs32_to_cpu(infp, rsbp->vs_magic);
268 if (!sb_set_blocksize(sbp, j)) {
273 if (vxfs_read_olt(sbp, bsize)) {
278 if (vxfs_read_fshead(sbp)) {
283 root = vxfs_iget(sbp, VXFS_ROOT_INO);
288 sbp->s_root = d_make_root(root);
289 if (!sbp->s_root) {