Home
last modified time | relevance | path

Searched full:cpus (Results 1 – 25 of 1583) sorted by relevance

12345678910>>...64

/freebsd/lib/libpmc/
H A Dpmc.355 System scope PMCs are allocated on specific CPUs and do not
56 migrate between CPUs.
66 In an SMP system, process scope PMCs migrate between CPUs along with
126 .Ss Supported CPUs
127 The CPUs known to the PMC library are named by the
130 Supported CPUs include:
135 CPUs.
139 CPUs.
143 CPUs.
147 CPUs.
[all …]
H A Dpmc_capabilities.372 retrieves information about the CPUs in the system.
76 the system's CPUs.
83 Specifies the number of CPUs in the system.
99 On systems that support sparsely numbered CPUs, not all CPUs may
101 Applications need to be prepared to deal with nonexistent CPUs.
/freebsd/share/man/man9/
H A Dcpuset.9110 The maximum number of CPUs representable by
114 Individual CPUs in cpusets are referenced with indices zero through
127 representing a full cpuset (all CPUs present).
191 macro removes all CPUs from
196 macro adds all CPUs to
201 macro removes all CPUs in
220 is full (the set of all CPUs).
241 macro returns the total number of CPUs in
261 have any common CPUs.
279 macro adds CPUs presen
[all...]
H A DBUS_GET_CPUS.932 .Nd "request a set of device-specific CPUs"
49 method queries the parent bus device for a set of device-specific CPUs.
52 argument specifies which set of CPUs to retrieve.
54 the requested set of CPUs are returned in
72 The set of CPUs that are local to the device.
76 this will return the set of CPUs in that memory domain.
78 The preferred set of CPUs that this device should use for device interrupts.
/freebsd/sys/contrib/device-tree/Bindings/csky/
H A Dcpus.txt5 The device tree allows to describe the layout of CPUs in a system through
6 the "cpus" node, which in turn contains a number of subnodes (ie "cpu")
9 Only SMP system need to care about the cpus node and single processor
10 needn't define cpus node at all.
13 cpus and cpu node bindings definition
16 - cpus node
20 The node name must be "cpus".
22 A cpus node must define the following properties:
59 cpus {
/freebsd/sys/dev/acpica/
H A Dacpi_pxm.c61 } *cpus; variable
149 * Make a pass over the table to populate the cpus[] and in parse_slit()
184 * On x86 we can use the cpuid to index the cpus array, but on arm64
187 * Use this variable to indicate if the cpus can be stored by index.
204 if (cpuid <= last_cpu && cpus[cpuid].enabled) in cpu_find()
205 return (&cpus[cpuid]); in cpu_find()
208 if (cpus[i].id == cpuid) in cpu_find()
209 return (&cpus[i]); in cpu_find()
246 cpup = &cpus[cpuid]; in cpu_add()
250 cpup = &cpus[++last_cpu]; in cpu_add()
[all …]
/freebsd/bin/cpuset/
H A Dcpuset.191 Each thread also has a private mask of CPUs it is allowed to run
94 This last set is the list of all possible CPUs in the system and is
126 This can only be used to query the cpus visible in each numberd domain.
130 to print either a list of valid CPUs or, using
140 Specifies a list of CPUs to apply to a target.
145 may be specified in which case the list includes all CPUs from the root set.
176 Create a new group with CPUs 0-4 inclusive and run
181 Query the mask of CPUs the
188 to run on CPUs 0 and 2 while its group is still allowed to run on
189 CPUs 0-4:
[all …]
/freebsd/share/man/man4/
H A Dsmp.442 The number of CPUs detected by the system is available in
54 allows specific CPUs on a multi-processor system to be disabled.
63 On x86, the logical CPUs can be disabled by setting the
70 algorithms to make better use of modern multi-core CPUs.
76 A CPU group contains CPUs that are detected to be "close" together, usually
80 level of CPU caches shared by the CPUs in the group.
82 The <cpu> tag describes CPUs in the group.
83 Its attributes are "count", corresponding to the number of CPUs in the
89 of the CPUs in the group.
114 tasks on CPUs that are closely grouped together.
/freebsd/bin/nproc/
H A Dnproc.c79 int ch, cpus, ignore; in main() local
113 cpus = sysconf(_SC_NPROCESSORS_CONF); in main()
114 if (cpus == -1) in main()
121 cpus = CPU_COUNT(&mask); in main()
124 if (ignore >= cpus) in main()
125 cpus = 1; in main()
127 cpus -= ignore; in main()
129 printf("%u\n", cpus); in main()
/freebsd/sys/kern/
H A Dsubr_smp.c88 0, "Max number of CPUs that the system was compiled for.");
99 SYSCTL_INT(_kern_smp, OID_AUTO, cpus, CTLFLAG_RD|CTLFLAG_CAPRD, &smp_cpus, 0,
100 "Number of CPUs online");
126 * functions trigger at once and cause multiple CPUs to busywait with
169 printf("FreeBSD/SMP: Multiprocessor System Detected: %d CPUs\n", in mp_start()
213 * When called the executing CPU will send an IPI to all other CPUs
218 * - Signals all CPUs in map to stop.
240 volatile cpuset_t *cpus; in generic_stop_cpus() local
276 /* send the stop IPI to all CPUs in map */ in generic_stop_cpus()
284 cpus = &suspended_cpus; in generic_stop_cpus()
[all …]
/freebsd/sys/sys/
H A Dsmp.h68 * contains a bitmask of cpus in its group or subgroups. It may also
74 * The topology may be omitted by systems where all CPUs are equal.
80 cpuset_t cg_mask; /* Mask of cpus in this group. */
81 int32_t cg_count; /* Count of cpus in this group. */
92 * Defines common resources for CPUs in the group. The highest level
159 extern volatile cpuset_t resuming_cpus; /* woken up cpus in suspend pen */
160 extern volatile cpuset_t started_cpus; /* cpus to let out of stop pen */
161 extern volatile cpuset_t stopped_cpus; /* cpus in stop pen */
162 extern volatile cpuset_t suspended_cpus; /* cpus [near] sleeping in susp pen */
163 extern volatile cpuset_t toresume_cpus; /* cpus to let out of suspend pen */
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTJSONStructs.cpp25 if (!cpus) in GetCpuIds()
28 for (const JSONCpu &cpu : *cpus) in GetCpuIds()
141 {"cpus", bundle_description.cpus}, in toJSON()
151 o.map("cpus", bundle_description.cpus) && in fromJSON()
156 if (bundle_description.cpus && !bundle_description.tsc_perf_zero_conversion) { in fromJSON()
158 "\"tscPerfZeroConversion\" is required when \"cpus\" is provided"); in fromJSON()
168 // error if the "processes" section is non-empty or the "cpus" section is not in fromJSON()
176 if (!bundle_description.cpus) { in fromJSON()
177 path.report("\"cpus\" is required when \"kernel\" is provided"); in fromJSON()
/freebsd/sys/powerpc/powerpc/
H A Dmp_machdep.c224 int cpus, timeout; in cpu_mp_unleash() local
232 cpus = 0; in cpu_mp_unleash()
238 cpus++; in cpu_mp_unleash()
278 if (smp_cpus != cpus || cpus != mp_ncpus) { in cpu_mp_unleash()
279 printf("SMP: %d CPUs found; %d CPUs usable; %d CPUs woken\n", in cpu_mp_unleash()
280 mp_ncpus, cpus, smp_cpus); in cpu_mp_unleash()
354 /* Send an IPI to a set of cpus. */
356 ipi_selected(cpuset_t cpus, int ipi) in ipi_selected() argument
361 if (CPU_ISSET(pc->pc_cpuid, &cpus)) in ipi_selected()
374 /* Send an IPI to all CPUs EXCEPT myself. */
/freebsd/tools/tools/tscdrift/
H A Dtscdrift.c95 int *cpus; in main() local
99 * Find all the CPUs this program is eligible to run on and use in main()
101 * restrict this program to only run on a subset of CPUs. in main()
112 cpus = calloc(ncpu, sizeof(*cpus)); in main()
119 cpus[j] = i; in main()
125 * other threads to other CPUs in turn saving TESTS counts of in main()
128 bind_cpu(cpus[0]); in main()
131 (void *)(intptr_t)cpus[i]); in main()
185 printf("%3d | %5jd %5jd %5jd %6.3f\n", cpus[i], in main()
/freebsd/usr.sbin/bhyvectl/
H A Dbhyvectl.c96 print_cpus(const char *banner, const cpuset_t *cpus) in print_cpus() argument
102 if (!CPU_EMPTY(cpus)) { in print_cpus()
104 if (CPU_ISSET(i, cpus)) { in print_cpus()
133 { "get-active-cpus", NO_ARG, &get_active_cpus, 1 }, in setup_options()
134 { "get-debug-cpus", NO_ARG, &get_debug_cpus, 1 }, in setup_options()
135 { "get-suspended-cpus", NO_ARG, &get_suspended_cpus, 1 }, in setup_options()
333 cpuset_t cpus; in main() local
450 error = vm_active_cpus(ctx, &cpus); in main()
452 print_cpus("active cpus", &cpus); in main()
456 error = vm_debug_cpus(ctx, &cpus); in main()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dallwinner,sun9i-a80-cpus-clk.yaml4 $id: http://devicetree.org/schemas/clock/allwinner,sun9i-a80-cpus-clk.yaml#
7 title: Allwinner A80 CPUS Clock
20 const: allwinner,sun9i-a80-cpus-clk
45 compatible = "allwinner,sun9i-a80-cpus-clk";
49 clock-output-names = "cpus";
/freebsd/sys/contrib/device-tree/Bindings/mips/brcm/
H A Dsoc.yaml42 cpus:
54 This is common to all CPUs in the system so it lives
55 under the "cpus" node.
71 $ref: /schemas/mips/cpus.yaml#
87 cpus:
101 cpus {
/freebsd/sys/contrib/device-tree/Bindings/mips/
H A Dcpus.yaml4 $id: http://devicetree.org/schemas/mips/cpus.yaml#
7 title: MIPS CPUs
14 The device tree allows to describe the layout of CPUs in a system through
15 the "cpus" node, which in turn contains a number of subnodes (ie "cpu")
75 cpus {
96 cpus {
/freebsd/sys/contrib/device-tree/Bindings/arm/
H A Dcpu-capacity.txt2 ARM CPUs capacity bindings
9 ARM systems may be configured to have cpus with different power/performance
18 CPU capacity is a number that provides the scheduler information about CPUs
20 (e.g., ARM big.LITTLE systems) or maximum frequency at which CPUs can run
23 capture a first-order approximation of the relative performance of CPUs.
68 cpus {
196 cpus 0,1@1GHz, cpus 2,3@500MHz):
200 cpus {
237 [1] ARM Linux Kernel documentation - CPUs bindings
238 Documentation/devicetree/bindings/arm/cpus.yaml
/freebsd/sys/dev/kvm_clock/
H A Dkvm_clock.c61 * "Invariant TSC" feature and is believed to be synchronized across all CPUs.
78 const cpuset_t *cpus);
92 kvm_clock_system_time_enable(struct kvm_clock_softc *sc, const cpuset_t *cpus) in kvm_clock_system_time_enable() argument
94 smp_rendezvous_cpus(*cpus, NULL, kvm_clock_system_time_enable_pcpu, in kvm_clock_system_time_enable()
114 cpuset_t cpus; in kvm_clock_init_smp() local
123 * Register with the hypervisor on all CPUs except the one that in kvm_clock_init_smp()
126 cpus = all_cpus; in kvm_clock_init_smp()
127 KASSERT(CPU_ISSET(sc->firstcpu, &cpus), in kvm_clock_init_smp()
129 CPU_CLR(sc->firstcpu, &cpus); in kvm_clock_init_smp()
130 kvm_clock_system_time_enable(sc, &cpus); in kvm_clock_init_smp()
/freebsd/sys/contrib/device-tree/Bindings/arm/cpu-enable-method/
H A Dmarvell,berlin-smp6 CPUs. To apply to all CPUs, a single "marvell,berlin-smp" enable method should
7 be defined in the "cpus" node.
11 Compatible CPUs: "marvell,pj4b" and "arm,cortex-a9"
20 cpus {
H A Dal,alpine-smp6 enabling secondary CPUs. To apply to all CPUs, a single
8 "cpus" node.
12 Compatible CPUs: "arm,cortex-a15"
32 cpus {
/freebsd/sys/contrib/device-tree/Bindings/cpu/
H A Dcpu-capacity.txt9 Some systems may be configured to have cpus with different power/performance
18 CPU capacity is a number that provides the scheduler information about CPUs
20 (e.g., ARM big.LITTLE systems) or maximum frequency at which CPUs can run
23 capture a first-order approximation of the relative performance of CPUs.
68 cpus {
196 cpus 0,1@1GHz, cpus 2,3@500MHz):
200 cpus {
237 [1] ARM Linux Kernel documentation - CPUs bindings
238 Documentation/devicetree/bindings/arm/cpus.yaml
/freebsd/sys/arm64/arm64/
H A Dmp_machdep.c83 #define MP_QUIRK_CPULIST 0x01 /* The list of cpus may be wrong, */
146 /* Only release CPUs if they exist */ in release_aps()
158 /* Wake up the other CPUs */ in release_aps()
174 * systems can take a while to start all CPUs. in release_aps()
471 KASSERT(cpuid < MAXCPU, ("Too many CPUs")); in start_cpu()
786 printf("Found %d CPUs in the ACPI tables\n", in cpu_mp_setmaxid()
799 printf("Found %d CPUs in the device tree\n", in cpu_mp_setmaxid()
824 cpuset_t cpus; in ipi_all_but_self() local
826 cpus = all_cpus; in ipi_all_but_self()
827 CPU_CLR(PCPU_GET(cpuid), &cpus); in ipi_all_but_self()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2836.c195 cpuset_t *cpus; in bcm_lintc_timer_mask() local
198 cpus = &bli->bli_isrc.isrc_cpu; in bcm_lintc_timer_mask()
202 if (CPU_ISSET(cpu, cpus)) in bcm_lintc_timer_mask()
211 cpuset_t *cpus; in bcm_lintc_timer_unmask() local
214 cpus = &bli->bli_isrc.isrc_cpu; in bcm_lintc_timer_unmask()
218 if (CPU_ISSET(cpu, cpus)) in bcm_lintc_timer_unmask()
243 cpuset_t *cpus; in bcm_lintc_pmu_mask() local
247 cpus = &bli->bli_isrc.isrc_cpu; in bcm_lintc_pmu_mask()
251 if (CPU_ISSET(cpu, cpus)) in bcm_lintc_pmu_mask()
261 cpuset_t *cpus; in bcm_lintc_pmu_unmask() local
[all …]

12345678910>>...64