/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/xz/src/common/ |
H A D | tuklib_cpucores.c | 38 int cpus; local 39 size_t cpus_size = sizeof(cpus); 40 if (sysctl(name, 2, &cpus, &cpus_size, NULL, 0) != -1 41 && cpus_size == sizeof(cpus) && cpus > 0) 42 ret = cpus; 47 const long cpus = sysconf(_SC_NPROCESSORS_ONLN); local 50 const long cpus = sysconf(_SC_NPROC_ONLN); local 52 if (cpus > 0) 53 ret = cpus; [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/tools/perf/scripts/perl/ |
H A D | workqueue-stats.pl | 24 my @cpus; 32 $cpus[$common_cpu]{$thread_pid}{destroyed}++; 33 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm; 42 $cpus[$common_cpu]{$thread_pid}{created}++; 43 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm; 52 $cpus[$common_cpu]{$thread_pid}{executed}++; 53 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm; 62 $cpus[$common_cpu]{$thread_pid}{inserted}++; 63 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm; 72 foreach my $pidhash (@cpus) { [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/tools/perf/scripts/perl/ |
H A D | workqueue-stats.pl | 24 my @cpus; 32 $cpus[$common_cpu]{$thread_pid}{destroyed}++; 33 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm; 42 $cpus[$common_cpu]{$thread_pid}{created}++; 43 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm; 52 $cpus[$common_cpu]{$thread_pid}{executed}++; 53 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm; 62 $cpus[$common_cpu]{$thread_pid}{inserted}++; 63 $cpus[$common_cpu]{$thread_pid}{comm} = $thread_comm; 72 foreach my $pidhash (@cpus) { [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/x86/kernel/ |
H A D | tsc_sync.c | 107 int cpus = 2; local 131 while (atomic_read(&start_count) != cpus-1) 140 while (atomic_read(&stop_count) != cpus-1) 173 int cpus = 2; local 183 while (atomic_read(&start_count) != cpus) 196 while (atomic_read(&stop_count) != cpus)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/x86/kernel/ |
H A D | tsc_sync.c | 107 int cpus = 2; local 131 while (atomic_read(&start_count) != cpus-1) 140 while (atomic_read(&stop_count) != cpus-1) 173 int cpus = 2; local 183 while (atomic_read(&start_count) != cpus) 196 while (atomic_read(&stop_count) != cpus)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/plat-brcm/include/plat/ |
H A D | mpcore.h | 41 unsigned cpus, void (* _sec_entry_va)(void) );
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/plat-brcm/include/plat/ |
H A D | mpcore.h | 41 unsigned cpus, void (* _sec_entry_va)(void) );
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/mips/cavium-octeon/ |
H A D | smp.c | 97 int cpus; local 114 cpus = 1; 117 set_cpu_possible(cpus, true); 118 set_cpu_present(cpus, true); 119 __cpu_number_map[id] = cpus; 120 __cpu_logical_map[cpus] = id; 121 cpus++; 133 set_cpu_possible(cpus, true); 134 __cpu_number_map[id] = cpus; 135 __cpu_logical_map[cpus] [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/mips/cavium-octeon/ |
H A D | smp.c | 97 int cpus; local 114 cpus = 1; 117 set_cpu_possible(cpus, true); 118 set_cpu_present(cpus, true); 119 __cpu_number_map[id] = cpus; 120 __cpu_logical_map[cpus] = id; 121 cpus++; 133 set_cpu_possible(cpus, true); 134 __cpu_number_map[id] = cpus; 135 __cpu_logical_map[cpus] [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/ |
H A D | stop_machine.h | 12 * function to be executed on a single or multiple cpus preempting all 13 * other processes and monopolizing those cpus until it finishes. 17 * cpus are online. 105 * @cpus: the cpus to run the @fn() on (NULL = any online cpu) 114 int stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus); 120 * @cpus: the cpus to run the @fn() on (NULL = any online cpu) 122 * Description: This is a special version of the above, which assumes cpus 125 int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus); 129 stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/ |
H A D | stop_machine.h | 12 * function to be executed on a single or multiple cpus preempting all 13 * other processes and monopolizing those cpus until it finishes. 17 * cpus are online. 105 * @cpus: the cpus to run the @fn() on (NULL = any online cpu) 114 int stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus); 120 * @cpus: the cpus to run the @fn() on (NULL = any online cpu) 122 * Description: This is a special version of the above, which assumes cpus 125 int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus); 129 stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/mips/include/asm/ |
H A D | smtc.h | 51 extern void smtc_prepare_cpus(int cpus);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/mips/include/asm/ |
H A D | smtc.h | 51 extern void smtc_prepare_cpus(int cpus);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/lguest/ |
H A D | lguest_user.c | 212 cpu = &lg->cpus[cpu_id]; 251 if (id >= ARRAY_SIZE(cpu->lg->cpus)) 256 cpu->lg = container_of((cpu - id), struct lguest, cpus[0]); 355 err = lg_cpu_start(&lg->cpus[0], 0, args[2]); 376 free_page(lg->cpus[0].regs_page); 419 cpu = &lg->cpus[cpu_id]; 467 hrtimer_cancel(&lg->cpus[i].hrt); 469 free_page(lg->cpus[i].regs_page); 474 mmput(lg->cpus[i].mm);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/lguest/ |
H A D | lguest_user.c | 212 cpu = &lg->cpus[cpu_id]; 251 if (id >= ARRAY_SIZE(cpu->lg->cpus)) 256 cpu->lg = container_of((cpu - id), struct lguest, cpus[0]); 355 err = lg_cpu_start(&lg->cpus[0], 0, args[2]); 376 free_page(lg->cpus[0].regs_page); 419 cpu = &lg->cpus[cpu_id]; 467 hrtimer_cancel(&lg->cpus[i].hrt); 469 free_page(lg->cpus[i].regs_page); 474 mmput(lg->cpus[i].mm);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/um/kernel/ |
H A D | smp.c | 213 int cpus = num_online_cpus() - 1; local 216 if (!cpus) 231 while (atomic_read(&scf_started) != cpus) 235 while (atomic_read(&scf_finished) != cpus)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/um/kernel/ |
H A D | smp.c | 213 int cpus = num_online_cpus() - 1; local 216 if (!cpus) 231 while (atomic_read(&scf_started) != cpus) 235 while (atomic_read(&scf_finished) != cpus)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/powerpc/platforms/powermac/ |
H A D | cpufreq_64.c | 365 cpumask_copy(policy->cpus, cpu_online_mask); 387 static int __init g5_neo2_cpufreq_init(struct device_node *cpus) argument 411 (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;) { 722 struct device_node *cpus; local 725 cpus = of_find_node_by_path("/cpus"); 726 if (cpus == NULL) { 727 DBG("No /cpus nod [all...] |
H A D | smp.c | 280 * The device tree doesn't tell you if you have 2 cpus because 627 struct device_node *cpus; local 630 cpus = of_find_node_by_path("/cpus"); 631 BUG_ON(cpus == NULL); 634 pmf_call_function(cpus, "cpu-timebase", &args); 635 of_node_put(cpus); 658 /* L2 and L3 cache settings to pass from CPU0 to CPU1 on G4 cpus */ 705 struct device_node *cpus = local 706 of_find_node_by_path("/cpus"); 760 struct device_node *cpus; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/powerpc/platforms/powermac/ |
H A D | cpufreq_64.c | 365 cpumask_copy(policy->cpus, cpu_online_mask); 387 static int __init g5_neo2_cpufreq_init(struct device_node *cpus) argument 411 (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;) { 722 struct device_node *cpus; local 725 cpus = of_find_node_by_path("/cpus"); 726 if (cpus == NULL) { 727 DBG("No /cpus nod [all...] |
H A D | smp.c | 280 * The device tree doesn't tell you if you have 2 cpus because 627 struct device_node *cpus; local 630 cpus = of_find_node_by_path("/cpus"); 631 BUG_ON(cpus == NULL); 634 pmf_call_function(cpus, "cpu-timebase", &args); 635 of_node_put(cpus); 658 /* L2 and L3 cache settings to pass from CPU0 to CPU1 on G4 cpus */ 705 struct device_node *cpus = local 706 of_find_node_by_path("/cpus"); 760 struct device_node *cpus; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/misc/sgi-gru/ |
H A D | grutlbpurge.c | 119 * - intrablade process migration between cpus is not frequent but is 345 * use by blade-local cpus 346 * - the rest are used by off-blade cpus. This usage is 350 * has less tan or equal to 16 cpus, each cpu has a unique handle that it can 357 int cpus, shift = 0, n; local 359 cpus = uv_blade_nr_possible_cpus(gru->gs_blade_id); 361 /* n = cpus rounded up to next power of 2 */ 362 if (cpus) { 363 n = 1 << fls(cpus - 1); 367 * 0 if cpus < [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/x86/kernel/cpu/cpufreq/ |
H A D | speedstep-ich.c | 274 policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask); 285 for_each_cpu(i, policy->cpus) { 293 for_each_cpu(i, policy->cpus) { 339 cpumask_copy(policy->cpus, cpu_sibling_mask(policy->cpu)); 341 policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/x86/kernel/cpu/cpufreq/ |
H A D | speedstep-ich.c | 274 policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask); 285 for_each_cpu(i, policy->cpus) { 293 for_each_cpu(i, policy->cpus) { 339 cpumask_copy(policy->cpus, cpu_sibling_mask(policy->cpu)); 341 policy_cpu = cpumask_any_and(policy->cpus, cpu_online_mask);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/misc/sgi-gru/ |
H A D | grutlbpurge.c | 119 * - intrablade process migration between cpus is not frequent but is 345 * use by blade-local cpus 346 * - the rest are used by off-blade cpus. This usage is 350 * has less tan or equal to 16 cpus, each cpu has a unique handle that it can 357 int cpus, shift = 0, n; local 359 cpus = uv_blade_nr_possible_cpus(gru->gs_blade_id); 361 /* n = cpus rounded up to next power of 2 */ 362 if (cpus) { 363 n = 1 << fls(cpus - 1); 367 * 0 if cpus < [all...] |