Searched refs:curreg (Results 1 – 2 of 2) sorted by relevance
91 pcireg_t curreg, newreg; in write_siig20x_usrreg() local105 newreg = curreg = pci_conf_read(pc, tag, offset); in write_siig20x_usrreg()112 if (newreg != curreg) in write_siig20x_usrreg()
425 int curreg; member7778 cstate->curreg = 0; in init_regs()7791 if (cstate->regused[cstate->curreg]) in alloc_reg()7792 cstate->curreg = (cstate->curreg + 1) % BPF_MEMWORDS; in alloc_reg()7794 cstate->regused[cstate->curreg] = 1; in alloc_reg()7795 return cstate->curreg; in alloc_reg()