Lines Matching refs:MemCmd
94 assert(pkt->cmd == MemCmd::ReadExReq ||
95 pkt->cmd == MemCmd::SCUpgradeFailReq);
106 pkt->cmd != MemCmd::ReadCleanReq) {
203 if (wbPkt->cmd == MemCmd::CleanEvict) {
209 } else if (wbPkt->cmd == MemCmd::WritebackClean) {
215 assert(wbPkt->cmd == MemCmd::WritebackDirty ||
216 wbPkt->cmd == MemCmd::WriteClean);
243 if (wbPkt->cmd == MemCmd::WritebackDirty ||
244 wbPkt->cmd == MemCmd::WriteClean) {
283 assert(pkt->cmd == MemCmd::HardPFResp);
307 if (doFastWrites && (pkt->cmd == MemCmd::WriteReq) &&
310 pkt->cmd = MemCmd::WriteLineReq;
491 cpu_pkt->cmd == MemCmd::InvalidateReq || cpu_pkt->isClean()) {
499 MemCmd cmd;
505 assert(cpu_pkt->cmd != MemCmd::WriteLineReq || is_whole_line_write);
511 cmd = MemCmd::InvalidateReq;
517 cmd = cpu_pkt->isLLSC() ? MemCmd::SCUpgradeReq : MemCmd::UpgradeReq;
518 } else if (cpu_pkt->cmd == MemCmd::SCUpgradeFailReq ||
519 cpu_pkt->cmd == MemCmd::StoreCondFailReq) {
524 cmd = MemCmd::SCUpgradeFailReq;
537 cmd = needsWritable ? MemCmd::ReadExReq :
538 (force_clean_rsp ? MemCmd::ReadCleanReq : MemCmd::ReadSharedReq);
571 if (pkt->isEviction() || pkt->cmd == MemCmd::WriteClean ||
634 bus_pkt->cmd == MemCmd::UpgradeResp) {
753 if (tgt_pkt->cmd == MemCmd::WriteLineReq) {
781 } else if (pkt->cmd == MemCmd::UpgradeFailResp) {
783 assert(tgt_pkt->cmd == MemCmd::StoreCondReq ||
784 tgt_pkt->cmd == MemCmd::StoreCondFailReq ||
785 tgt_pkt->cmd == MemCmd::SCUpgradeFailReq);
826 if (tgt_pkt->cmd == MemCmd::ReadResp &&
831 tgt_pkt->cmd = MemCmd::ReadRespWithInvalidate;
841 assert(tgt_pkt->cmd == MemCmd::HardPFReq);
861 assert(!is_invalidate || pkt->cmd == MemCmd::InvalidateResp ||
912 PacketPtr pkt = new Packet(req, MemCmd::CleanEvict);
949 if (pkt->cmd == MemCmd::ReadResp && pending_inval) {
957 pkt->cmd = MemCmd::ReadRespWithInvalidate;
1098 // MemCmd::HardPFReq is only observed by upstream caches. After missing
1099 // above and in it's own cache, a new MemCmd::ReadReq is created that
1240 assert(wb_pkt->isEviction() || wb_pkt->cmd == MemCmd::WriteClean);
1258 bool respond = wb_pkt->cmd == MemCmd::WritebackDirty &&
1280 if (invalidate && wb_pkt->cmd != MemCmd::WriteClean) {
1330 assert(pkt->isEviction() || pkt->cmd == MemCmd::WriteClean);
1350 if (tgt_pkt->cmd == MemCmd::HardPFReq && forwardSnoops) {