Lines Matching defs:ninst
124 uint32_t ninst;
143 unsigned ninst;
156 const char *const *instname, unsigned ninst,
169 I->ninst = ninst;
186 if (A->ninst == 0 || A->inst == NULL)
189 for (j = 0; j < A->ninst; j++) {
197 kmem_free(A->inst, A->ninst * sizeof(A->inst[0]));
234 if (E->Instruction >= I->ninst ||
238 A->ninst = 0;
249 A->ninst++;
255 if (A->ninst >= 256) {
260 A->ninst = 0;
299 if (!(*I->instvalid)(E, A->ninst, i)) {
300 A->ninst = 0;
318 if (A->ninst == 0 || A->disable)
320 A->inst = kmem_zalloc(A->ninst * sizeof(A->inst[0]), KM_SLEEP);
346 KASSERT(A->ip < A->ninst);
374 KASSERTMSG(A->ip == A->ninst,
376 I->actname[action], A->ip, A->ninst);
381 for (j = 0; j < A->ninst; j++) {
424 while (ip < A->ninst && juice --> 0) {
429 (*I->instfunc)(E, map, cookie, &ip, A->ninst);