Lines Matching refs:whichfork
85 int whichfork;
154 fa = xfs_bmap_validate_extent(sc->ip, rb->whichfork, &irec);
160 trace_xrep_bmap_found(sc->ip, rb->whichfork, &irec);
261 if (rb->whichfork == XFS_DATA_FORK &&
264 if (rb->whichfork == XFS_ATTR_FORK &&
373 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, rb->whichfork);
380 if (rb->whichfork == XFS_ATTR_FORK || ip->i_delayed_blks == 0)
389 trace_xrep_bmap_found(ip, rb->whichfork, &irec);
549 return xrep_ino_ensure_extent_count(rb->sc, rb->whichfork,
633 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork);
634 error = xrep_newbt_init_inode(&rb->new_bmapbt, sc, rb->whichfork,
655 if (rb->real_mappings <= XFS_IFORK_MAXEXT(sc->ip, rb->whichfork)) {
671 xfs_bmbt_commit_staged_btree(bmap_cur, sc->tp, rb->whichfork);
706 xfs_rmap_ino_bmbt_owner(&oinfo, sc->ip->i_ino, rb->whichfork);
714 int whichfork)
716 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->ip, whichfork);
718 ASSERT(whichfork == XFS_DATA_FORK || whichfork == XFS_ATTR_FORK);
745 if (whichfork == XFS_ATTR_FORK)
770 int whichfork)
785 if (whichfork != XFS_DATA_FORK)
799 int whichfork,
808 error = xrep_bmap_check_inputs(sc, whichfork);
818 rb->whichfork = whichfork;
819 rb->reflink_scan = xrep_bmap_init_reflink_scan(sc, whichfork);
824 max_bmbt_recs = xfs_iext_max_nextents(large_extcount, whichfork);
826 whichfork == XFS_DATA_FORK ? "data" : "attr");