Searched refs:curreg (Results 1 – 1 of 1) sorted by relevance
420 int curreg; member7157 cstate->curreg = 0; in init_regs()7170 if (cstate->regused[cstate->curreg]) in alloc_reg()7171 cstate->curreg = (cstate->curreg + 1) % BPF_MEMWORDS; in alloc_reg()7173 cstate->regused[cstate->curreg] = 1; in alloc_reg()7174 return cstate->curreg; in alloc_reg()