Lines Matching defs:index
53 rmap->near[cpu].index = cpu % size;
102 rmap->near[cpu].index = rmap->near[neigh].index;
113 unsigned index;
119 index = rmap->near[cpu].index;
121 cpu, index, rmap->near[cpu].dist);
136 * Return index of object.
140 u16 index;
143 index = rmap->used++;
144 rmap->obj[index] = obj;
145 return index;
152 * @index: Index of object whose affinity changed
155 int cpu_rmap_update(struct cpu_rmap *rmap, u16 index,
168 if (rmap->near[cpu].index == index) {
180 rmap->near[cpu].index = index;
216 u16 index;
228 u16 index;
233 for (index = 0; index < rmap->used; index++) {
234 glue = rmap->obj[index];
257 rc = cpu_rmap_update(glue->rmap, glue->index, mask);
271 glue->rmap->obj[glue->index] = NULL;
298 glue->index = cpu_rmap_add(rmap, glue);
302 rmap->obj[glue->index] = NULL;