Lines Matching refs:fake
516 struct xfs_rmap_intent fake = { }; in xfs_rui_item_recover() local
522 fake.ri_type = XFS_RMAP_MAP; in xfs_rui_item_recover()
525 fake.ri_type = XFS_RMAP_MAP_SHARED; in xfs_rui_item_recover()
528 fake.ri_type = XFS_RMAP_UNMAP; in xfs_rui_item_recover()
531 fake.ri_type = XFS_RMAP_UNMAP_SHARED; in xfs_rui_item_recover()
534 fake.ri_type = XFS_RMAP_CONVERT; in xfs_rui_item_recover()
537 fake.ri_type = XFS_RMAP_CONVERT_SHARED; in xfs_rui_item_recover()
540 fake.ri_type = XFS_RMAP_ALLOC; in xfs_rui_item_recover()
543 fake.ri_type = XFS_RMAP_FREE; in xfs_rui_item_recover()
553 fake.ri_owner = map->me_owner; in xfs_rui_item_recover()
554 fake.ri_whichfork = (map->me_flags & XFS_RMAP_EXTENT_ATTR_FORK) ? in xfs_rui_item_recover()
556 fake.ri_bmap.br_startblock = map->me_startblock; in xfs_rui_item_recover()
557 fake.ri_bmap.br_startoff = map->me_startoff; in xfs_rui_item_recover()
558 fake.ri_bmap.br_blockcount = map->me_len; in xfs_rui_item_recover()
559 fake.ri_bmap.br_state = (map->me_flags & XFS_RMAP_EXTENT_UNWRITTEN) ? in xfs_rui_item_recover()
562 error = xfs_trans_log_finish_rmap_update(tp, rudp, &fake, in xfs_rui_item_recover()