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

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/
H A Dtsc_sync.c100 int cpus = 2; local
120 while (atomic_read(&start_count) != cpus-1)
129 while (atomic_read(&stop_count) != cpus-1)
160 int cpus = 2; local
170 while (atomic_read(&start_count) != cpus)
183 while (atomic_read(&stop_count) != cpus)
H A Dsmp.c89 * the other cpus, but smp_invalidate_interrupt ignore flush ipis
98 * Now the other cpus will send tlb flush ipis.
105 * Atomically set the bit [other cpus will start sending flush ipis],
334 int cpus = 1; local
349 while (atomic_read(&data.started) != cpus)
355 while (atomic_read(&data.finished) != cpus)
401 int cpus = num_online_cpus()-1; local
403 if (!cpus)
419 while (atomic_read(&data.started) != cpus)
425 while (atomic_read(&data.finished) != cpus)
[all...]
H A Dmce_amd.c70 cpumask_t cpus; member in struct:threshold_bank
495 b->cpus = cpu_core_map[cpu];
510 b->cpus = CPU_MASK_ALL;
512 b->cpus = cpu_core_map[cpu];
528 for_each_cpu_mask(i, b->cpus) {
618 for_each_cpu_mask(i, b->cpus) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/cpu/cpufreq/
H A Dspeedstep-ich.c234 static unsigned int _speedstep_get(cpumask_t cpus) argument
240 set_cpus_allowed(current, cpus);
272 freqs.old = _speedstep_get(policy->cpus);
284 for_each_cpu_mask(i, policy->cpus) {
290 set_cpus_allowed(current, policy->cpus);
297 for_each_cpu_mask(i, policy->cpus) {
327 policy->cpus = cpu_sibling_map[policy->cpu];
331 set_cpus_allowed(current, policy->cpus);
344 speed = _speedstep_get(policy->cpus);
H A Dp4-clockmod.c125 for_each_cpu_mask(i, policy->cpus) {
133 for_each_cpu_mask(i, policy->cpus)
137 for_each_cpu_mask(i, policy->cpus) {
203 policy->cpus = cpu_sibling_map[policy->cpu];
H A Dacpi-cpufreq.c398 cpus_and(online_policy_cpus, cpu_online_map, policy->cpus);
400 online_policy_cpus = policy->cpus;
603 * Will let policy->cpus know about dependency only when software
608 policy->cpus = perf->shared_cpu_map;
613 if (bios_with_sw_any_bug && cpus_weight(policy->cpus) == 1) {
615 policy->cpus = cpu_core_map[cpu];
H A Dspeedstep-centrino.c435 * Will let policy->cpus know about dependency only when software
440 policy->cpus = p->shared_cpu_map;
445 if (bios_with_sw_any_bug && cpus_weight(policy->cpus) == 1) {
447 policy->cpus = cpu_core_map[cpu];
703 cpus_and(online_policy_cpus, cpu_online_map, policy->cpus);
705 online_policy_cpus = policy->cpus;
783 * We have sent callbacks to policy->cpus and
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/kernel/
H A Dsmp.c279 * significant benefit for the brief periods where lots of cpus
365 int cpus = 1; local
388 while (atomic_read(&data.started) != cpus)
392 while (atomic_read(&data.finished) != cpus)
425 int cpus; local
428 cpus = num_online_cpus() - 1;
429 if (!cpus) {
449 while (atomic_read(&data.started) != cpus)
453 while (atomic_read(&data.finished) != cpus)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/
H A Dsmp.c189 * the other cpus, but smp_invalidate_interrupt ignore flush ipis
198 * Now the other cpus will send tlb flush ipis.
205 * Atomically set the bit [other cpus will start sending flush ipis],
421 int cpus = num_online_cpus() - 1; local
423 if (!cpus)
440 while (atomic_read(&data.started) != cpus)
444 while (atomic_read(&data.finished) != cpus)
451 * @mask: The set of cpus to run on. Must not include the current cpu.
471 int cpus; local
476 /* Holding any lock stops cpus fro
[all...]
H A Dapm.c381 cpumask_t cpus; local
386 cpus = apm_save_cpus();
400 apm_restore_cpus(cpus);
424 cpumask_t cpus; local
429 cpus = apm_save_cpus();
443 apm_restore_cpus(cpus);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/kernel/
H A Dsmp.c226 int cpus = num_online_cpus() - 1; local
229 if (!cpus)
244 while (atomic_read(&scf_started) != cpus)
248 while (atomic_read(&scf_finished) != cpus)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/
H A Dcpufreq_64.c366 policy->cpus = cpu_online_map;
388 static int __init g5_neo2_cpufreq_init(struct device_node *cpus) argument
412 (cpunode = of_get_next_child(cpus, cpunode)) != NULL;) {
541 static int __init g5_pm72_cpufreq_init(struct device_node *cpus) argument
554 (cpunode = of_get_next_child(cpus, cpunode)) != NULL;) {
721 struct device_node *cpus; local
724 cpus = of_find_node_by_path("/cpus");
725 if (cpus == NULL) {
726 DBG("No /cpus nod
[all...]
H A Dsmp.c276 * The device tree doesn't tell you if you have 2 cpus because
357 * of both cpus are frozen after the secondary cpu is started up,
617 struct device_node *cpus; local
620 cpus = of_find_node_by_path("/cpus");
621 BUG_ON(cpus == NULL);
624 pmf_call_function(cpus, "cpu-timebase", &args);
625 of_node_put(cpus);
648 /* L2 and L3 cache settings to pass from CPU0 to CPU1 on G4 cpus */
695 struct device_node *cpus local
750 struct device_node *cpus; local
[all...]
H A Dfeature.c1047 struct device_node *cpus; local
1057 cpus = of_find_node_by_path("/cpus");
1058 if (cpus == NULL)
1060 for (np = cpus->child; np != NULL; np = np->sibling) {
1070 of_node_put(cpus);
1502 struct device_node *cpus; local
1508 cpus = of_find_node_by_path("/cpus");
1509 if (cpus
2506 struct device_node *cpus = of_find_node_by_path("/cpus"); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/
H A Dsmp.c110 * Wait for all cpus to acknowledge IPI
121 int i, cpus = num_online_cpus() - 1; local
129 if (!cpus)
152 while (atomic_read(&data.started) != cpus)
156 while (atomic_read(&data.finished) != cpus)
312 * context on other cpus are invalidated to force a new context allocation
313 * at switch_mm time, should the mm ever be used on other cpus. For
H A Dgdb-stub.c650 int i, cpus = num_online_cpus() - 1; local
658 if (!cpus)
690 while (atomic_read(&data.started) != cpus)
746 * force other cpus to enter kgdb
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m32r/kernel/
H A Dsmp.c604 int cpus; local
613 /* Holding any lock stops cpus from going down. */
615 cpus = num_online_cpus() - 1;
617 if (!cpus) {
639 while (atomic_read(&data.started) != cpus)
643 while (atomic_read(&data.finished) != cpus)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/mm/
H A Ddiscontig.c95 * early_nr_cpus_node - return number of cpus on a given node
98 * Count the number of cpus on @node. We can't use nr_cpus_node() yet because
100 * called yet. Note that node 0 will also count all non-existent cpus.
119 unsigned long pernodesize = 0, cpus; local
121 cpus = early_nr_cpus_node(node);
122 pernodesize += PERCPU_PAGE_SIZE * cpus;
167 int cpus = early_nr_cpus_node(node); local
175 pernode += PERCPU_PAGE_SIZE * cpus;
206 * | cpus_on_this_node | Node 0 will also have entries for all non-existent cpus.
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/hypfs/
H A Dhypfs_diag.c18 #define CPU_NAME_LEN 16 /* type name len of cpus in diag224 name table */
112 __u8 cpus; member in struct:part_hdr
119 __u8 cpus; member in struct:x_part_hdr
146 return ((struct part_hdr *)hdr)->cpus;
248 __u8 cpus; member in struct:phys_hdr
255 __u8 cpus; member in struct:x_phys_hdr
272 return ((struct phys_hdr *)hdr)->cpus;
274 return ((struct x_phys_hdr *)hdr)->cpus;
416 * to subcode 6 it provides also information about secondary cpus.
599 cpus_dir = hypfs_mkdir(sb, lpar_dir, "cpus");
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cpufreq/
H A Dcpufreq.c589 for_each_cpu_mask(cpu, policy->cpus) {
753 policy->cpus = cpumask_of_cpu(cpu);
776 for_each_cpu_mask(j, policy->cpus) {
794 managed_policy->cpus = policy->cpus;
838 for_each_cpu_mask(j, policy->cpus) {
845 for_each_cpu_mask(j, policy->cpus) {
885 for_each_cpu_mask(j, policy->cpus)
945 cpu_clear(cpu, data->cpus);
969 if (unlikely(cpus_weight(data->cpus) >
[all...]
H A Dcpufreq_ondemand.c359 for_each_cpu_mask(j, policy->cpus) {
518 for_each_cpu_mask(j, policy->cpus) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/power/
H A Dpower.h8 int cpus; member in struct:swsusp_info
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dcbe_cpufreq.c251 policy->cpus = cpu_sibling_map[policy->cpu];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A Dcpufreq.c206 policy->cpus = cpu_online_map;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dsmp.c402 * the new pipelining feature (ie. dispatch to multiple cpus simultaneously).
505 /* Clear out the mask bits for cpus which did not
579 /* HV_EOK means all cpus received the xcall, we're done. */
600 /* If we get a HV_ECPUERROR, then one or more of the cpus
602 * hypervisor call to find out which cpus are in error state.
634 /* Delay a little bit to let other cpus catch up
649 printk(KERN_CRIT "CPU[%d]: SUN4V mondo cpu error, some target cpus "
745 int cpus; local
758 cpus = cpus_weight(mask);
759 if (!cpus)
[all...]

Completed in 164 milliseconds

12