Lines Matching refs:index
83 pd->index = 0;
103 * We copy the events count, move the bits around and flip the index.
107 int index;
117 index = pd->index ^ 1;
118 offset = pd->pg[pd->index].shift - shift;
122 pd->pg[index].shift = shift;
125 events = percpu_counter_sum(&pd->pg[pd->index].events);
130 percpu_counter_set(&pd->pg[index].events, events);
136 pd->index = index;
152 int index;
155 index = pd->index;
160 return &pd->pg[index];