Lines Matching refs:blockoff
130 unsigned block, blockoff, lastfrag, lastblock, lastblockoff; in ufs_inode_getfrag() local
140 blockoff = ufs_fragnum (fragment); in ufs_inode_getfrag()
149 result = sb_getblk(sb, uspi->s_sbbase + tmp + blockoff); in ufs_inode_getfrag()
151 UFSD(("EXIT, result %u\n", tmp + blockoff)) in ufs_inode_getfrag()
185 tmp = ufs_new_fragments (inode, p, fragment - blockoff, in ufs_inode_getfrag()
186 goal, required + blockoff, err); in ufs_inode_getfrag()
192 tmp = ufs_new_fragments (inode, p, fragment - (blockoff - lastblockoff), in ufs_inode_getfrag()
193 fs32_to_cpu(sb, *p), required + (blockoff - lastblockoff), err); in ufs_inode_getfrag()
201 tmp = ufs_new_fragments (inode, p, fragment - blockoff, in ufs_inode_getfrag()
205 if ((!blockoff && *p) || in ufs_inode_getfrag()
206 (blockoff && lastfrag != inode->u.ufs_i.i_lastfrag)) in ufs_inode_getfrag()
217 result = sb_getblk(inode->i_sb, tmp + blockoff); in ufs_inode_getfrag()
229 UFSD(("EXIT, result %u\n", tmp + blockoff)) in ufs_inode_getfrag()
240 unsigned tmp, goal, block, blockoff; in ufs_block_getfrag() local
246 blockoff = ufs_fragnum (fragment); in ufs_block_getfrag()
265 result = sb_getblk(sb, uspi->s_sbbase + tmp + blockoff); in ufs_block_getfrag()
292 result = sb_getblk(sb, tmp + blockoff); in ufs_block_getfrag()
307 UFSD(("EXIT, result %u\n", tmp + blockoff)) in ufs_block_getfrag()