Lines Matching refs:bmv_length
299 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one()
301 bmv->bmv_offset = p->bmv_offset + p->bmv_length; in xfs_getbmap_report_one()
302 bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); in xfs_getbmap_report_one()
323 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno); in xfs_getbmap_report_hole()
325 bmv->bmv_offset = p->bmv_offset + p->bmv_length; in xfs_getbmap_report_hole()
326 bmv->bmv_length = max(0LL, bmv_end - bmv->bmv_offset); in xfs_getbmap_report_hole()
334 return bmv->bmv_length == 0 || bmv->bmv_entries >= bmv->bmv_count - 1; in xfs_getbmap_full()
388 if (bmv->bmv_length < -1) in xfs_getbmap()
391 if (bmv->bmv_length == 0) in xfs_getbmap()
464 if (bmv->bmv_length == -1) { in xfs_getbmap()
466 bmv->bmv_length = max(0LL, max_len - bmv->bmv_offset); in xfs_getbmap()
469 bmv_end = bmv->bmv_offset + bmv->bmv_length; in xfs_getbmap()
472 len = XFS_BB_TO_FSB(mp, bmv->bmv_length); in xfs_getbmap()