Lines Matching refs:whichfork
608 int whichfork, in xrep_tempexch_prep_request() argument
618 if (whichfork == XFS_COW_FORK) { in xrep_tempexch_prep_request()
624 if (!xfs_ifork_ptr(sc->ip, whichfork) || in xrep_tempexch_prep_request()
625 !xfs_ifork_ptr(sc->tempip, whichfork)) { in xrep_tempexch_prep_request()
626 ASSERT(xfs_ifork_ptr(sc->ip, whichfork) != NULL); in xrep_tempexch_prep_request()
627 ASSERT(xfs_ifork_ptr(sc->tempip, whichfork) != NULL); in xrep_tempexch_prep_request()
636 switch (whichfork) { in xrep_tempexch_prep_request()
664 int whichfork = xfs_exchmaps_reqfork(req); in xrep_tempexch_estimate() local
672 ifp = xfs_ifork_ptr(sc->ip, whichfork); in xrep_tempexch_estimate()
676 tifp = xfs_ifork_ptr(sc->tempip, whichfork); in xrep_tempexch_estimate()
801 int whichfork, in xrep_tempexch_trans_reserve() argument
812 error = xrep_tempexch_prep_request(sc, whichfork, off, len, tx); in xrep_tempexch_trans_reserve()
841 int whichfork, in xrep_tempexch_trans_alloc() argument
850 error = xrep_tempexch_prep_request(sc, whichfork, 0, XFS_MAX_FILEOFF, in xrep_tempexch_trans_alloc()
917 int whichfork) in xrep_tempfile_copyout_local() argument
923 temp_ifp = xfs_ifork_ptr(sc->tempip, whichfork); in xrep_tempfile_copyout_local()
924 ifp = xfs_ifork_ptr(sc->ip, whichfork); in xrep_tempfile_copyout_local()
931 switch (whichfork) { in xrep_tempfile_copyout_local()
946 xfs_init_local_fork(sc->ip, whichfork, temp_ifp->if_data, in xrep_tempfile_copyout_local()
949 if (whichfork == XFS_DATA_FORK) { in xrep_tempfile_copyout_local()
954 ilog_flags |= xfs_ilog_fdata(whichfork); in xrep_tempfile_copyout_local()