Home
last modified time | relevance | path

Searched refs:cpus (Results 1 – 14 of 14) sorted by relevance

/drivers/lguest/
Dlguest_user.c70 cpu = &lg->cpus[cpu_id]; in read()
105 if (id >= ARRAY_SIZE(cpu->lg->cpus)) in lg_cpu_start()
110 cpu->lg = container_of((cpu - id), struct lguest, cpus[0]); in lg_cpu_start()
193 err = lg_cpu_start(&lg->cpus[0], 0, args[2]); in initialize()
213 free_page(lg->cpus[0].regs_page); in initialize()
250 cpu = &lg->cpus[cpu_id]; in write()
299 hrtimer_cancel(&lg->cpus[i].hrt); in close()
301 free_page(lg->cpus[i].regs_page); in close()
304 mmput(lg->cpus[i].mm); in close()
Dlg.h89 struct lg_cpu cpus[NR_CPUS]; member
Dpage_tables.c664 lg->cpus[0].cpu_pgd = 0; in init_guest_pagetable()
/drivers/misc/sgi-gru/
Dgrutlbpurge.c350 int cpus, shift = 0, n; in gru_tgh_flush_init() local
352 cpus = uv_blade_nr_possible_cpus(gru->gs_blade_id); in gru_tgh_flush_init()
355 if (cpus) { in gru_tgh_flush_init()
356 n = 1 << fls(cpus - 1); in gru_tgh_flush_init()
369 gru->gs_tgh_first_remote = (cpus + (1 << shift) - 1) >> shift; in gru_tgh_flush_init()
Dgrulib.h90 int cpus; member
Dgrufile.c186 info.cpus = num_online_cpus(); in gru_get_config_info()
/drivers/cpufreq/
Dcpufreq.c610 return show_cpus(policy->cpus, buf); in show_related_cpus()
619 return show_cpus(policy->cpus, buf); in show_affected_cpus()
804 if (!alloc_cpumask_var(&policy->cpus, GFP_KERNEL)) { in cpufreq_add_dev()
810 free_cpumask_var(policy->cpus); in cpufreq_add_dev()
817 cpumask_copy(policy->cpus, cpumask_of(cpu)); in cpufreq_add_dev()
852 for_each_cpu(j, policy->cpus) { in cpufreq_add_dev()
870 cpumask_copy(managed_policy->cpus, policy->cpus); in cpufreq_add_dev()
915 for_each_cpu(j, policy->cpus) { in cpufreq_add_dev()
922 for_each_cpu(j, policy->cpus) { in cpufreq_add_dev()
962 for_each_cpu(j, policy->cpus) in cpufreq_add_dev()
[all …]
Dcpufreq_ondemand.c384 for_each_cpu(j, policy->cpus) { in dbs_check_cpu()
570 for_each_cpu(j, policy->cpus) { in cpufreq_governor_dbs()
Dcpufreq_conservative.c500 for_each_cpu(j, policy->cpus) { in cpufreq_governor_dbs()
/drivers/char/hw_random/
DKconfig68 Generator hardware found on Niagara2 cpus.
/drivers/net/cxgb3/
Dcxgb3_main.c438 u8 cpus[SGE_QSETS + 1]; in setup_rss() local
442 cpus[i] = i; in setup_rss()
443 cpus[SGE_QSETS] = 0xff; /* terminator */ in setup_rss()
452 V_RRCPLCPUSIZE(6) | F_HASHTOEPLITZ, cpus, rspq_map); in setup_rss()
Dt3_hw.c2415 const u8 * cpus, const u16 *rspq) in t3_config_rss() argument
2419 if (cpus) in t3_config_rss()
2424 val |= (cpus[cpu_idx++] & 0x3f) << (8 * j); in t3_config_rss()
2425 if (cpus[cpu_idx] == 0xff) in t3_config_rss()
Dcommon.h737 const u8 * cpus, const u16 *rspq);
/drivers/net/
Dbnx2.c5864 int cpus = num_online_cpus(); in bnx2_setup_int_mode() local
5865 int msix_vecs = min(cpus + 1, RX_MAX_RINGS); in bnx2_setup_int_mode()
5872 if ((bp->flags & BNX2_FLAG_MSIX_CAP) && !dis_msi && cpus > 1) in bnx2_setup_int_mode()