Home
last modified time | relevance | path

Searched refs:weight (Results 1 – 11 of 11) sorted by relevance

/arch/powerpc/platforms/pseries/
Dlparcfg.c78 u8 weight; member
126 ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff; in h_get_ppp()
190 seq_printf(m, "capacity_weight=%d\n", ppp_data.weight); in parse_ppp_data()
494 static ssize_t update_ppp(u64 *entitlement, u8 *weight) in update_ppp() argument
507 new_weight = ppp_data.weight; in update_ppp()
509 } else if (weight) { in update_ppp()
510 new_weight = *weight; in update_ppp()
516 __func__, ppp_data.entitlement, ppp_data.weight); in update_ppp()
532 static ssize_t update_mpp(u64 *entitlement, u8 *weight) in update_mpp() argument
555 } else if (weight) { in update_mpp()
[all …]
/arch/x86/kernel/cpu/
Dperf_event.h62 int weight; member
256 .weight = (w), \
401 #define EVENT_CONSTRAINT_END { .weight = -1 }
407 for ((e) = (c); (e)->weight != -1; (e)++)
Dperf_event.c662 int weight; member
698 if (constraints[idx]->weight == wmin) in perf_sched_init()
703 sched->state.weight = wmin; in perf_sched_init()
804 sched->state.weight++; in perf_sched_next_event()
805 if (sched->state.weight > sched->max_weight) in perf_sched_next_event()
809 } while (c->weight != sched->state.weight); in perf_sched_next_event()
855 wmin = min(wmin, c->weight); in x86_schedule_events()
856 wmax = max(wmax, c->weight); in x86_schedule_events()
1914 if (!c || !c->weight) in validate_event()
Dperf_event_amd.c361 nb->event_constraints[i].weight = 1; in amd_alloc_nb()
Dperf_event_intel.c2329 c->weight = hweight64(c->idxmsk64); in intel_get_excl_constraints()
2336 if (c->weight == 0) in intel_get_excl_constraints()
2360 c1->weight = c2->weight; in intel_get_event_constraints()
3606 c->weight = hweight64(c->idxmsk64); in intel_pmu_init()
Dperf_event_intel_ds.c1049 data->weight = pebs->lat; in setup_pebs_sample_data()
1119 data->weight = intel_hsw_weight(pebs); in setup_pebs_sample_data()
Dperf_event_intel_uncore.c423 wmin = min(wmin, c->weight); in uncore_assign_events()
424 wmax = max(wmax, c->weight); in uncore_assign_events()
/arch/s390/include/uapi/asm/
Dzcrypt.h210 uint64_t weight; member
/arch/powerpc/mm/
Dnuma.c1437 int weight, new_nid, i = 0; in arch_update_cpu_topology() local
1442 weight = cpumask_weight(&cpu_associativity_changes_mask); in arch_update_cpu_topology()
1443 if (!weight) in arch_update_cpu_topology()
1446 updates = kzalloc(weight * (sizeof(*updates)), GFP_KERNEL); in arch_update_cpu_topology()
1485 if (i < weight) in arch_update_cpu_topology()
/arch/s390/hypfs/
Dhypfs_diag.c179 __u16 weight; member
189 __u16 weight; member
/arch/mips/cavium-octeon/
Docteon-irq.c229 int weight = cpumask_weight(mask); in next_cpu_for_irq() local
232 if (weight > 1) { in next_cpu_for_irq()
243 } else if (weight == 1) { in next_cpu_for_irq()