Searched refs:affinity (Results 1 - 16 of 16) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | mach_fat.h | 38 struct fat_arch *archret, int affinity);
|
H A D | mach_fat.c | 201 int affinity __unused)
|
H A D | pthread_synch.c | 84 #include <kern/affinity.h> 711 * look for first affinity group that is currently not active 837 uint32_t affinity = -1; local 845 affinity = tl->th_affinity_tag; 862 (void)workqueue_run_nextreq(p, wq, THREAD_NULL, force_oc, overcommit, priority, affinity); 904 * we were the last active thread on this affinity set 1270 * for this operation, we re-purpose the affinity 1275 int reqcount = uap->affinity; 1559 * and affinity that the thread is associated with 1576 * look for the affinity grou 2299 uint32_t pri, affinity; local [all...] |
H A D | kern_exec.c | 130 #include <kern/affinity.h> 1109 * Ensure the 'translated' and 'affinity' flags are cleared, since we 2361 /* Sever any extant thread affinity */
|
H A D | kern_sysctl.c | 605 SYSCTL_PROC(_kern, KERN_AFFINITY, affinity, CTLTYPE_NODE|CTLFLAG_RD | CTLFLAG_LOCKED, 3125 * Controls for debugging affinity sets - see osfmk/kern/affinity.c
|
H A D | pthread_support.c | 73 #include <kern/affinity.h>
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | Makefile | 13 affinity.h \
|
H A D | thread_policy.c | 35 #include <kern/affinity.h>
|
H A D | affinity.c | 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 se [all...] |
H A D | thread.h | 121 #include <kern/affinity.h> 299 * Processor/cache affinity 300 * - affinity_threads links task threads with the same affinity set
|
H A D | thread_act.c | 77 #include <kern/affinity.h>
|
H A D | task.c | 120 #include <kern/affinity.h>
|
/darwin-on-arm/xnu/tools/tests/affinity/ |
H A D | pool.c | 18 * affinity set placement in Leopard. 37 * When affinity is enabled, each producer thread is tagged with an affinity tag 39 * the work queue it is tagged with this affinity. When a consumer dequeues a 40 * work item, it sets its affinity to this tag. Hence consumer threads migrate 41 * to the same affinity set where the data was produced. 59 boolean_t affinity = FALSE; variable 124 "usage: pool [-a] Turn affinity on (off)\n" 179 if (affinity) { 217 * If we're using affinity set [all...] |
H A D | sets.c | 19 * affinity set placement in Leopard. 31 * All threads of each line sets the same affinity tag (unless disabled). 40 * With affinity enabled, each producer and consumer thread sets its affinity 59 boolean_t affinity = FALSE; variable 124 "usage: sets [-a] Turn affinity on (off)\n" 189 * If we're using affinity sets (we are by default) 204 if (affinity) { 359 affinity = !affinity; [all...] |
/darwin-on-arm/xnu/tools/tests/MPMMTest/ |
H A D | MPMMtest.c | 66 static boolean_t affinity = FALSE; variable 88 fprintf(stderr, " -affinity\t\tthreads use affinity\n"); 103 fprintf(stderr, " . no affinity\n"); 142 } else if (0 == strcmp("-affinity", argv[0])) { 143 affinity = TRUE; 346 if (affinity) { 700 * If we're using affinity create an empty namespace now 703 if (affinity)
|
H A D | KQMPMMtest.c | 68 static boolean_t affinity = FALSE; variable 89 fprintf(stderr, " -affinity\t\tthreads use affinity\n"); 104 fprintf(stderr, " . no affinity\n"); 143 } else if (0 == strcmp("-affinity", argv[0])) { 144 affinity = TRUE; 331 if (affinity) { 753 * If we're using affinity create an empty namespace now 756 if (affinity)
|
Completed in 118 milliseconds