Searched refs:curreg (Results 1 – 1 of 1) sorted by relevance
7015 static int curreg; variable7023 curreg = 0; in init_regs()7036 if (regused[curreg]) in alloc_reg()7037 curreg = (curreg + 1) % BPF_MEMWORDS; in alloc_reg()7039 regused[curreg] = 1; in alloc_reg()7040 return curreg; in alloc_reg()