Lines Matching defs:affinity
33 uint64_t *affinity;
68 l->affinity = calloc(sizeof(l->affinity[0]), node_count);
79 free(l->affinity);
135 if (l->affinity[step] == 0) continue;
139 u_foreach_bit64(r, l->affinity[step]) {
173 /* Construct an affinity mask such that the vector with `count` elements does
182 * EVEN_BITS_MASK is an affinity mask for aligned register pairs. Interpreted
228 * preloaded register. The affinity is the intersection
229 * of affinity masks for each write. Since writes have
230 * offsets, but the affinity is for the whole node, we
231 * need to offset the affinity opposite the write
235 uint64_t affinity = bi_make_affinity(preload_live, count, split_file);
239 affinity &= EVEN_BITS_MASK;
241 l->affinity[node] &= (affinity >> offset);
256 l->affinity[node] &= EVEN_BITS_MASK;
265 l->affinity[i] &= ~clobber;
324 l->affinity[dest] = default_affinity;