Home
last modified time | relevance | path

Searched refs:nsbp (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/xfs/
Dxfs_rtalloc.c921 xfs_sb_t *nsbp; /* new superblock */ in xfs_growfs_rt() local
1030 nsbp = &nmp->m_sb; in xfs_growfs_rt()
1034 nsbp->sb_rextsize = in->extsize; in xfs_growfs_rt()
1035 nsbp->sb_rbmblocks = bmbno + 1; in xfs_growfs_rt()
1036 nrblocks_step = (bmbno + 1) * NBBY * nsbp->sb_blocksize * in xfs_growfs_rt()
1037 nsbp->sb_rextsize; in xfs_growfs_rt()
1038 nsbp->sb_rblocks = min(nrblocks, nrblocks_step); in xfs_growfs_rt()
1039 nsbp->sb_rextents = nsbp->sb_rblocks; in xfs_growfs_rt()
1040 do_div(nsbp->sb_rextents, nsbp->sb_rextsize); in xfs_growfs_rt()
1041 ASSERT(nsbp->sb_rextents != 0); in xfs_growfs_rt()
[all …]
/linux-6.1.9/fs/nilfs2/
Dsuper.c342 struct nilfs_super_block *nsbp; in nilfs_move_2nd_super() local
374 nsbp = (void *)nsbh->b_data + offset; in nilfs_move_2nd_super()
375 memset(nsbp, 0, nilfs->ns_blocksize); in nilfs_move_2nd_super()
378 memcpy(nsbp, nilfs->ns_sbp[sb2i], nilfs->ns_sbsize); in nilfs_move_2nd_super()
381 nilfs->ns_sbp[sb2i] = nsbp; in nilfs_move_2nd_super()
385 nilfs->ns_sbp[1] = nsbp; in nilfs_move_2nd_super()