Lines Matching refs:keys

174 				      const struct xfs_fsmap *keys,
407 const struct xfs_fsmap *keys, in xfs_getfsmap_logdev() argument
415 info->low.rm_startblock = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical); in xfs_getfsmap_logdev()
416 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in xfs_getfsmap_logdev()
417 error = xfs_fsmap_owner_to_rmap(&info->low, keys); in xfs_getfsmap_logdev()
421 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in xfs_getfsmap_logdev()
423 error = xfs_fsmap_owner_to_rmap(&info->high, keys + 1); in xfs_getfsmap_logdev()
436 if (keys[0].fmr_physical > 0) in xfs_getfsmap_logdev()
476 const struct xfs_fsmap *keys, in __xfs_getfsmap_rtdev() argument
488 if (keys[0].fmr_physical >= eofs) in __xfs_getfsmap_rtdev()
490 start_fsb = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical); in __xfs_getfsmap_rtdev()
491 end_fsb = XFS_BB_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in __xfs_getfsmap_rtdev()
495 error = xfs_fsmap_owner_to_rmap(&info->low, &keys[0]); in __xfs_getfsmap_rtdev()
498 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in __xfs_getfsmap_rtdev()
500 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in __xfs_getfsmap_rtdev()
503 error = xfs_fsmap_owner_to_rmap(&info->high, &keys[1]); in __xfs_getfsmap_rtdev()
506 info->high.rm_offset = XFS_BB_TO_FSBT(mp, keys[1].fmr_offset); in __xfs_getfsmap_rtdev()
508 xfs_getfsmap_set_irec_flags(&info->high, &keys[1]); in __xfs_getfsmap_rtdev()
562 const struct xfs_fsmap *keys, in xfs_getfsmap_rtdev_rtbitmap() argument
566 return __xfs_getfsmap_rtdev(tp, keys, xfs_getfsmap_rtdev_rtbitmap_query, in xfs_getfsmap_rtdev_rtbitmap()
575 const struct xfs_fsmap *keys, in __xfs_getfsmap_datadev() argument
594 if (keys[0].fmr_physical >= eofs) in __xfs_getfsmap_datadev()
596 start_fsb = XFS_DADDR_TO_FSB(mp, keys[0].fmr_physical); in __xfs_getfsmap_datadev()
597 end_fsb = XFS_DADDR_TO_FSB(mp, min(eofs - 1, keys[1].fmr_physical)); in __xfs_getfsmap_datadev()
605 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in __xfs_getfsmap_datadev()
606 error = xfs_fsmap_owner_to_rmap(&info->low, &keys[0]); in __xfs_getfsmap_datadev()
610 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in __xfs_getfsmap_datadev()
631 keys[1].fmr_offset); in __xfs_getfsmap_datadev()
632 error = xfs_fsmap_owner_to_rmap(&info->high, &keys[1]); in __xfs_getfsmap_datadev()
635 xfs_getfsmap_set_irec_flags(&info->high, &keys[1]); in __xfs_getfsmap_datadev()
725 const struct xfs_fsmap *keys, in xfs_getfsmap_datadev_rmapbt() argument
729 return __xfs_getfsmap_datadev(tp, keys, info, in xfs_getfsmap_datadev_rmapbt()
760 const struct xfs_fsmap *keys, in xfs_getfsmap_datadev_bnobt() argument
766 return __xfs_getfsmap_datadev(tp, keys, info, in xfs_getfsmap_datadev_bnobt()