Lines Matching refs:bmv_length
443 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
445 bmv->bmv_offset = p->bmv_offset + p->bmv_length; in xfs_getbmap_report_one()
446 bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); in xfs_getbmap_report_one()
467 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno); in xfs_getbmap_report_hole()
469 bmv->bmv_offset = p->bmv_offset + p->bmv_length; in xfs_getbmap_report_hole()
470 bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); in xfs_getbmap_report_hole()
478 return bmv->bmv_length == 0 || bmv->bmv_entries >= bmv->bmv_count - 1; in xfs_getbmap_full()
532 if (bmv->bmv_length < -1) in xfs_getbmap()
535 if (bmv->bmv_length == 0) in xfs_getbmap()
608 if (bmv->bmv_length == -1) { in xfs_getbmap()
610 bmv->bmv_length = max(0LL, max_len - bmv->bmv_offset); in xfs_getbmap()
613 bmv_end = bmv->bmv_offset + bmv->bmv_length; in xfs_getbmap()
616 len = XFS_BB_TO_FSB(mp, bmv->bmv_length); in xfs_getbmap()