Lines Matching refs:fmr

251 	struct xfs_fsmap		fmr;  in xfs_getfsmap_helper()  local
298 fmr.fmr_device = info->dev; in xfs_getfsmap_helper()
299 fmr.fmr_physical = info->next_daddr; in xfs_getfsmap_helper()
300 fmr.fmr_owner = info->missing_owner; in xfs_getfsmap_helper()
301 fmr.fmr_offset = 0; in xfs_getfsmap_helper()
302 fmr.fmr_length = rec_daddr - info->next_daddr; in xfs_getfsmap_helper()
303 fmr.fmr_flags = FMR_OF_SPECIAL_OWNER; in xfs_getfsmap_helper()
304 xfs_getfsmap_format(mp, &fmr, info); in xfs_getfsmap_helper()
317 fmr.fmr_device = info->dev; in xfs_getfsmap_helper()
318 fmr.fmr_physical = rec_daddr; in xfs_getfsmap_helper()
319 error = xfs_fsmap_owner_from_rmap(&fmr, rec); in xfs_getfsmap_helper()
322 fmr.fmr_offset = XFS_FSB_TO_BB(mp, rec->rm_offset); in xfs_getfsmap_helper()
323 fmr.fmr_length = XFS_FSB_TO_BB(mp, rec->rm_blockcount); in xfs_getfsmap_helper()
325 fmr.fmr_flags |= FMR_OF_PREALLOC; in xfs_getfsmap_helper()
327 fmr.fmr_flags |= FMR_OF_ATTR_FORK; in xfs_getfsmap_helper()
329 fmr.fmr_flags |= FMR_OF_EXTENT_MAP; in xfs_getfsmap_helper()
330 if (fmr.fmr_flags == 0) { in xfs_getfsmap_helper()
335 fmr.fmr_flags |= FMR_OF_SHARED; in xfs_getfsmap_helper()
338 xfs_getfsmap_format(mp, &fmr, info); in xfs_getfsmap_helper()
392 const struct xfs_fsmap *fmr) in xfs_getfsmap_set_irec_flags() argument
395 if (fmr->fmr_flags & FMR_OF_ATTR_FORK) in xfs_getfsmap_set_irec_flags()
397 if (fmr->fmr_flags & FMR_OF_EXTENT_MAP) in xfs_getfsmap_set_irec_flags()
399 if (fmr->fmr_flags & FMR_OF_PREALLOC) in xfs_getfsmap_set_irec_flags()