Searched refs:TRAPSIZE (Results 1 – 2 of 2) sorted by relevance
102 t = trapdebug + TRAPSIZE * cpuid + trppos[cpuid]; \111 if (++trppos[cpuid] == TRAPSIZE) \116 #define TRAPSIZE 10 /* Trap log buffer length */ macro117 extern struct trapdebug trapdebug[MAXCPUS * TRAPSIZE];
122 struct trapdebug trapdebug[MAXCPUS * TRAPSIZE];437 trapdebug[TRAPSIZE * ci->ci_cpuid + (trppos[ci->ci_cpuid] == 0 ? in itsa() 438 TRAPSIZE : trppos[ci->ci_cpuid]) - 1].code = code; in itsa() 838 base = trapdebug + ci->ci_cpuid * TRAPSIZE; in trapDump() 839 for (i = TRAPSIZE - 1; i >= 0; i--) { in trapDump() 840 if (pos + i >= TRAPSIZE) in trapDump() 841 ptrp = base + pos + i - TRAPSIZE; in trapDump()