Searched refs:cpus (Results 1 - 19 of 19) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmp.h35 #include <cpus.h>
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Di386_init.c120 unsigned int cpus; local
179 if (PE_parse_boot_argn("cpus", &cpus, sizeof (cpus))) {
180 if ((0 < cpus) && (cpus < max_ncpus))
181 max_ncpus = cpus;
219 * The maximum number of cpus must be set beforehand.
H A Dcpu_topology.h49 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
165 struct x86_lcpu *lcpus; /* list of logical cpus in core */
169 uint32_t num_lcpus; /* Number of logical cpus */
170 uint32_t active_lcpus; /* Number of {running, idle} cpus */
202 struct x86_lcpu *lcpus; /* list of logical cpus in package */
H A Dmp.h93 extern unsigned int real_ncpus; /* real number of cpus */
94 extern unsigned int max_ncpus; /* max number of cpus */
133 * Called from thread context, this blocks until all active cpus have
152 * Invoke a function (possibly NULL) on a set of cpus specified by a mask.
155 * - ASYNC: other cpus make their calls in parallel.
157 * This call returns when the function has been run on all specified cpus.
158 * The return value is the number of cpus on which the call was made.
162 cpumask_t cpus,
H A Dcpu_threads.c96 cache->cpus[i] = NULL;
629 if (cache->cpus[i] == NULL) {
630 cache->cpus[i] = lcpu;
872 * Assume that all cpus have the same features.
1059 * number of CPUs. However, when specifying cpus=n the topology is only
1063 * indicated by cpus=n. Until that happens, this code will not check the
1064 * topology if the number of cpus defined is < that described the the
H A Dmp.c657 * Send event to all running cpus.
676 * Return the number of running cpus.
698 * - rendezvous (i.e. all cpus reach a barrier),
870 * mp_cpus_call() runs a given function on cpus specified in a given cpu mask.
871 * If the mode is SYNC, the function is called serially on the target cpus
873 * parallel over the specified cpus.
875 * The cpu mask may include the local cpu. Offline cpus are ignored.
876 * Return does not occur until the function has completed on all cpus.
877 * The return value is the number of cpus on which the function was called.
881 cpumask_t cpus,
880 mp_cpus_call( cpumask_t cpus, mp_sync_t mode, void (*action_func)(void *), void *arg) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/
H A Dcommpage.c171 int cpus; local
173 cpus = ml_get_max_cpus(); // NB: this call can block
175 if (cpus == 0)
176 panic("commpage cpus==0");
177 if (cpus > 0xFF)
178 cpus = 0xFF;
180 return cpus;
189 int cpus; local
232 cpus = commpage_cpus(); // how many CPUs do we have
234 if (cpus
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/
H A Dcommpage.c268 int cpus; local
270 cpus = ml_get_max_cpus(); // NB: this call can block
272 if (cpus == 0)
273 panic("commpage cpus==0");
274 if (cpus > 0xFF)
275 cpus = 0xFF;
277 return cpus;
287 int cpus; local
302 cpus = commpage_cpus(); // how many CPUs do we have
303 if (cpus
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOCPU.h125 IOCPU **cpus; member in class:IOCPUInterruptController
/macosx-10.5.8/xnu-1228.15.4/bsd/conf/tools/doconf/
H A Ddoconf.csh166 cputypes.h cpus.h vice.h\
/macosx-10.5.8/xnu-1228.15.4/iokit/conf/tools/doconf/
H A Ddoconf.csh166 cputypes.h cpus.h vice.h\
/macosx-10.5.8/xnu-1228.15.4/libkern/conf/tools/doconf/
H A Ddoconf.csh166 cputypes.h cpus.h vice.h\
/macosx-10.5.8/xnu-1228.15.4/libsa/conf/tools/doconf/
H A Ddoconf.csh166 cputypes.h cpus.h vice.h\
/macosx-10.5.8/xnu-1228.15.4/osfmk/conf/tools/doconf/
H A Ddoconf.csh166 cputypes.h cpus.h vice.h\
/macosx-10.5.8/xnu-1228.15.4/pexpert/conf/tools/doconf/
H A Ddoconf.csh166 cputypes.h cpus.h vice.h\
/macosx-10.5.8/xnu-1228.15.4/security/conf/tools/doconf/
H A Ddoconf.csh166 cputypes.h cpus.h vice.h\
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOCPU.cpp585 cpus = (IOCPU **)IOMalloc(numCPUs * sizeof(IOCPU *));
586 if (cpus == 0) return kIOReturnNoMemory;
587 bzero(cpus, numCPUs * sizeof(IOCPU *));
H A DIOPlatformExpert.cpp1024 IORegistryEntry * cpus; local
1051 // Publish the cpus.
1052 cpus = rootEntry->childFromPath( "cpus", gIODTPlane);
1053 if ( cpus)
1054 createNubs( this, IODTFindMatchingEntries( cpus, kIODTExclusive, 0));
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dppc_init.c124 const char *cpus; local

Completed in 114 milliseconds