Lines Matching refs:bmv_length
438 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
440 bmv->bmv_offset = p->bmv_offset + p->bmv_length; in xfs_getbmap_report_one()
441 bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); in xfs_getbmap_report_one()
462 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno); in xfs_getbmap_report_hole()
464 bmv->bmv_offset = p->bmv_offset + p->bmv_length; in xfs_getbmap_report_hole()
465 bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); in xfs_getbmap_report_hole()
473 return bmv->bmv_length == 0 || bmv->bmv_entries >= bmv->bmv_count - 1; in xfs_getbmap_full()
527 if (bmv->bmv_length < -1) in xfs_getbmap()
530 if (bmv->bmv_length == 0) in xfs_getbmap()
603 if (bmv->bmv_length == -1) { in xfs_getbmap()
605 bmv->bmv_length = max(0LL, max_len - bmv->bmv_offset); in xfs_getbmap()
608 bmv_end = bmv->bmv_offset + bmv->bmv_length; in xfs_getbmap()
611 len = XFS_BB_TO_FSB(mp, bmv->bmv_length); in xfs_getbmap()