/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | cachetocache.c | 33 * solaris features to find and bind to cpus in the current 62 static processorid_t cpus[1024]; variable 101 if (pset_info(PS_MYID, NULL, &ncpu, cpus) < 0) { 126 cpu = cpus[(pthread_self() - 1) % ncpu],
|
/darwin-on-arm/xnu/osfmk/i386/commpage/ |
H A D | commpage.c | 188 int cpus; local 190 cpus = ml_get_max_cpus(); // NB: this call can block 192 if (cpus == 0) 193 panic("commpage cpus==0"); 194 if (cpus > 0xFF) 195 cpus = 0xFF; 197 return cpus; 206 int cpus; local 252 cpus = commpage_cpus(); // how many CPUs do we have 254 bits |= (cpus << kNumCPUsShif [all...] |
/darwin-on-arm/xnu/bsd/conf/ |
H A D | MASTER | 273 pseudo-device cpus 64 # <multi64> 274 pseudo-device cpus 32 # <multi32> 275 pseudo-device cpus 16 # <multi16> 276 pseudo-device cpus 2 # <multi2> 277 pseudo-device cpus 1 # <!multi64,multi32,multi16,multi2>
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | i386_init.c | 473 unsigned int cpus = 0; local 524 if (PE_parse_boot_argn("cpus", &cpus, sizeof (cpus))) { 525 if ((0 < cpus) && (cpus < max_ncpus)) 526 max_ncpus = cpus; 570 * The maximum number of cpus must be set beforehand.
|
H A D | mp.h | 91 extern unsigned int real_ncpus; /* real number of cpus */ 92 extern unsigned int max_ncpus; /* max number of cpus */ 133 * Called from thread context, this blocks until all active cpus have 160 * Invoke a function (possibly NULL) on a set of cpus specified by a mask. 163 * - ASYNC: other cpus make their calls in parallel 167 * called on all specified cpus. 168 * The return value is the number of cpus where the call was made or queued. 172 cpumask_t cpus, 177 cpumask_t cpus,
|
H A D | cpu_topology.h | 49 uint8_t maxcpus; /* maximum # of cpus that can share */ 50 uint8_t nlcpus; /* # of logical cpus sharing this cache */ 57 struct x86_lcpu *cpus[0]; /* cpus sharing this cache */ member in struct:x86_cpu_cache 163 struct x86_lcpu *lcpus; /* list of logical cpus in core */ 167 uint32_t num_lcpus; /* Number of logical cpus */ 168 uint32_t active_lcpus; /* Number of {running, idle} cpus */ 200 struct x86_lcpu *lcpus; /* list of logical cpus in package */
|
H A D | mp.c | 692 * Send event to all running cpus. 711 * Return the number of running cpus. 733 * - rendezvous (i.e. all cpus reach a barrier), 1041 * mp_cpus_call() runs a given function on cpus specified in a given cpu mask. 1043 * SYNC: function is called serially on target cpus in logical cpu order 1045 * ASYNC: function call is queued to the specified cpus 1050 * The cpu mask may include the local cpu. Offline cpus are ignored. 1051 * The return value is the number of cpus on which the call was made or queued. 1055 cpumask_t cpus, 1061 cpus, 1054 mp_cpus_call( cpumask_t cpus, mp_sync_t mode, void (*action_func)(void *), void *arg) argument 1091 mp_cpus_call1( cpumask_t cpus, mp_sync_t mode, void (*action_func)(void *, void *), void *arg0, void *arg1, cpumask_t *cpus_calledp, cpumask_t *cpus_notcalledp) argument [all...] |
H A D | cpu_threads.c | 102 cache->cpus[i] = NULL; 595 if (cache->cpus[i] == NULL) { 596 cache->cpus[i] = lcpu; 831 * Assume that all cpus have the same features. 1021 * number of CPUs. However, when specifying cpus=n the topology is only 1025 * indicated by cpus=n. Until that happens, this code will not check the 1026 * topology if the number of cpus defined is < that described the the
|
/darwin-on-arm/xnu/iokit/Drivers/KernelBuiltIn/ARM/AppleARMPlatform/ |
H A D | IOCPU.h | 123 IOCPU **cpus; member in class:IOCPUInterruptController
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOCPU.h | 125 IOCPU **cpus; member in class:IOCPUInterruptController
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_lat_ctx.c | 172 int cpus, retval; 174 retval=sysctlbyname(name, &cpus, &len, NULL, 0); 176 debug("cpus = %d retval = %d", cpus, retval); 177 return cpus;
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | doconf | 171 cputypes.h cpus.h vice.h\
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOCPU.cpp | 617 cpus = (IOCPU **)IOMalloc(numCPUs * sizeof(IOCPU *)); 618 if (cpus == 0) return kIOReturnNoMemory; 619 bzero(cpus, numCPUs * sizeof(IOCPU *));
|
H A D | IOPlatformExpert.cpp | 1131 IORegistryEntry * cpus; local 1158 // Publish the cpus. 1159 cpus = rootEntry->childFromPath( "cpus", gIODTPlane); 1160 if ( cpus) 1161 createNubs( this, IODTFindMatchingEntries( cpus, kIODTExclusive, 0));
|