Searched refs:weight (Results 1 – 13 of 13) sorted by relevance
/arch/powerpc/platforms/pseries/ |
D | lparcfg.c | 78 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() 495 static ssize_t update_ppp(u64 *entitlement, u8 *weight) in update_ppp() argument 508 new_weight = ppp_data.weight; in update_ppp() 510 } else if (weight) { in update_ppp() 511 new_weight = *weight; in update_ppp() 517 __func__, ppp_data.entitlement, ppp_data.weight); in update_ppp() 533 static ssize_t update_mpp(u64 *entitlement, u8 *weight) in update_mpp() argument 556 } else if (weight) { in update_mpp() [all …]
|
/arch/s390/include/asm/ |
D | diag.h | 158 __u16 weight; member 168 __u16 weight; member 213 __u16 weight; member
|
/arch/x86/events/ |
D | perf_event.h | 52 int weight; member 247 .weight = (w), \ 396 #define EVENT_CONSTRAINT_END { .weight = -1 } 402 for ((e) = (c); (e)->weight != -1; (e)++)
|
D | core.c | 679 int weight; member 715 if (constraints[idx]->weight == wmin) in perf_sched_init() 720 sched->state.weight = wmin; in perf_sched_init() 821 sched->state.weight++; in perf_sched_next_event() 822 if (sched->state.weight > sched->max_weight) in perf_sched_next_event() 826 } while (c->weight != sched->state.weight); in perf_sched_next_event() 872 wmin = min(wmin, c->weight); in x86_schedule_events() 873 wmax = max(wmax, c->weight); in x86_schedule_events() 2003 if (!c || !c->weight) in validate_event()
|
/arch/s390/kvm/ |
D | sthyi.c | 226 if (block->cpus[i].weight == DED_WEIGHT) in fill_diag_mac() 232 if (block->cpus[i].weight == DED_WEIGHT) in fill_diag_mac() 277 if (block->cpus[i].weight == DED_WEIGHT) in lpar_cpu_inf()
|
/arch/s390/include/uapi/asm/ |
D | zcrypt.h | 210 uint64_t weight; member
|
/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 2031 unsigned int *weight = (unsigned int *)data; in pnv_pci_ioda_dev_dma_weight() local 2042 *weight += 3; in pnv_pci_ioda_dev_dma_weight() 2044 *weight += 15; in pnv_pci_ioda_dev_dma_weight() 2046 *weight += 10; in pnv_pci_ioda_dev_dma_weight() 2053 unsigned int weight = 0; in pnv_pci_ioda_pe_dma_weight() local 2058 pnv_pci_ioda_dev_dma_weight(pe->parent_dev, &weight); in pnv_pci_ioda_pe_dma_weight() 2059 return weight; in pnv_pci_ioda_pe_dma_weight() 2064 pnv_pci_ioda_dev_dma_weight(pe->pdev, &weight); in pnv_pci_ioda_pe_dma_weight() 2069 pnv_pci_ioda_dev_dma_weight(pdev, &weight); in pnv_pci_ioda_pe_dma_weight() 2071 pci_walk_bus(pe->pbus, pnv_pci_ioda_dev_dma_weight, &weight); in pnv_pci_ioda_pe_dma_weight() [all …]
|
/arch/powerpc/mm/ |
D | numa.c | 1345 int weight, new_nid, i = 0; in arch_update_cpu_topology() local 1350 weight = cpumask_weight(&cpu_associativity_changes_mask); in arch_update_cpu_topology() 1351 if (!weight) in arch_update_cpu_topology() 1354 updates = kzalloc(weight * (sizeof(*updates)), GFP_KERNEL); in arch_update_cpu_topology() 1397 if (i < weight) in arch_update_cpu_topology()
|
/arch/x86/events/amd/ |
D | core.c | 361 nb->event_constraints[i].weight = 1; in amd_alloc_nb()
|
/arch/x86/events/intel/ |
D | core.c | 2599 c->weight = hweight64(c->idxmsk64); in intel_get_excl_constraints() 2606 if (c->weight == 0) in intel_get_excl_constraints() 2630 c1->weight = c2->weight; in intel_get_event_constraints() 4004 c->weight = hweight64(c->idxmsk64); in intel_pmu_init()
|
D | ds.c | 1127 data->weight = pebs->lat; in setup_pebs_sample_data() 1208 data->weight = intel_hsw_weight(pebs); in setup_pebs_sample_data()
|
D | uncore.c | 409 wmin = min(wmin, c->weight); in uncore_assign_events() 410 wmax = max(wmax, c->weight); in uncore_assign_events()
|
/arch/mips/cavium-octeon/ |
D | octeon-irq.c | 267 int weight = cpumask_weight(mask); in next_cpu_for_irq() local 270 if (weight > 1) { in next_cpu_for_irq() 281 } else if (weight == 1) { in next_cpu_for_irq()
|