Lines Matching refs:affinity
29 #include <kern/affinity.h>
36 * - affinity namespace:
37 * shared by a task family, this controls affinity tag lookup and
38 * allocation; it anchors all affinity sets in one namespace
39 * - affinity set:
40 * anchors all threads with membership of this affinity set
41 * and which share an affinity tag in the owning namespace.
44 * - The task lock protects the creation of an affinity namespace.
45 * - The affinity namespace mutex protects the inheritance of a namespace
48 * - The thread mutex protects a thread's affinity set membership, but in
50 * field (representng the active affinity set) is read by the scheduler.
95 * Return the affinity tag for a thread.
114 * Place a thread in an affinity set identified by a tag.
156 * Remove thread from current affinity set
167 * Add thread to existing affinity set
173 * Use the new affinity set, add this thread
258 * Return affinity tag info (number, min, max) for the task.
300 * Set the child into the parent's affinity set.
301 * Note the affinity space is shared.
330 * Remove thread from any affinity set.
350 * Create an empty affinity namespace data structure.
370 * Destroy the given empty affinity namespace data structure.
383 * Create an empty affinity set data structure
407 * Destroy the given empty affinity set data structure
420 * Add a thread to an affinity set.
440 * Remove a thread from an affinity set returning the set if now empty.
474 * Find an affinity set in the parent task with the given affinity tag.
495 * affinity_set_place() assigns an affinity set to a suitable processor_set.
514 * Scan the affinity sets calculating the number of sets
525 * a cpu affinity chosen randomly per namespace:
545 /* Add the new affinity set to the group */
550 DBG("affinity_set_place(%p,%p) selected affinity %u pset %p\n",