Lines Matching refs:blksize

51 	unsigned int		blocksize = mp->m_attr_geo->blksize;  in xfs_attr3_rmt_buf_space()
118 if (be32_to_cpu(rmt->rm_bytes) > mp->m_attr_geo->blksize - sizeof(*rmt)) in xfs_attr3_rmt_verify()
139 unsigned int blksize = mp->m_attr_geo->blksize; in __xfs_attr3_rmt_read_verify() local
148 ASSERT(len >= blksize); in __xfs_attr3_rmt_read_verify()
152 !xfs_verify_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF)) { in __xfs_attr3_rmt_read_verify()
159 len -= blksize; in __xfs_attr3_rmt_read_verify()
160 ptr += blksize; in __xfs_attr3_rmt_read_verify()
161 bno += BTOBB(blksize); in __xfs_attr3_rmt_read_verify()
201 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr3_rmt_write_verify() local
213 ASSERT(len >= blksize); in xfs_attr3_rmt_write_verify()
232 xfs_update_cksum(ptr, blksize, XFS_ATTR3_RMT_CRC_OFF); in xfs_attr3_rmt_write_verify()
234 len -= blksize; in xfs_attr3_rmt_write_verify()
235 ptr += blksize; in xfs_attr3_rmt_write_verify()
236 bno += BTOBB(blksize); in xfs_attr3_rmt_write_verify()
303 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyout() local
305 ASSERT(len >= blksize); in xfs_attr_rmtval_copyout()
328 len -= blksize; in xfs_attr_rmtval_copyout()
329 src += blksize; in xfs_attr_rmtval_copyout()
330 bno += BTOBB(blksize); in xfs_attr_rmtval_copyout()
352 unsigned int blksize = mp->m_attr_geo->blksize; in xfs_attr_rmtval_copyin() local
354 ASSERT(len >= blksize); in xfs_attr_rmtval_copyin()
370 if (byte_cnt + hdr_size < blksize) { in xfs_attr_rmtval_copyin()
372 ASSERT(len == blksize); in xfs_attr_rmtval_copyin()
374 blksize - hdr_size - byte_cnt); in xfs_attr_rmtval_copyin()
378 len -= blksize; in xfs_attr_rmtval_copyin()
379 dst += blksize; in xfs_attr_rmtval_copyin()
380 bno += BTOBB(blksize); in xfs_attr_rmtval_copyin()