Lines Matching refs:keys
173 struct xfs_fsmap *keys,
406 struct xfs_fsmap *keys, in xfs_getfsmap_logdev() argument
414 info->low.rm_startblock = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical); in xfs_getfsmap_logdev()
415 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in xfs_getfsmap_logdev()
416 error = xfs_fsmap_owner_to_rmap(&info->low, keys); in xfs_getfsmap_logdev()
420 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in xfs_getfsmap_logdev()
422 error = xfs_fsmap_owner_to_rmap(&info->high, keys + 1); in xfs_getfsmap_logdev()
435 if (keys[0].fmr_physical > 0) in xfs_getfsmap_logdev()
475 struct xfs_fsmap *keys, in __xfs_getfsmap_rtdev() argument
487 if (keys[0].fmr_physical >= eofs) in __xfs_getfsmap_rtdev()
489 if (keys[1].fmr_physical >= eofs) in __xfs_getfsmap_rtdev()
490 keys[1].fmr_physical = eofs - 1; in __xfs_getfsmap_rtdev()
491 start_fsb = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical); in __xfs_getfsmap_rtdev()
492 end_fsb = XFS_BB_TO_FSB(mp, keys[1].fmr_physical); in __xfs_getfsmap_rtdev()
496 error = xfs_fsmap_owner_to_rmap(&info->low, &keys[0]); in __xfs_getfsmap_rtdev()
499 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in __xfs_getfsmap_rtdev()
501 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in __xfs_getfsmap_rtdev()
504 error = xfs_fsmap_owner_to_rmap(&info->high, &keys[1]); in __xfs_getfsmap_rtdev()
507 info->high.rm_offset = XFS_BB_TO_FSBT(mp, keys[1].fmr_offset); in __xfs_getfsmap_rtdev()
509 xfs_getfsmap_set_irec_flags(&info->high, &keys[1]); in __xfs_getfsmap_rtdev()
553 struct xfs_fsmap *keys, in xfs_getfsmap_rtdev_rtbitmap() argument
557 return __xfs_getfsmap_rtdev(tp, keys, xfs_getfsmap_rtdev_rtbitmap_query, in xfs_getfsmap_rtdev_rtbitmap()
566 struct xfs_fsmap *keys, in __xfs_getfsmap_datadev() argument
584 if (keys[0].fmr_physical >= eofs) in __xfs_getfsmap_datadev()
586 if (keys[1].fmr_physical >= eofs) in __xfs_getfsmap_datadev()
587 keys[1].fmr_physical = eofs - 1; in __xfs_getfsmap_datadev()
588 start_fsb = XFS_DADDR_TO_FSB(mp, keys[0].fmr_physical); in __xfs_getfsmap_datadev()
589 end_fsb = XFS_DADDR_TO_FSB(mp, keys[1].fmr_physical); in __xfs_getfsmap_datadev()
597 info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset); in __xfs_getfsmap_datadev()
598 error = xfs_fsmap_owner_to_rmap(&info->low, &keys[0]); in __xfs_getfsmap_datadev()
602 xfs_getfsmap_set_irec_flags(&info->low, &keys[0]); in __xfs_getfsmap_datadev()
623 keys[1].fmr_offset); in __xfs_getfsmap_datadev()
624 error = xfs_fsmap_owner_to_rmap(&info->high, &keys[1]); in __xfs_getfsmap_datadev()
627 xfs_getfsmap_set_irec_flags(&info->high, &keys[1]); in __xfs_getfsmap_datadev()
703 struct xfs_fsmap *keys, in xfs_getfsmap_datadev_rmapbt() argument
707 return __xfs_getfsmap_datadev(tp, keys, info, in xfs_getfsmap_datadev_rmapbt()
738 struct xfs_fsmap *keys, in xfs_getfsmap_datadev_bnobt() argument
744 return __xfs_getfsmap_datadev(tp, keys, info, in xfs_getfsmap_datadev_bnobt()