PH_SIZE
static struct { int stat, ssr, isr, ph; } ph_list[PH_SIZE];
ph_ptr = (ph_ptr + 1) & (PH_SIZE-1);
i = (i + 1) & (PH_SIZE - 1);