Lines Matching defs:sm

168     char sm[50];
173 tc->getVirtProxy().readString(sm, args[0], 50);
177 if (!sm[0])
181 int smi = getSm(sysi, sm, args[1]);
182 DPRINTF(Annotate, "Starting machine: %s(%d) sysi: %d id: %#x\n", sm,
197 prev_smi, sm, smi, args[1]);
208 sm, smi, args[1]);
224 Id id = Id(sm, frame);
232 an->sm, sm, smi);
238 lnMap[smi] = an->sm;
245 int sti = getSt(sm, st);
258 char sm[50];
259 tc->getVirtProxy().readString(sm, args[0], 50);
261 doSwSmEnd(sys, tc->contextId(), sm, getFrame(tc));
265 CPA::doSwSmEnd(System *sys, int cpuid, string sm, uint64_t frame)
278 DPRINTF(Annotate, "Ending machine: %s[%d, %#x] (%d?)\n", sm, sysi,
281 if (!smStack[sid].size() || smMap[smib-1].second.first != sm) {
287 DPRINTF(Annotate, "Ending machine: %s; end stack: %s\n", sm,
294 sm, sysi, smMap[smib-1].second.second, smStack[sid].back(),
295 getSm(sysi, sm, smMap[smib-1].second.second));
296 assert(getSm(sysi, sm, smMap[smib-1].second.second) ==
570 char sm[50];
571 tc->getVirtProxy().readString(sm, args[2], 50);
572 doSwSmEnd(tc->getSystemPtr(), tc->contextId(), sm, getFrame(tc));
598 char sm[50];
599 tc->getVirtProxy().readString(sm, args[2], 50);
600 doSwSmEnd(tc->getSystemPtr(), tc->contextId(), sm, getFrame(tc));
740 char sm[50];
741 tc->getVirtProxy().readString(sm, args[2], 50);
742 doSwSmEnd(tc->getSystemPtr(), tc->contextId(), sm, getFrame(tc));
817 char sm[50];
818 tc->getVirtProxy().readString(sm, args[1], 50);
819 doSwSmEnd(tc->getSystemPtr(), tc->contextId(), sm, getFrame(tc));
824 CPA::add(int t, int f, int c, int sm, int stq, int32_t d)
832 an->sm = sm;
839 DPRINTF(AnnotateVerbose, "Annotate: op: %d flags: 0x%x sm: %d state: %d time: %d, data: %d\n",
840 an->op, an->flag, an->sm, an->stq, an->time, an->data);
965 osbin->write((char*)&(an->sm), sizeof(an->sm));
980 CPA::doQ(System *sys, int flags, int cpuid, int sm,
990 qData[qi-1].push_front(add(OP_QUEUE, flags, cpuid, sm, qi, count));
992 qData[qi-1].push_back(add(OP_QUEUE, flags, cpuid, sm, qi, count));
1001 CPA::doDq(System *sys, int flags, int cpuid, int sm,
1007 add(OP_DEQUEUE, flags, cpuid, sm, qi, count);
1059 add(OP_DEQUEUE, flags, cpuid, sm, qi, count);
1385 SERIALIZE_SCALAR(sm);
1398 UNSERIALIZE_SCALAR(sm);