Lines Matching refs:bmv_length
192 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
194 bmv->bmv_offset = p->bmv_offset + p->bmv_length; in xfs_getbmap_report_one()
195 bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); in xfs_getbmap_report_one()
216 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno); in xfs_getbmap_report_hole()
218 bmv->bmv_offset = p->bmv_offset + p->bmv_length; in xfs_getbmap_report_hole()
219 bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); in xfs_getbmap_report_hole()
227 return bmv->bmv_length == 0 || bmv->bmv_entries >= bmv->bmv_count - 1; in xfs_getbmap_full()
281 if (bmv->bmv_length < -1) in xfs_getbmap()
284 if (bmv->bmv_length == 0) in xfs_getbmap()
357 if (bmv->bmv_length == -1) { in xfs_getbmap()
359 bmv->bmv_length = max(0LL, max_len - bmv->bmv_offset); in xfs_getbmap()
362 bmv_end = bmv->bmv_offset + bmv->bmv_length; in xfs_getbmap()
365 len = XFS_BB_TO_FSB(mp, bmv->bmv_length); in xfs_getbmap()