Searched refs:curreg (Results 1 – 1 of 1) sorted by relevance
7054 static int curreg; variable7062 curreg = 0; in init_regs()7075 if (regused[curreg]) in alloc_reg()7076 curreg = (curreg + 1) % BPF_MEMWORDS; in alloc_reg()7078 regused[curreg] = 1; in alloc_reg()7079 return curreg; in alloc_reg()