weight 267 arch/mips/cavium-octeon/octeon-irq.c int weight = cpumask_weight(mask); weight 270 arch/mips/cavium-octeon/octeon-irq.c if (weight > 1) { weight 281 arch/mips/cavium-octeon/octeon-irq.c } else if (weight == 1) { weight 39 arch/powerpc/include/asm/perf_event_server.h void (*get_mem_weight)(u64 *weight); weight 1322 arch/powerpc/mm/numa.c int weight, new_nid, i = 0; weight 1327 arch/powerpc/mm/numa.c weight = cpumask_weight(&cpu_associativity_changes_mask); weight 1328 arch/powerpc/mm/numa.c if (!weight) weight 1331 arch/powerpc/mm/numa.c updates = kcalloc(weight, sizeof(*updates), GFP_KERNEL); weight 2105 arch/powerpc/perf/core-book3s.c ppmu->get_mem_weight(&data.weight); weight 228 arch/powerpc/perf/isa207-common.c void isa207_get_mem_weight(u64 *weight) weight 237 arch/powerpc/perf/isa207-common.c *weight = 0; weight 239 arch/powerpc/perf/isa207-common.c *weight = mantissa << (2 * exp); weight 227 arch/powerpc/perf/isa207-common.h void isa207_get_mem_weight(u64 *weight); weight 2125 arch/powerpc/platforms/powernv/pci-ioda.c unsigned int *weight = (unsigned int *)data; weight 2136 arch/powerpc/platforms/powernv/pci-ioda.c *weight += 3; weight 2138 arch/powerpc/platforms/powernv/pci-ioda.c *weight += 15; weight 2140 arch/powerpc/platforms/powernv/pci-ioda.c *weight += 10; weight 2147 arch/powerpc/platforms/powernv/pci-ioda.c unsigned int weight = 0; weight 2152 arch/powerpc/platforms/powernv/pci-ioda.c pnv_pci_ioda_dev_dma_weight(pe->parent_dev, &weight); weight 2153 arch/powerpc/platforms/powernv/pci-ioda.c return weight; weight 2158 arch/powerpc/platforms/powernv/pci-ioda.c pnv_pci_ioda_dev_dma_weight(pe->pdev, &weight); weight 2163 arch/powerpc/platforms/powernv/pci-ioda.c pnv_pci_ioda_dev_dma_weight(pdev, &weight); weight 2165 arch/powerpc/platforms/powernv/pci-ioda.c pci_walk_bus(pe->pbus, pnv_pci_ioda_dev_dma_weight, &weight); weight 2168 arch/powerpc/platforms/powernv/pci-ioda.c return weight; weight 2177 arch/powerpc/platforms/powernv/pci-ioda.c unsigned int weight, total_weight = 0; weight 2185 arch/powerpc/platforms/powernv/pci-ioda.c weight = pnv_pci_ioda_pe_dma_weight(pe); weight 2186 arch/powerpc/platforms/powernv/pci-ioda.c if (!weight) weight 2191 arch/powerpc/platforms/powernv/pci-ioda.c segs = (weight * phb->ioda.dma32_count) / total_weight; weight 2230 arch/powerpc/platforms/powernv/pci-ioda.c weight, total_weight, base, segs); weight 3449 arch/powerpc/platforms/powernv/pci-ioda.c unsigned int weight = pnv_pci_ioda_pe_dma_weight(pe); weight 3453 arch/powerpc/platforms/powernv/pci-ioda.c if (!weight) weight 3473 arch/powerpc/platforms/powernv/pci-ioda.c unsigned int weight = pnv_pci_ioda_pe_dma_weight(pe); weight 3478 arch/powerpc/platforms/powernv/pci-ioda.c if (!weight) weight 79 arch/powerpc/platforms/pseries/lparcfg.c u8 weight; weight 127 arch/powerpc/platforms/pseries/lparcfg.c ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff; weight 191 arch/powerpc/platforms/pseries/lparcfg.c seq_printf(m, "capacity_weight=%d\n", ppp_data.weight); weight 508 arch/powerpc/platforms/pseries/lparcfg.c static ssize_t update_ppp(u64 *entitlement, u8 *weight) weight 521 arch/powerpc/platforms/pseries/lparcfg.c new_weight = ppp_data.weight; weight 523 arch/powerpc/platforms/pseries/lparcfg.c } else if (weight) { weight 524 arch/powerpc/platforms/pseries/lparcfg.c new_weight = *weight; weight 530 arch/powerpc/platforms/pseries/lparcfg.c __func__, ppp_data.entitlement, ppp_data.weight); weight 546 arch/powerpc/platforms/pseries/lparcfg.c static ssize_t update_mpp(u64 *entitlement, u8 *weight) weight 569 arch/powerpc/platforms/pseries/lparcfg.c } else if (weight) { weight 570 arch/powerpc/platforms/pseries/lparcfg.c new_weight = *weight; weight 162 arch/s390/include/asm/diag.h __u16 weight; weight 172 arch/s390/include/asm/diag.h __u16 weight; weight 217 arch/s390/include/asm/diag.h __u16 weight; weight 201 arch/s390/include/uapi/asm/zcrypt.h __u64 weight; weight 237 arch/s390/kernel/sthyi.c if (block->cpus[i].weight == DED_WEIGHT) weight 243 arch/s390/kernel/sthyi.c if (block->cpus[i].weight == DED_WEIGHT) weight 288 arch/s390/kernel/sthyi.c if (block->cpus[i].weight == DED_WEIGHT) weight 501 arch/x86/events/amd/core.c nb->event_constraints[i].weight = 1; weight 696 arch/x86/events/core.c int weight; weight 732 arch/x86/events/core.c if (constraints[idx]->weight == wmin) weight 737 arch/x86/events/core.c sched->state.weight = wmin; weight 838 arch/x86/events/core.c sched->state.weight++; weight 839 arch/x86/events/core.c if (sched->state.weight > sched->max_weight) weight 843 arch/x86/events/core.c } while (c->weight != sched->state.weight); weight 914 arch/x86/events/core.c wmin = min(wmin, c->weight); weight 915 arch/x86/events/core.c wmax = max(wmax, c->weight); weight 2022 arch/x86/events/core.c if (!c || !c->weight) weight 2978 arch/x86/events/intel/core.c w = c->weight; weight 3010 arch/x86/events/intel/core.c c->weight = w; weight 3032 arch/x86/events/intel/core.c c1->weight = c2->weight; weight 3551 arch/x86/events/intel/core.c c->weight--; weight 5124 arch/x86/events/intel/core.c c->weight = hweight64(c->idxmsk64); weight 1367 arch/x86/events/intel/ds.c data->weight = pebs->lat; weight 1460 arch/x86/events/intel/ds.c data->weight = intel_get_tsx_weight(pebs->tsx_tuning); weight 1575 arch/x86/events/intel/ds.c data->weight = meminfo->latency ?: weight 434 arch/x86/events/intel/uncore.c wmin = min(wmin, c->weight); weight 435 arch/x86/events/intel/uncore.c wmax = max(wmax, c->weight); weight 54 arch/x86/events/perf_event.h int weight; weight 285 arch/x86/events/perf_event.h .weight = (w), \ weight 458 arch/x86/events/perf_event.h #define EVENT_CONSTRAINT_END { .weight = -1 } weight 464 arch/x86/events/perf_event.h for ((e) = (c); (e)->weight != -1; (e)++) weight 417 block/bfq-cgroup.c entity->weight = entity->new_weight; weight 495 block/bfq-cgroup.c d->weight = cgroup_subsys_on_dfl(io_cgrp_subsys) ? weight 531 block/bfq-cgroup.c entity->orig_weight = entity->weight = entity->new_weight = d->weight; weight 941 block/bfq-cgroup.c val = bfqgd->weight; weight 963 block/bfq-cgroup.c seq_printf(sf, "default %u\n", bfqgd->weight); weight 969 block/bfq-cgroup.c static void bfq_group_set_weight(struct bfq_group *bfqg, u64 weight, u64 dev_weight) weight 971 block/bfq-cgroup.c weight = dev_weight ?: weight; weight 980 block/bfq-cgroup.c if ((unsigned short)weight != bfqg->entity.new_weight) { weight 981 block/bfq-cgroup.c bfqg->entity.new_weight = (unsigned short)weight; weight 1016 block/bfq-cgroup.c bfqgd->weight = (unsigned short)val; weight 1058 block/bfq-cgroup.c bfq_group_set_weight(bfqg, bfqg->entity.weight, v); weight 1383 block/bfq-cgroup.c entity->weight = entity->new_weight; weight 750 block/bfq-iosched.c if (entity->weight == __counter->weight) { weight 754 block/bfq-iosched.c if (entity->weight < __counter->weight) weight 780 block/bfq-iosched.c bfqq->weight_counter->weight = entity->weight; weight 1634 block/bfq-iosched.c bfqq_weight = bfqq->entity.weight; weight 1635 block/bfq-iosched.c in_serv_weight = in_serv_bfqq->entity.weight; weight 1638 block/bfq-iosched.c bfqq_weight = bfqq->entity.parent->weight; weight 1640 block/bfq-iosched.c bfqq_weight = bfqq->entity.weight; weight 1642 block/bfq-iosched.c in_serv_weight = in_serv_bfqq->entity.parent->weight; weight 1644 block/bfq-iosched.c in_serv_weight = in_serv_bfqq->entity.weight; weight 2881 block/bfq-iosched.c timeout_coeff = bfqq->entity.weight / bfqq->entity.orig_weight; weight 3037 block/bfq-iosched.c u32 rate, weight, divisor; weight 3102 block/bfq-iosched.c weight = (9 * bfqd->sequential_samples) / bfqd->peak_rate_samples; weight 3108 block/bfq-iosched.c weight = min_t(u32, 8, weight 3109 block/bfq-iosched.c div_u64(weight * bfqd->delta_from_first, weight 3116 block/bfq-iosched.c divisor = 10 - weight; weight 4546 block/bfq-iosched.c bfqq->entity.weight, bfqq->entity.orig_weight); weight 4584 block/bfq-iosched.c if ((entity->weight > entity->orig_weight) != (bfqq->wr_coeff > 1)) weight 108 block/bfq-iosched.h unsigned int weight; /* weight of the queues this counter refers to */ weight 175 block/bfq-iosched.h int weight; weight 855 block/bfq-iosched.h unsigned int weight; weight 278 block/bfq-wf2q.c static u64 bfq_delta(unsigned long service, unsigned long weight) weight 282 block/bfq-wf2q.c do_div(d, weight); weight 296 block/bfq-wf2q.c bfq_delta(service, entity->weight); weight 301 block/bfq-wf2q.c service, entity->weight); weight 305 block/bfq-wf2q.c bfq_delta(service, entity->weight)); weight 525 block/bfq-wf2q.c static unsigned short bfq_weight_to_ioprio(int weight) weight 528 block/bfq-wf2q.c IOPRIO_BE_NR * BFQ_WEIGHT_CONVERSION_COEFF - weight); weight 654 block/bfq-wf2q.c st->wsum -= entity->weight; weight 757 block/bfq-wf2q.c old_st->wsum -= entity->weight; weight 794 block/bfq-wf2q.c prev_weight = entity->weight; weight 806 block/bfq-wf2q.c entity->weight = new_weight; weight 816 block/bfq-wf2q.c new_st->wsum += entity->weight; weight 1004 block/bfq-wf2q.c st->wsum += entity->weight; weight 450 block/blk-iocost.c u32 weight; weight 921 block/blk-iocost.c parent_active = parent->weight; weight 1016 block/blk-iocost.c u32 weight; weight 1020 block/blk-iocost.c weight = iocg->cfg_weight ?: iocc->dfl_weight; weight 1021 block/blk-iocost.c if (weight != iocg->weight && iocg->active) weight 1022 block/blk-iocost.c propagate_active_weight(iocg, weight, weight 1023 block/blk-iocost.c DIV64_U64_ROUND_UP(iocg->inuse * weight, iocg->weight)); weight 1024 block/blk-iocost.c iocg->weight = weight; weight 1094 block/blk-iocost.c propagate_active_weight(iocg, iocg->weight, weight 1095 block/blk-iocost.c iocg->last_inuse ?: iocg->weight); weight 1492 block/blk-iocost.c __propagate_active_weight(iocg, iocg->weight, weight 1533 block/blk-iocost.c __propagate_active_weight(iocg, iocg->weight, new_inuse); weight 1715 block/blk-iocost.c iocg->inuse, iocg->weight, hw_inuse, hw_active); weight 1717 block/blk-iocost.c propagate_active_weight(iocg, iocg->weight, iocg->weight); weight 728 drivers/crypto/marvell/cesa.h static inline struct mv_cesa_engine *mv_cesa_select_engine(int weight) weight 743 drivers/crypto/marvell/cesa.h atomic_add(weight, &selected->load); weight 107 drivers/dma/qcom/hidma_mgmt.c if (mgmtdev->weight[i] > HIDMA_MAX_CHANNEL_WEIGHT) { weight 115 drivers/dma/qcom/hidma_mgmt.c if (mgmtdev->weight[i] == 0) weight 116 drivers/dma/qcom/hidma_mgmt.c mgmtdev->weight[i] = 1; weight 140 drivers/dma/qcom/hidma_mgmt.c u32 weight = mgmtdev->weight[i]; weight 147 drivers/dma/qcom/hidma_mgmt.c val |= (weight & HIDMA_WEIGHT_MASK) << HIDMA_WRR_BIT_POS; weight 281 drivers/dma/qcom/hidma_mgmt.c mgmtdev->weight = devm_kcalloc(&pdev->dev, weight 283 drivers/dma/qcom/hidma_mgmt.c sizeof(*mgmtdev->weight), GFP_KERNEL); weight 284 drivers/dma/qcom/hidma_mgmt.c if (!mgmtdev->weight) { weight 20 drivers/dma/qcom/hidma_mgmt.h u32 *weight; weight 80 drivers/dma/qcom/hidma_mgmt_sys.c tmp = mdev->weight[i]; weight 81 drivers/dma/qcom/hidma_mgmt_sys.c mdev->weight[i] = val; weight 84 drivers/dma/qcom/hidma_mgmt_sys.c mdev->weight[i] = tmp; weight 152 drivers/dma/qcom/hidma_mgmt_sys.c sprintf(buf, "%d\n", mdev->weight[chattr->index]); weight 1587 drivers/edac/amd64_edac.c u32 msb, weight, num_zero_bits; weight 1623 drivers/edac/amd64_edac.c weight = hweight_long(addr_mask_orig); weight 1624 drivers/edac/amd64_edac.c num_zero_bits = msb - weight; weight 234 drivers/extcon/extcon.c int weight; weight 238 drivers/extcon/extcon.c weight = hweight32(correspondants); weight 239 drivers/extcon/extcon.c if (weight > 1) weight 376 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->weight = 20; weight 378 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->weight = 15 * iolink->num_hops_xgmi; weight 380 drivers/gpu/drm/amd/amdkfd/kfd_crat.c props->weight = node_distance(id_from, id_to); weight 277 drivers/gpu/drm/amd/amdkfd/kfd_topology.c sysfs_show_32bit_prop(buffer, "weight", iolink->weight); weight 137 drivers/gpu/drm/amd/amdkfd/kfd_topology.h uint32_t weight; weight 105 drivers/gpu/drm/i915/gvt/gvt.c type->weight); weight 134 drivers/gpu/drm/i915/gvt/gvt.h int weight; weight 297 drivers/gpu/drm/i915/gvt/gvt.h unsigned int weight; weight 433 drivers/gpu/drm/i915/gvt/gvt.h __u32 weight; weight 109 drivers/gpu/drm/i915/gvt/sched_policy.c total_weight += vgpu_data->sched_ctl.weight; weight 115 drivers/gpu/drm/i915/gvt/sched_policy.c total_weight) * vgpu_data->sched_ctl.weight; weight 319 drivers/gpu/drm/i915/gvt/sched_policy.c data->sched_ctl.weight = vgpu->sched_ctl.weight; weight 88 drivers/gpu/drm/i915/gvt/vgpu.c unsigned int weight; weight 142 drivers/gpu/drm/i915/gvt/vgpu.c if (vgpu_types[i].weight < 1 || weight 143 drivers/gpu/drm/i915/gvt/vgpu.c vgpu_types[i].weight > VGPU_MAX_WEIGHT) weight 146 drivers/gpu/drm/i915/gvt/vgpu.c gvt->types[i].weight = vgpu_types[i].weight; weight 163 drivers/gpu/drm/i915/gvt/vgpu.c gvt->types[i].weight, weight 387 drivers/gpu/drm/i915/gvt/vgpu.c vgpu->sched_ctl.weight = param->weight; weight 487 drivers/gpu/drm/i915/gvt/vgpu.c param.weight = type->weight; weight 416 drivers/hid/hid-roccat-kone.c int weight = 0; weight 424 drivers/hid/hid-roccat-kone.c retval = kone_get_weight(usb_dev, &weight); weight 429 drivers/hid/hid-roccat-kone.c return snprintf(buf, PAGE_SIZE, "%d\n", weight); weight 431 drivers/hid/hid-roccat-kone.c static DEVICE_ATTR(weight, 0440, kone_sysfs_show_weight, NULL); weight 5714 drivers/infiniband/hw/hfi1/chip.c int weight, i; weight 5738 drivers/infiniband/hw/hfi1/chip.c weight = hweight64(info & PORT_DISCARD_EGRESS_ERRS); weight 5739 drivers/infiniband/hw/hfi1/chip.c for (i = 0; i < weight; i++) { weight 11115 drivers/infiniband/hw/hfi1/chip.c | (((u64)vl->weight weight 11208 drivers/infiniband/hw/hfi1/chip.c vl->weight = 0; weight 1145 drivers/infiniband/hw/qib/qib_file_ops.c const unsigned int weight = current->nr_cpus_allowed; weight 1153 drivers/infiniband/hw/qib/qib_file_ops.c if ((weight >= qib_cpulist_count) && weight 1170 drivers/infiniband/hw/qib/qib_file_ops.c if (weight >= qib_cpulist_count) { weight 1627 drivers/infiniband/hw/qib/qib_file_ops.c const unsigned int weight = current->nr_cpus_allowed; weight 1629 drivers/infiniband/hw/qib/qib_file_ops.c if (weight == 1 && !test_bit(cpu, qib_cpulist)) weight 4366 drivers/infiniband/hw/qib/qib_iba7322.c vl->weight = (val >> SYM_LSB(LowPriority0_0, Weight)) & weight 4381 drivers/infiniband/hw/qib/qib_iba7322.c ((vl->weight & SYM_RMASK(LowPriority0_0, Weight)) << weight 246 drivers/infiniband/sw/rdmavt/qp.c int weight; weight 277 drivers/infiniband/sw/rdmavt/qp.c weight = hweight64((u64)bits); weight 279 drivers/infiniband/sw/rdmavt/qp.c if (weight) weight 280 drivers/infiniband/sw/rdmavt/qp.c atomic_sub(weight, &wss->total_count); weight 652 drivers/input/mouse/elantech.c int weight, delta_x1 = 0, delta_y1 = 0, delta_x2 = 0, delta_y2 = 0; weight 660 drivers/input/mouse/elantech.c weight = (packet[0] & 0x10) ? ETP_WEIGHT_VALUE : 1; weight 671 drivers/input/mouse/elantech.c etd->mt[id].x += delta_x1 * weight; weight 672 drivers/input/mouse/elantech.c etd->mt[id].y -= delta_y1 * weight; weight 678 drivers/input/mouse/elantech.c etd->mt[sid].x += delta_x2 * weight; weight 679 drivers/input/mouse/elantech.c etd->mt[sid].y -= delta_y2 * weight; weight 429 drivers/md/bcache/util.h #define ewma_add(ewma, val, weight, factor) \ weight 431 drivers/md/bcache/util.h (ewma) *= (weight) - 1; \ weight 433 drivers/md/bcache/util.h (ewma) /= (weight); \ weight 2000 drivers/md/dm-zoned-metadata.c to_zone->weight = from_zone->weight; weight 2071 drivers/md/dm-zoned-metadata.c if (likely(zone->weight + n <= zone_nr_blocks)) weight 2072 drivers/md/dm-zoned-metadata.c zone->weight += n; weight 2075 drivers/md/dm-zoned-metadata.c dmz_id(zmd, zone), zone->weight, weight 2077 drivers/md/dm-zoned-metadata.c zone->weight = zone_nr_blocks; weight 2151 drivers/md/dm-zoned-metadata.c if (zone->weight >= n) weight 2152 drivers/md/dm-zoned-metadata.c zone->weight -= n; weight 2155 drivers/md/dm-zoned-metadata.c dmz_id(zmd, zone), zone->weight, n); weight 2156 drivers/md/dm-zoned-metadata.c zone->weight = 0; weight 2332 drivers/md/dm-zoned-metadata.c zone->weight = n; weight 94 drivers/md/dm-zoned.h unsigned int weight; weight 144 drivers/md/dm-zoned.h #define dmz_weight(z) ((z)->weight) weight 506 drivers/mtd/mtdswap.c unsigned int weight = eb->active_count; weight 516 drivers/mtd/mtdswap.c if (weight == maxweight) weight 518 drivers/mtd/mtdswap.c else if (weight == 0) weight 520 drivers/mtd/mtdswap.c else if (weight > (maxweight/2)) weight 2474 drivers/mtd/nand/raw/nand_base.c int weight; weight 2478 drivers/mtd/nand/raw/nand_base.c weight = hweight8(*bitmap); weight 2479 drivers/mtd/nand/raw/nand_base.c bitflips += BITS_PER_BYTE - weight; weight 2489 drivers/mtd/nand/raw/nand_base.c weight = hweight_long(d); weight 2490 drivers/mtd/nand/raw/nand_base.c bitflips += BITS_PER_LONG - weight; weight 2496 drivers/mtd/nand/raw/nand_base.c weight = hweight8(*bitmap); weight 2497 drivers/mtd/nand/raw/nand_base.c bitflips += BITS_PER_BYTE - weight; weight 770 drivers/net/can/c_can/c_can.c u32 weight, lasts; weight 779 drivers/net/can/c_can/c_can.c weight = hweight32(pend); weight 783 drivers/net/can/c_can/c_can.c if (lasts == weight) weight 331 drivers/net/can/rx-offload.c static int can_rx_offload_init_queue(struct net_device *dev, struct can_rx_offload *offload, unsigned int weight) weight 336 drivers/net/can/rx-offload.c offload->skb_queue_len_max = 2 << fls(weight); weight 341 drivers/net/can/rx-offload.c netif_napi_add(dev, &offload->napi, can_rx_offload_napi_poll, weight); weight 351 drivers/net/can/rx-offload.c unsigned int weight; weight 359 drivers/net/can/rx-offload.c weight = offload->mb_last - offload->mb_first; weight 362 drivers/net/can/rx-offload.c weight = offload->mb_first - offload->mb_last; weight 365 drivers/net/can/rx-offload.c return can_rx_offload_init_queue(dev, offload, weight); weight 369 drivers/net/can/rx-offload.c int can_rx_offload_add_fifo(struct net_device *dev, struct can_rx_offload *offload, unsigned int weight) weight 374 drivers/net/can/rx-offload.c return can_rx_offload_init_queue(dev, offload, weight); weight 923 drivers/net/ethernet/amd/pcnet32.c lp->napi.weight = lp->rx_ring_size / 2; weight 1885 drivers/net/ethernet/amd/pcnet32.c lp->napi.weight = lp->rx_ring_size / 2; weight 2714 drivers/net/ethernet/amd/xgbe/xgbe-dev.c unsigned int total_weight, min_weight, weight; weight 2760 drivers/net/ethernet/amd/xgbe/xgbe-dev.c weight = total_weight * ets->tc_tx_bw[i] / 100; weight 2761 drivers/net/ethernet/amd/xgbe/xgbe-dev.c weight = clamp(weight, min_weight, total_weight); weight 2764 drivers/net/ethernet/amd/xgbe/xgbe-dev.c "TC%u using DWRR (weight %u)\n", i, weight); weight 2768 drivers/net/ethernet/amd/xgbe/xgbe-dev.c weight); weight 413 drivers/net/ethernet/broadcom/bgmac.c int weight) weight 494 drivers/net/ethernet/broadcom/bgmac.c if (handled >= weight) /* Should never be greater */ weight 1148 drivers/net/ethernet/broadcom/bgmac.c static int bgmac_poll(struct napi_struct *napi, int weight) weight 1157 drivers/net/ethernet/broadcom/bgmac.c handled += bgmac_dma_rx_read(bgmac, &bgmac->rx_ring[0], weight); weight 1161 drivers/net/ethernet/broadcom/bgmac.c return weight; weight 1163 drivers/net/ethernet/broadcom/bgmac.c if (handled < weight) { weight 1065 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h s16 weight; /* percent weight */ weight 1868 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int minrate, int maxrate, int weight, int pktsize); weight 3117 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c p.u.params.weight = 0; weight 59 drivers/net/ethernet/chelsio/cxgb4/sched.c p->u.params.weight, p->u.params.pktsize); weight 10353 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int minrate, int maxrate, int weight, int pktsize) weight 10373 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c cmd.u.params.weight = cpu_to_be16(weight); weight 3524 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h __be16 weight; weight 320 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hclge_pg_weight_cmd *weight; weight 325 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight = (struct hclge_pg_weight_cmd *)desc.data; weight 327 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight->pg_id = pg_id; weight 328 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight->dwrr = dwrr; weight 336 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hclge_priority_weight_cmd *weight; weight 341 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight = (struct hclge_priority_weight_cmd *)desc.data; weight 343 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight->pri_id = pri_id; weight 344 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight->dwrr = dwrr; weight 352 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hclge_qs_weight_cmd *weight; weight 357 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight = (struct hclge_qs_weight_cmd *)desc.data; weight 359 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight->qs_id = cpu_to_le16(qs_id); weight 360 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c weight->dwrr = dwrr; weight 685 drivers/net/ethernet/huawei/hinic/hinic_tx.c static void tx_napi_add(struct hinic_txq *txq, int weight) weight 687 drivers/net/ethernet/huawei/hinic/hinic_tx.c netif_napi_add(txq->netdev, &txq->napi, free_tx_poll, weight); weight 160 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c u8 weight = ets->tc_tx_bw[i]; weight 164 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c 0, dwrr, weight); weight 198 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c u8 weight = my_ets->tc_tx_bw[i]; weight 202 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c 0, dwrr, weight); weight 2848 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int weight) weight 2856 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (nh->ifindex == ifindex && nh->nh_weight == weight && weight 2876 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int ifindex, weight; weight 2879 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c weight = fib6_nh->fib_nh_weight; weight 2882 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c weight)) weight 3321 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int i, weight = 0, lower_bound = 0; weight 3329 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c weight += nh->norm_nh_weight; weight 3330 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c upper_bound = DIV_ROUND_CLOSEST(ecmp_size * weight, total); weight 1631 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_tx_napi_poll(struct napi_struct *napi, int weight) weight 2161 drivers/net/ethernet/microchip/lan743x_main.c static int lan743x_rx_napi_poll(struct napi_struct *napi, int weight) weight 2174 drivers/net/ethernet/microchip/lan743x_main.c while (count < weight) { weight 2188 drivers/net/ethernet/microchip/lan743x_main.c if (count == weight) weight 2605 drivers/net/ethernet/qlogic/qed/qed_hsi.h u16 weight; weight 83 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c #define QM_WFQ_INC_VAL(weight) ((weight) * 0x9000) weight 1304 drivers/net/ethernet/qlogic/qed/qed_iwarp.c int weight = 0; weight 1306 drivers/net/ethernet/qlogic/qed/qed_iwarp.c weight = bitmap_weight(bmap->bitmap, bmap->max_count); weight 1307 drivers/net/ethernet/qlogic/qed/qed_iwarp.c prev_weight = weight; weight 1309 drivers/net/ethernet/qlogic/qed/qed_iwarp.c while (weight) { weight 1312 drivers/net/ethernet/qlogic/qed/qed_iwarp.c weight = bitmap_weight(bmap->bitmap, bmap->max_count); weight 1314 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (prev_weight == weight) { weight 1317 drivers/net/ethernet/qlogic/qed/qed_iwarp.c prev_weight = weight; weight 1324 drivers/net/ethernet/qlogic/qed/qed_iwarp.c bmap->name, weight); weight 320 drivers/net/ethernet/qlogic/qed/qed_rdma.c int weight = bitmap_weight(bmap->bitmap, bmap->max_count); weight 328 drivers/net/ethernet/qlogic/qed/qed_rdma.c if (!weight || !check) weight 333 drivers/net/ethernet/qlogic/qed/qed_rdma.c bmap->name, bmap->max_count, weight); weight 195 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c u32 weight, u32 queue) weight 201 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c value |= weight & MTL_TXQ_WEIGHT_ISCQW_MASK; weight 190 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c u32 weight, u32 queue) weight 194 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c writel(weight, ioaddr + XGMAC_MTL_TCx_QUANTUM_WEIGHT(queue)); weight 301 drivers/net/ethernet/stmicro/stmmac/hwif.h u32 weight, u32 queue); weight 2325 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c u32 weight; weight 2329 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c weight = priv->plat->tx_queues_cfg[queue].weight; weight 2330 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_set_mtl_tx_queue_weight(priv, priv->hw, weight, queue); weight 148 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[0].weight = 0x09; weight 149 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[1].weight = 0x0A; weight 150 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[2].weight = 0x0B; weight 151 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[3].weight = 0x0C; weight 152 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[4].weight = 0x0D; weight 153 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[5].weight = 0x0E; weight 154 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[6].weight = 0x0F; weight 155 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[7].weight = 0x10; weight 408 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c plat->tx_queues_cfg[i].weight = 25; weight 245 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c &plat->tx_queues_cfg[queue].weight)) weight 246 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c plat->tx_queues_cfg[queue].weight = 0x10 + queue; weight 123 drivers/net/ethernet/ti/davinci_cpdma.c int weight; weight 704 drivers/net/ethernet/ti/davinci_cpdma.c if (chan->weight) weight 705 drivers/net/ethernet/ti/davinci_cpdma.c chan->desc_num = (chan->weight * desc_num) / 100; weight 743 drivers/net/ethernet/ti/davinci_cpdma.c if (!chan->weight) weight 745 drivers/net/ethernet/ti/davinci_cpdma.c rx_weight += chan->weight; weight 747 drivers/net/ethernet/ti/davinci_cpdma.c if (!chan->weight) weight 749 drivers/net/ethernet/ti/davinci_cpdma.c tx_weight += chan->weight; weight 784 drivers/net/ethernet/ti/davinci_cpdma.c int cpdma_chan_set_weight(struct cpdma_chan *ch, int weight) weight 792 drivers/net/ethernet/ti/davinci_cpdma.c if (ch->weight == weight) { weight 797 drivers/net/ethernet/ti/davinci_cpdma.c ch->weight = weight; weight 904 drivers/net/ethernet/ti/davinci_cpdma.c chan->weight = 0; weight 96 drivers/net/ethernet/ti/davinci_cpdma.h int cpdma_chan_set_weight(struct cpdma_chan *ch, int weight); weight 1645 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c int *weight) weight 1647 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (*best_weight < ++(*weight)) { weight 1648 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c *best_weight = *weight; weight 1658 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c int weight, best_weight; weight 1687 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c weight = 0; weight 1695 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c &best_weight, &weight); weight 1701 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c &best_weight, &weight); weight 1708 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c &best_weight, &weight); weight 1720 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c &best_weight, &weight); weight 345 drivers/net/virtio_net.c if (napi->weight) weight 1269 drivers/net/virtio_net.c if (!napi->weight) weight 1276 drivers/net/virtio_net.c napi->weight = 0; weight 1285 drivers/net/virtio_net.c if (napi->weight) weight 1407 drivers/net/virtio_net.c if (!sq->napi.weight || is_xdp_raw_buffer_queue(vi, index)) weight 1561 drivers/net/virtio_net.c bool use_napi = sq->napi.weight; weight 2247 drivers/net/virtio_net.c if (napi_weight ^ vi->sq[0].napi.weight) { weight 2251 drivers/net/virtio_net.c vi->sq[i].napi.weight = napi_weight; weight 2268 drivers/net/virtio_net.c if (vi->sq[0].napi.weight) weight 1498 drivers/net/wireless/ath/ath6kl/wmi.c cmd.weight = sq_thresh->weight; weight 1740 drivers/net/wireless/ath/ath6kl/wmi.c cmd.weight = sq_thresh->weight; weight 92 drivers/net/wireless/ath/ath6kl/wmi.h u8 weight; weight 1264 drivers/net/wireless/ath/ath6kl/wmi.h u8 weight; weight 1279 drivers/net/wireless/ath/ath6kl/wmi.h u8 weight; weight 280 drivers/net/wireless/ath/ath9k/btcoex.c const u32 *weight = ar9003_wlan_weights[stomp_type]; weight 295 drivers/net/wireless/ath/ath9k/btcoex.c weight = mci_wlan_weights[stype]; weight 300 drivers/net/wireless/ath/ath9k/btcoex.c btcoex_hw->wlan_weight[i] = weight[i]; weight 1811 drivers/net/wireless/ath/wil6210/wmi.h u8 weight[3]; weight 38 drivers/net/wireless/rsi/rsi_91x_core.c common->min_weight = tx_qinfo[ii].weight; weight 64 drivers/net/wireless/rsi/rsi_91x_core.c tx_qinfo[ii].weight = weight 65 drivers/net/wireless/rsi/rsi_91x_core.c ((tx_qinfo[ii].weight > common->min_weight) ? weight 66 drivers/net/wireless/rsi/rsi_91x_core.c tx_qinfo[ii].weight - common->min_weight : 0); weight 69 drivers/net/wireless/rsi/rsi_91x_core.c tx_qinfo[ii].weight = tx_qinfo[ii].wme_params; weight 73 drivers/net/wireless/rsi/rsi_91x_core.c tx_qinfo[ii].weight = 0; weight 174 drivers/net/wireless/rsi/rsi_91x_core.c (common->tx_qinfo[ii].weight < common->min_weight)) && weight 176 drivers/net/wireless/rsi/rsi_91x_core.c common->min_weight = common->tx_qinfo[ii].weight; weight 329 drivers/net/wireless/rsi/rsi_91x_mgmt.c common->tx_qinfo[ii].weight = common->tx_qinfo[ii].wme_params; weight 160 drivers/net/wireless/rsi/rsi_main.h s32 weight; weight 721 drivers/net/wireless/ti/wl1251/acx.c int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, weight 734 drivers/net/wireless/ti/wl1251/acx.c rssi->weight = weight; weight 416 drivers/net/wireless/ti/wl1251/acx.h u8 weight; weight 1465 drivers/net/wireless/ti/wl1251/acx.h int wl1251_acx_low_rssi(struct wl1251 *wl, s8 threshold, u8 weight, weight 83 drivers/net/xen-netback/xenbus.c queue->napi.state, queue->napi.weight, weight 572 drivers/s390/crypto/zcrypt_api.c unsigned int weight) weight 578 drivers/s390/crypto/zcrypt_api.c atomic_add(weight, &zc->load); weight 579 drivers/s390/crypto/zcrypt_api.c atomic_add(weight, &zq->load); weight 588 drivers/s390/crypto/zcrypt_api.c unsigned int weight) weight 591 drivers/s390/crypto/zcrypt_api.c atomic_sub(weight, &zc->load); weight 592 drivers/s390/crypto/zcrypt_api.c atomic_sub(weight, &zq->load); weight 600 drivers/s390/crypto/zcrypt_api.c unsigned int weight, weight 605 drivers/s390/crypto/zcrypt_api.c weight += atomic_read(&zc->load); weight 607 drivers/s390/crypto/zcrypt_api.c if (weight == pref_weight) weight 610 drivers/s390/crypto/zcrypt_api.c return weight > pref_weight; weight 615 drivers/s390/crypto/zcrypt_api.c unsigned int weight, weight 620 drivers/s390/crypto/zcrypt_api.c weight += atomic_read(&zq->load); weight 622 drivers/s390/crypto/zcrypt_api.c if (weight == pref_weight) weight 625 drivers/s390/crypto/zcrypt_api.c return weight > pref_weight; weight 636 drivers/s390/crypto/zcrypt_api.c unsigned int weight, pref_weight; weight 675 drivers/s390/crypto/zcrypt_api.c weight = zc->speed_rating[func_code]; weight 676 drivers/s390/crypto/zcrypt_api.c if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) weight 687 drivers/s390/crypto/zcrypt_api.c weight, pref_weight)) weight 691 drivers/s390/crypto/zcrypt_api.c pref_weight = weight; weight 694 drivers/s390/crypto/zcrypt_api.c pref_zq = zcrypt_pick_queue(pref_zc, pref_zq, &mod, weight); weight 706 drivers/s390/crypto/zcrypt_api.c zcrypt_drop_queue(pref_zc, pref_zq, mod, weight); weight 720 drivers/s390/crypto/zcrypt_api.c unsigned int weight, pref_weight; weight 759 drivers/s390/crypto/zcrypt_api.c weight = zc->speed_rating[func_code]; weight 760 drivers/s390/crypto/zcrypt_api.c if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) weight 771 drivers/s390/crypto/zcrypt_api.c weight, pref_weight)) weight 775 drivers/s390/crypto/zcrypt_api.c pref_weight = weight; weight 778 drivers/s390/crypto/zcrypt_api.c pref_zq = zcrypt_pick_queue(pref_zc, pref_zq, &mod, weight); weight 790 drivers/s390/crypto/zcrypt_api.c zcrypt_drop_queue(pref_zc, pref_zq, mod, weight); weight 805 drivers/s390/crypto/zcrypt_api.c unsigned int weight, pref_weight; weight 845 drivers/s390/crypto/zcrypt_api.c weight = speed_idx_cca(func_code) * zc->speed_rating[SECKEY]; weight 846 drivers/s390/crypto/zcrypt_api.c if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) weight 860 drivers/s390/crypto/zcrypt_api.c weight, pref_weight)) weight 864 drivers/s390/crypto/zcrypt_api.c pref_weight = weight; weight 867 drivers/s390/crypto/zcrypt_api.c pref_zq = zcrypt_pick_queue(pref_zc, pref_zq, &mod, weight); weight 883 drivers/s390/crypto/zcrypt_api.c zcrypt_drop_queue(pref_zc, pref_zq, mod, weight); weight 930 drivers/s390/crypto/zcrypt_api.c unsigned int weight, pref_weight; weight 982 drivers/s390/crypto/zcrypt_api.c weight = speed_idx_ep11(func_code) * zc->speed_rating[SECKEY]; weight 983 drivers/s390/crypto/zcrypt_api.c if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) weight 998 drivers/s390/crypto/zcrypt_api.c weight, pref_weight)) weight 1002 drivers/s390/crypto/zcrypt_api.c pref_weight = weight; weight 1005 drivers/s390/crypto/zcrypt_api.c pref_zq = zcrypt_pick_queue(pref_zc, pref_zq, &mod, weight); weight 1017 drivers/s390/crypto/zcrypt_api.c zcrypt_drop_queue(pref_zc, pref_zq, mod, weight); weight 1033 drivers/s390/crypto/zcrypt_api.c unsigned int weight, pref_weight; weight 1055 drivers/s390/crypto/zcrypt_api.c weight = zc->speed_rating[func_code]; weight 1056 drivers/s390/crypto/zcrypt_api.c if (zcrypt_card_compare(zc, pref_zc, weight, pref_weight)) weight 1063 drivers/s390/crypto/zcrypt_api.c weight, pref_weight)) weight 1067 drivers/s390/crypto/zcrypt_api.c pref_weight = weight; weight 1070 drivers/s390/crypto/zcrypt_api.c pref_zq = zcrypt_pick_queue(pref_zc, pref_zq, &mod, weight); weight 1082 drivers/s390/crypto/zcrypt_api.c zcrypt_drop_queue(pref_zc, pref_zq, mod, weight); weight 2915 drivers/scsi/cxlflash/main.c u32 weight; weight 2918 drivers/scsi/cxlflash/main.c rc = kstrtouint(buf, 10, &weight); weight 2922 drivers/scsi/cxlflash/main.c if (weight > 256) { weight 2928 drivers/scsi/cxlflash/main.c if (weight == afu->irqpoll_weight) { weight 2942 drivers/scsi/cxlflash/main.c afu->irqpoll_weight = weight; weight 2944 drivers/scsi/cxlflash/main.c if (weight > 0) { weight 2948 drivers/scsi/cxlflash/main.c irq_poll_init(&hwq->irqpoll, weight, cxlflash_irqpoll); weight 89 drivers/thermal/fair_share.c total_weight += instance->weight; weight 103 drivers/thermal/fair_share.c percentage = (instance->weight * 100) / total_weight; weight 252 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c memcpy(&art_user[i].weight, &arts[i].weight, weight 20 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h u64 weight; weight 50 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h u64 weight; weight 352 drivers/thermal/power_allocator.c total_weight += instance->weight; weight 389 drivers/thermal/power_allocator.c int weight; weight 402 drivers/thermal/power_allocator.c weight = 1 << FRAC_BITS; weight 404 drivers/thermal/power_allocator.c weight = instance->weight; weight 406 drivers/thermal/power_allocator.c weighted_req_power[i] = frac_to_int(weight * req_power[i]); weight 685 drivers/thermal/thermal_core.c unsigned int weight) weight 729 drivers/thermal/thermal_core.c dev->weight = weight; weight 871 drivers/thermal/thermal_core.c unsigned int weight) weight 887 drivers/thermal/thermal_core.c weight); weight 925 drivers/thermal/thermal_core.c tzp->tbp[i].weight); weight 1203 drivers/thermal/thermal_core.c tzp->tbp[i].weight); weight 54 drivers/thermal/thermal_core.h unsigned int weight; /* The weight of the cooling device */ weight 987 drivers/thermal/thermal_sysfs.c return sprintf(buf, "%d\n", instance->weight); weight 994 drivers/thermal/thermal_sysfs.c int ret, weight; weight 996 drivers/thermal/thermal_sysfs.c ret = kstrtoint(buf, 0, &weight); weight 1001 drivers/thermal/thermal_sysfs.c instance->weight = weight; weight 23 drivers/thunderbolt/path.c regs->weight, regs->priority, weight 490 drivers/thunderbolt/path.c hop.weight = path->weight; weight 232 drivers/thunderbolt/tb.h int weight:4; weight 259 drivers/thunderbolt/tb_regs.h u32 weight:4; weight 100 drivers/thunderbolt/tunnel.c path->weight = 1; weight 309 drivers/thunderbolt/tunnel.c path->weight = 1; weight 324 drivers/thunderbolt/tunnel.c path->weight = 1; weight 505 drivers/thunderbolt/tunnel.c path->weight = 1; weight 420 drivers/vhost/vhost.c pkts >= dev->weight) { weight 457 drivers/vhost/vhost.c int iov_limit, int weight, int byte_weight) weight 471 drivers/vhost/vhost.c dev->weight = weight; weight 174 drivers/vhost/vhost.h int weight; weight 180 drivers/vhost/vhost.h int nvqs, int iov_limit, int weight, int byte_weight); weight 31 drivers/video/fbdev/nvidia/nv_type.h int weight; weight 440 fs/afs/internal.h u16 weight; /* Weight (as SRV) */ weight 305 fs/afs/proc.c vlserver->name, entry->priority, entry->weight, weight 201 fs/afs/vl_list.c bs.weight = afs_extract_le16(&b); weight 209 fs/afs/vl_list.c bs.name_len, bs.priority, bs.weight, weight 296 fs/afs/vl_list.c bs.weight > vllist->servers[j].weight) weight 309 fs/afs/vl_list.c vllist->servers[j].weight = bs.weight; weight 242 fs/dlm/config.c int weight; weight 499 fs/dlm/config.c nd->weight = 1; /* default weight of 1 if none is set */ weight 697 fs/dlm/config.c return sprintf(buf, "%d\n", config_item_to_node(item)->weight); weight 703 fs/dlm/config.c int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight); weight 711 fs/dlm/config.c CONFIGFS_ATTR(node_, weight); weight 805 fs/dlm/config.c node->weight = nd->weight; weight 17 fs/dlm/config.h int weight; weight 123 fs/dlm/dlm_internal.h int weight; weight 330 fs/dlm/member.c memb->weight = node->weight; weight 393 fs/dlm/member.c if (memb->weight) weight 394 fs/dlm/member.c total += memb->weight; weight 410 fs/dlm/member.c if (!all_zero && !memb->weight) weight 416 fs/dlm/member.c w = memb->weight; weight 37 include/linux/can/rx-offload.h unsigned int weight); weight 136 include/linux/crush/crush.h __u32 weight; /* 16-bit fixed point */ weight 17 include/linux/crush/mapper.h const __u32 *weight, int weight_max, weight 11 include/linux/irq_poll.h int weight; weight 328 include/linux/netdevice.h int weight; weight 2223 include/linux/netdevice.h int (*poll)(struct napi_struct *, int), int weight); weight 2239 include/linux/netdevice.h int weight) weight 2242 include/linux/netdevice.h netif_napi_add(dev, napi, poll, weight); weight 941 include/linux/perf_event.h u64 weight; weight 992 include/linux/perf_event.h data->weight = 0; weight 321 include/linux/sched.h unsigned long weight; weight 119 include/linux/stmmac.h u32 weight; weight 257 include/linux/thermal.h int weight; weight 492 include/linux/thermal.h unsigned int weight) weight 595 include/net/ip_vs.h int weight; /* destination weight */ weight 665 include/net/ip_vs.h atomic_t weight; /* server weight */ weight 65 include/net/nexthop.h u8 weight; weight 174 include/net/nexthop.h int weight = nhg->nh_entries[i].weight; weight 176 include/net/nexthop.h if (fib_add_nexthop(skb, nhc, weight, rt_family) < 0) weight 140 include/rdma/ib_smi.h u8 weight; weight 31 include/trace/events/iocost.h __field(u32, weight) weight 47 include/trace/events/iocost.h __entry->weight = iocg->weight; weight 60 include/trace/events/iocost.h __entry->inuse, __entry->weight, weight 100 include/uapi/linux/dns_resolver.h __u16 weight; /* Weight (as SRV record) (LE) */ weight 166 include/uapi/linux/ip_vs.h int weight; /* destination weight */ weight 231 include/uapi/linux/ip_vs.h int weight; /* destination weight */ weight 18 include/uapi/linux/nexthop.h __u8 weight; /* weight of this nexthop */ weight 492 include/uapi/linux/pkt_sched.h __u32 weight; weight 776 include/uapi/linux/pkt_sched.h __u32 weight; weight 1747 kernel/events/core.c size += sizeof(data->weight); weight 6481 kernel/events/core.c perf_output_put(handle, data->weight); weight 164 kernel/events/hw_breakpoint.c fetch_this_slot(struct bp_busy_slots *slots, int weight) weight 166 kernel/events/hw_breakpoint.c slots->pinned += weight; weight 173 kernel/events/hw_breakpoint.c enum bp_type_idx type, int weight) weight 179 kernel/events/hw_breakpoint.c new_idx = old_idx + weight; weight 192 kernel/events/hw_breakpoint.c int weight) weight 198 kernel/events/hw_breakpoint.c weight = -weight; weight 202 kernel/events/hw_breakpoint.c get_bp_info(bp->cpu, type)->cpu_pinned += weight; weight 208 kernel/events/hw_breakpoint.c toggle_bp_task_slot(bp, cpu, type, weight); weight 272 kernel/events/hw_breakpoint.c int weight; weight 284 kernel/events/hw_breakpoint.c weight = hw_breakpoint_weight(bp); weight 291 kernel/events/hw_breakpoint.c fetch_this_slot(&slots, weight); weight 297 kernel/events/hw_breakpoint.c toggle_bp_slot(bp, true, type, weight); weight 318 kernel/events/hw_breakpoint.c int weight; weight 321 kernel/events/hw_breakpoint.c weight = hw_breakpoint_weight(bp); weight 322 kernel/events/hw_breakpoint.c toggle_bp_slot(bp, false, type, weight); weight 756 kernel/sched/core.c load->weight = scale_load(WEIGHT_IDLEPRIO); weight 758 kernel/sched/core.c p->se.runnable_weight = load->weight; weight 769 kernel/sched/core.c load->weight = scale_load(sched_prio_to_weight[prio]); weight 771 kernel/sched/core.c p->se.runnable_weight = load->weight; weight 7743 kernel/sched/core.c u64 weight = scale_load_down(tg->shares); weight 7745 kernel/sched/core.c return DIV_ROUND_CLOSEST_ULL(weight * CGROUP_WEIGHT_DFL, 1024); weight 7749 kernel/sched/core.c struct cftype *cft, u64 weight) weight 7758 kernel/sched/core.c if (weight < CGROUP_WEIGHT_MIN || weight > CGROUP_WEIGHT_MAX) weight 7761 kernel/sched/core.c weight = DIV_ROUND_CLOSEST_ULL(weight * 1024, CGROUP_WEIGHT_DFL); weight 7763 kernel/sched/core.c return sched_group_set_shares(css_tg(css), scale_load(weight)); weight 7769 kernel/sched/core.c unsigned long weight = scale_load_down(css_tg(css)->shares); weight 7775 kernel/sched/core.c delta = abs(sched_prio_to_weight[prio] - weight); weight 7787 kernel/sched/core.c unsigned long weight; weight 7795 kernel/sched/core.c weight = sched_prio_to_weight[idx]; weight 7797 kernel/sched/core.c return sched_group_set_shares(css_tg(css), scale_load(weight)); weight 404 kernel/sched/debug.c P(se->load.weight); weight 525 kernel/sched/debug.c SEQ_printf(m, " .%-30s: %ld\n", "load", cfs_rq->load.weight); weight 942 kernel/sched/debug.c P(se.load.weight); weight 123 kernel/sched/fair.c lw->weight += inc; weight 129 kernel/sched/fair.c lw->weight -= dec; weight 135 kernel/sched/fair.c lw->weight = w; weight 196 kernel/sched/fair.c w = scale_load_down(lw->weight); weight 218 kernel/sched/fair.c static u64 __calc_delta(u64 delta_exec, unsigned long weight, struct load_weight *lw) weight 220 kernel/sched/fair.c u64 fact = scale_load_down(weight); weight 664 kernel/sched/fair.c if (unlikely(se->load.weight != NICE_0_LOAD)) weight 706 kernel/sched/fair.c update_load_add(&lw, se->load.weight); weight 709 kernel/sched/fair.c slice = __calc_delta(slice, se->load.weight, load); weight 745 kernel/sched/fair.c sa->runnable_load_avg = sa->load_avg = scale_load_down(se->load.weight); weight 747 kernel/sched/fair.c se->runnable_weight = se->load.weight; weight 790 kernel/sched/fair.c sa->util_avg = cfs_rq->avg.util_avg * se->load.weight; weight 2759 kernel/sched/fair.c update_load_add(&cfs_rq->load, se->load.weight); weight 2774 kernel/sched/fair.c update_load_sub(&cfs_rq->load, se->load.weight); weight 2877 kernel/sched/fair.c unsigned long weight, unsigned long runnable) weight 2889 kernel/sched/fair.c update_load_set(&se->load, weight); weight 2913 kernel/sched/fair.c unsigned long weight = scale_load(sched_prio_to_weight[prio]); weight 2915 kernel/sched/fair.c reweight_entity(cfs_rq, se, weight, weight); weight 3001 kernel/sched/fair.c load = max(scale_load_down(cfs_rq->load.weight), cfs_rq->avg.load_avg); weight 3060 kernel/sched/fair.c scale_load_down(cfs_rq->load.weight)); weight 3093 kernel/sched/fair.c if (likely(se->load.weight == shares)) weight 3334 kernel/sched/fair.c if (scale_load_down(gcfs_rq->load.weight)) { weight 3336 kernel/sched/fair.c scale_load_down(gcfs_rq->load.weight)); weight 4184 kernel/sched/fair.c rq_of(cfs_rq)->cfs.load.weight >= 2*se->load.weight) { weight 4526 kernel/sched/fair.c if (qcfs_rq->load.weight) weight 4580 kernel/sched/fair.c if (!cfs_rq->load.weight) weight 5334 kernel/sched/fair.c if (cfs_rq->load.weight) { weight 5790 kernel/sched/fair.c int weight; weight 5812 kernel/sched/fair.c weight = sd->span_weight; weight 5815 kernel/sched/fair.c if (weight <= tmp->span_weight) weight 7572 kernel/sched/fair.c if (cfs_rq->load.weight) weight 10456 kernel/sched/fair.c if (rq->cfs.load.weight) weight 294 kernel/sched/pelt.c scale_load_down(cfs_rq->load.weight), weight 643 kernel/sched/rt.c int i, weight; weight 646 kernel/sched/rt.c weight = cpumask_weight(rd->span); weight 672 kernel/sched/rt.c diff = div_u64((u64)diff, weight); weight 707 kernel/sched/sched.h return scale_load_down(se->load.weight); weight 88 lib/irq_poll.c int work, weight; weight 107 lib/irq_poll.c weight = iop->weight; weight 110 lib/irq_poll.c work = iop->poll(iop, weight); weight 124 lib/irq_poll.c if (work >= weight) { weight 179 lib/irq_poll.c void irq_poll_init(struct irq_poll *iop, int weight, irq_poll_fn *poll_fn) weight 183 lib/irq_poll.c iop->weight = weight; weight 738 lib/objagg.c unsigned int weight = node->objagg_obj->stats.user_count; weight 751 lib/objagg.c weight += node->objagg_obj->stats.user_count; weight 753 lib/objagg.c return weight; weight 760 lib/objagg.c unsigned int weight; weight 768 lib/objagg.c weight = objagg_tmp_graph_node_weight(graph, i); weight 769 lib/objagg.c if (weight >= max_weight) { weight 770 lib/objagg.c max_weight = weight; weight 258 lib/sbitmap.c unsigned int i, weight = 0; weight 264 lib/sbitmap.c weight += bitmap_weight(&word->word, word->depth); weight 266 lib/sbitmap.c weight += bitmap_weight(&word->cleared, word->depth); weight 268 lib/sbitmap.c return weight; weight 596 lib/zstd/fse_compress.c U32 const weight = sEnd - sStart; weight 597 lib/zstd/fse_compress.c if (weight < 1) weight 599 lib/zstd/fse_compress.c norm[s] = (short)weight; weight 389 lib/zstd/huf_decompress.c BYTE weight; weight 418 lib/zstd/huf_decompress.c const U32 weight = sortedSymbols[s].weight; weight 419 lib/zstd/huf_decompress.c const U32 nbBits = nbBitsBaseline - weight; weight 421 lib/zstd/huf_decompress.c const U32 start = rankVal[weight]; weight 432 lib/zstd/huf_decompress.c rankVal[weight] += length; weight 453 lib/zstd/huf_decompress.c const U32 weight = sortedList[s].weight; weight 454 lib/zstd/huf_decompress.c const U32 nbBits = nbBitsBaseline - weight; weight 455 lib/zstd/huf_decompress.c const U32 start = rankVal[weight]; weight 478 lib/zstd/huf_decompress.c rankVal[weight] += length; weight 556 lib/zstd/huf_decompress.c sortedSymbol[r].weight = (BYTE)w; weight 1524 net/batman-adv/bat_iv_ogm.c u8 *weight; weight 1545 net/batman-adv/bat_iv_ogm.c weight = &orig_ifinfo->bat_iv.bcast_own_sum; weight 1546 net/batman-adv/bat_iv_ogm.c *weight = bitmap_weight(orig_ifinfo->bat_iv.bcast_own, weight 414 net/ceph/crush/mapper.c const __u32 *weight, int weight_max, weight 419 net/ceph/crush/mapper.c if (weight[item] >= 0x10000) weight 421 net/ceph/crush/mapper.c if (weight[item] == 0) weight 424 net/ceph/crush/mapper.c < weight[item]) weight 452 net/ceph/crush/mapper.c const __u32 *weight, int weight_max, weight 565 net/ceph/crush/mapper.c weight, weight_max, weight 588 net/ceph/crush/mapper.c reject = is_out(map, weight, weight 646 net/ceph/crush/mapper.c const __u32 *weight, int weight_max, weight 779 net/ceph/crush/mapper.c weight, weight_max, weight 797 net/ceph/crush/mapper.c is_out(map, weight, weight_max, item, x)) weight 896 net/ceph/crush/mapper.c const __u32 *weight, int weight_max, weight 1034 net/ceph/crush/mapper.c weight, weight_max, weight 1056 net/ceph/crush/mapper.c weight, weight_max, weight 426 net/ceph/osdmap.c b->weight = ceph_decode_32(p); weight 1001 net/ceph/osdmap.c u32 *weight; weight 1011 net/ceph/osdmap.c weight = ceph_kvmalloc(array_size(max, sizeof(*weight)), GFP_NOFS); weight 1013 net/ceph/osdmap.c if (!state || !weight || !addr) { weight 1015 net/ceph/osdmap.c kvfree(weight); weight 1023 net/ceph/osdmap.c memcpy(weight, map->osd_weight, to_copy * sizeof(*weight)); weight 1031 net/ceph/osdmap.c map->osd_weight = weight; weight 2278 net/ceph/osdmap.c const __u32 *weight, int weight_max, weight 2294 net/ceph/osdmap.c weight, weight_max, map->crush_workspace, weight 5863 net/core/dev.c napi->weight = dev_rx_weight; weight 6221 net/core/dev.c int (*poll)(struct napi_struct *, int), int weight) weight 6231 net/core/dev.c if (weight > NAPI_POLL_WEIGHT) weight 6233 net/core/dev.c weight); weight 6234 net/core/dev.c napi->weight = weight; weight 6291 net/core/dev.c int work, weight; weight 6297 net/core/dev.c weight = n->weight; weight 6307 net/core/dev.c work = n->poll(n, weight); weight 6308 net/core/dev.c trace_napi_poll(n, work, weight); weight 6311 net/core/dev.c WARN_ON_ONCE(work > weight); weight 6313 net/core/dev.c if (likely(work < weight)) weight 10211 net/core/dev.c sd->backlog.weight = weight_p; weight 49 net/dccp/ccids/lib/tfrc.h static inline u32 tfrc_ewma(const u32 avg, const u32 newval, const u8 weight) weight 51 net/dccp/ccids/lib/tfrc.h return avg ? (weight * avg + (10 - weight) * newval) / 10 : newval; weight 672 net/ipv4/netfilter/ipt_CLUSTERIP.c unsigned int weight; /* number of bits set == size */ weight 680 net/ipv4/netfilter/ipt_CLUSTERIP.c unsigned int weight; weight 686 net/ipv4/netfilter/ipt_CLUSTERIP.c weight = hweight32(local_nodes); weight 687 net/ipv4/netfilter/ipt_CLUSTERIP.c if (*pos >= weight) weight 695 net/ipv4/netfilter/ipt_CLUSTERIP.c idx->weight = weight; weight 708 net/ipv4/netfilter/ipt_CLUSTERIP.c if (*pos >= idx->weight) { weight 732 net/ipv4/netfilter/ipt_CLUSTERIP.c if (idx->pos == idx->weight - 1) weight 205 net/ipv4/nexthop.c p->weight = nhg->nh_entries[i].weight - 1; weight 421 net/ipv4/nexthop.c if (nhg[i].weight > 254) { weight 693 net/ipv4/nexthop.c total += nhg->nh_entries[i].weight; weight 699 net/ipv4/nexthop.c w += nhge->weight; weight 742 net/ipv4/nexthop.c new_nhges[j].weight = nhges[i].weight; weight 1142 net/ipv4/nexthop.c nhg->nh_entries[i].weight = entry[i].weight + 1; weight 4576 net/ipv6/route.c static void rt6_upper_bound_set(struct fib6_info *rt, int *weight, int total) weight 4581 net/ipv6/route.c *weight += rt->fib6_nh->fib_nh_weight; weight 4582 net/ipv6/route.c upper_bound = DIV_ROUND_CLOSEST_ULL((u64) (*weight) << 31, weight 4591 net/ipv6/route.c int weight = 0; weight 4593 net/ipv6/route.c rt6_upper_bound_set(rt, &weight, total); weight 4596 net/ipv6/route.c rt6_upper_bound_set(iter, &weight, total); weight 25 net/mac80211/rc80211_minstrel.h minstrel_ewma(int old, int new, int weight) weight 30 net/mac80211/rc80211_minstrel.h incr = (EWMA_DIV - weight) * diff / EWMA_DIV; weight 744 net/netfilter/ipvs/ip_vs_conn.c (atomic_read(&dest->weight) == 0); weight 2067 net/netfilter/ipvs/ip_vs_core.c unlikely(!atomic_read(&cp->dest->weight))) { weight 873 net/netfilter/ipvs/ip_vs_ctl.c if (add || udest->weight != 0) weight 874 net/netfilter/ipvs/ip_vs_ctl.c atomic_set(&dest->last_weight, udest->weight); weight 877 net/netfilter/ipvs/ip_vs_ctl.c atomic_set(&dest->weight, udest->weight); weight 1035 net/netfilter/ipvs/ip_vs_ctl.c if (udest->weight < 0) { weight 1106 net/netfilter/ipvs/ip_vs_ctl.c if (udest->weight < 0) { weight 2175 net/netfilter/ipvs/ip_vs_ctl.c atomic_read(&dest->weight), weight 2186 net/netfilter/ipvs/ip_vs_ctl.c atomic_read(&dest->weight), weight 2403 net/netfilter/ipvs/ip_vs_ctl.c udest->weight = udest_compat->weight; weight 2664 net/netfilter/ipvs/ip_vs_ctl.c entry.weight = atomic_read(&dest->weight); weight 3260 net/netfilter/ipvs/ip_vs_ctl.c atomic_read(&dest->weight)) || weight 3403 net/netfilter/ipvs/ip_vs_ctl.c udest->weight = nla_get_u32(nla_weight); weight 225 net/netfilter/ipvs/ip_vs_dh.c || atomic_read(&dest->weight) <= 0 weight 34 net/netfilter/ipvs/ip_vs_fo.c atomic_read(&dest->weight) > hw) { weight 36 net/netfilter/ipvs/ip_vs_fo.c hw = atomic_read(&dest->weight); weight 45 net/netfilter/ipvs/ip_vs_fo.c atomic_read(&hweight->weight)); weight 420 net/netfilter/ipvs/ip_vs_lblc.c if (atomic_read(&dest->weight) > 0) { weight 437 net/netfilter/ipvs/ip_vs_lblc.c if ((__s64)loh * atomic_read(&dest->weight) > weight 438 net/netfilter/ipvs/ip_vs_lblc.c (__s64)doh * atomic_read(&least->weight)) { weight 450 net/netfilter/ipvs/ip_vs_lblc.c atomic_read(&least->weight), loh); weight 463 net/netfilter/ipvs/ip_vs_lblc.c if (atomic_read(&dest->activeconns) > atomic_read(&dest->weight)) { weight 468 net/netfilter/ipvs/ip_vs_lblc.c < atomic_read(&d->weight)) { weight 507 net/netfilter/ipvs/ip_vs_lblc.c atomic_read(&dest->weight) > 0 && !is_overloaded(dest, svc)) weight 173 net/netfilter/ipvs/ip_vs_lblcr.c if ((atomic_read(&least->weight) > 0) weight 189 net/netfilter/ipvs/ip_vs_lblcr.c if (((__s64)loh * atomic_read(&dest->weight) > weight 190 net/netfilter/ipvs/ip_vs_lblcr.c (__s64)doh * atomic_read(&least->weight)) weight 204 net/netfilter/ipvs/ip_vs_lblcr.c atomic_read(&least->weight), loh); weight 222 net/netfilter/ipvs/ip_vs_lblcr.c if (atomic_read(&most->weight) > 0) { weight 235 net/netfilter/ipvs/ip_vs_lblcr.c if (((__s64)moh * atomic_read(&dest->weight) < weight 236 net/netfilter/ipvs/ip_vs_lblcr.c (__s64)doh * atomic_read(&most->weight)) weight 237 net/netfilter/ipvs/ip_vs_lblcr.c && (atomic_read(&dest->weight) > 0)) { weight 249 net/netfilter/ipvs/ip_vs_lblcr.c atomic_read(&most->weight), moh); weight 584 net/netfilter/ipvs/ip_vs_lblcr.c if (atomic_read(&dest->weight) > 0) { weight 601 net/netfilter/ipvs/ip_vs_lblcr.c if ((__s64)loh * atomic_read(&dest->weight) > weight 602 net/netfilter/ipvs/ip_vs_lblcr.c (__s64)doh * atomic_read(&least->weight)) { weight 614 net/netfilter/ipvs/ip_vs_lblcr.c atomic_read(&least->weight), loh); weight 627 net/netfilter/ipvs/ip_vs_lblcr.c if (atomic_read(&dest->activeconns) > atomic_read(&dest->weight)) { weight 632 net/netfilter/ipvs/ip_vs_lblcr.c < atomic_read(&d->weight)) { weight 43 net/netfilter/ipvs/ip_vs_lc.c atomic_read(&dest->weight) == 0) weight 83 net/netfilter/ipvs/ip_vs_mh.c return atomic_read(&dest->weight) <= 0 || weight 326 net/netfilter/ipvs/ip_vs_mh.c int weight; weight 330 net/netfilter/ipvs/ip_vs_mh.c weight = atomic_read(&dest->last_weight); weight 331 net/netfilter/ipvs/ip_vs_mh.c if (weight > 0) { weight 333 net/netfilter/ipvs/ip_vs_mh.c g = gcd(weight, g); weight 335 net/netfilter/ipvs/ip_vs_mh.c g = weight; weight 347 net/netfilter/ipvs/ip_vs_mh.c int new_weight, weight = 0; weight 359 net/netfilter/ipvs/ip_vs_mh.c if (new_weight > weight) weight 360 net/netfilter/ipvs/ip_vs_mh.c weight = new_weight; weight 366 net/netfilter/ipvs/ip_vs_mh.c mw = weight / gcd; weight 77 net/netfilter/ipvs/ip_vs_nq.c !atomic_read(&dest->weight)) weight 90 net/netfilter/ipvs/ip_vs_nq.c ((__s64)loh * atomic_read(&dest->weight) > weight 91 net/netfilter/ipvs/ip_vs_nq.c (__s64)doh * atomic_read(&least->weight))) { weight 109 net/netfilter/ipvs/ip_vs_nq.c atomic_read(&least->weight), loh); weight 36 net/netfilter/ipvs/ip_vs_ovf.c w = atomic_read(&dest->weight); weight 52 net/netfilter/ipvs/ip_vs_ovf.c atomic_read(&h->weight)); weight 71 net/netfilter/ipvs/ip_vs_rr.c atomic_read(&dest->weight) > 0) weight 95 net/netfilter/ipvs/ip_vs_rr.c refcount_read(&dest->refcnt), atomic_read(&dest->weight)); weight 80 net/netfilter/ipvs/ip_vs_sed.c atomic_read(&dest->weight) > 0) { weight 97 net/netfilter/ipvs/ip_vs_sed.c if ((__s64)loh * atomic_read(&dest->weight) > weight 98 net/netfilter/ipvs/ip_vs_sed.c (__s64)doh * atomic_read(&least->weight)) { weight 110 net/netfilter/ipvs/ip_vs_sed.c atomic_read(&least->weight), loh); weight 76 net/netfilter/ipvs/ip_vs_sh.c return atomic_read(&dest->weight) <= 0 || weight 192 net/netfilter/ipvs/ip_vs_sh.c atomic_read(&dest->weight)); weight 195 net/netfilter/ipvs/ip_vs_sh.c if (++d_count >= atomic_read(&dest->weight)) { weight 52 net/netfilter/ipvs/ip_vs_wlc.c atomic_read(&dest->weight) > 0) { weight 69 net/netfilter/ipvs/ip_vs_wlc.c if ((__s64)loh * atomic_read(&dest->weight) > weight 70 net/netfilter/ipvs/ip_vs_wlc.c (__s64)doh * atomic_read(&least->weight)) { weight 82 net/netfilter/ipvs/ip_vs_wlc.c atomic_read(&least->weight), loh); weight 72 net/netfilter/ipvs/ip_vs_wrr.c int weight; weight 76 net/netfilter/ipvs/ip_vs_wrr.c weight = atomic_read(&dest->weight); weight 77 net/netfilter/ipvs/ip_vs_wrr.c if (weight > 0) { weight 79 net/netfilter/ipvs/ip_vs_wrr.c g = gcd(weight, g); weight 81 net/netfilter/ipvs/ip_vs_wrr.c g = weight; weight 94 net/netfilter/ipvs/ip_vs_wrr.c int new_weight, weight = 0; weight 97 net/netfilter/ipvs/ip_vs_wrr.c new_weight = atomic_read(&dest->weight); weight 98 net/netfilter/ipvs/ip_vs_wrr.c if (new_weight > weight) weight 99 net/netfilter/ipvs/ip_vs_wrr.c weight = new_weight; weight 102 net/netfilter/ipvs/ip_vs_wrr.c return weight; weight 181 net/netfilter/ipvs/ip_vs_wrr.c atomic_read(&dest->weight) >= mark->cw) weight 217 net/netfilter/ipvs/ip_vs_wrr.c atomic_read(&dest->weight)); weight 92 net/sched/sch_cbq.c long weight; /* Relative allotment: see below */ weight 898 net/sched/sch_cbq.c cl->quantum = (cl->weight*cl->allot*q->nclasses[prio])/ weight 1084 net/sched/sch_cbq.c q->quanta[cl->priority] -= cl->weight; weight 1091 net/sched/sch_cbq.c q->quanta[cl->priority] += cl->weight; weight 1101 net/sched/sch_cbq.c if (wrr->weight) weight 1102 net/sched/sch_cbq.c cl->weight = wrr->weight; weight 1207 net/sched/sch_cbq.c q->link.weight = q->link.R_tab->rate.rate; weight 1281 net/sched/sch_cbq.c opt.weight = cl->weight; weight 1647 net/sched/sch_cbq.c cl->weight = cl->R_tab->rate.rate; weight 386 net/sched/sch_hhf.c unsigned int weight; weight 394 net/sched/sch_hhf.c weight = 1; weight 397 net/sched/sch_hhf.c weight = q->hhf_non_hh_weight; weight 400 net/sched/sch_hhf.c bucket->deficit = weight * q->quantum; weight 435 net/sched/sch_hhf.c int weight = (bucket - q->buckets == WDRR_BUCKET_FOR_HH) ? weight 438 net/sched/sch_hhf.c bucket->deficit += weight * q->quantum; weight 254 net/sched/sch_qfq.c u32 lmax, u32 weight) weight 260 net/sched/sch_qfq.c agg->class_weight = weight; weight 264 net/sched/sch_qfq.c u32 lmax, u32 weight) weight 269 net/sched/sch_qfq.c if (agg->lmax == lmax && agg->class_weight == weight) weight 374 net/sched/sch_qfq.c static int qfq_change_agg(struct Qdisc *sch, struct qfq_class *cl, u32 weight, weight 378 net/sched/sch_qfq.c struct qfq_aggregate *new_agg = qfq_find_agg(q, lmax, weight); weight 384 net/sched/sch_qfq.c qfq_init_agg(q, new_agg, lmax, weight); weight 401 net/sched/sch_qfq.c u32 weight, lmax, inv_w; weight 416 net/sched/sch_qfq.c weight = nla_get_u32(tb[TCA_QFQ_WEIGHT]); weight 417 net/sched/sch_qfq.c if (!weight || weight > (1UL << QFQ_MAX_WSHIFT)) { weight 418 net/sched/sch_qfq.c pr_notice("qfq: invalid weight %u\n", weight); weight 422 net/sched/sch_qfq.c weight = 1; weight 433 net/sched/sch_qfq.c inv_w = ONE_FP / weight; weight 434 net/sched/sch_qfq.c weight = ONE_FP / inv_w; weight 438 net/sched/sch_qfq.c weight == cl->agg->class_weight) weight 441 net/sched/sch_qfq.c delta_w = weight - (cl ? cl->agg->class_weight : 0); weight 496 net/sched/sch_qfq.c new_agg = qfq_find_agg(q, lmax, weight); weight 506 net/sched/sch_qfq.c qfq_init_agg(q, new_agg, lmax, weight); weight 640 net/sched/sch_qfq.c xstats.weight = cl->agg->class_weight; weight 420 tools/bpf/bpftool/cfg.c int weight = 10; weight 428 tools/bpf/bpftool/cfg.c style, color, weight); weight 814 tools/hv/hv_kvp_daemon.c int weight; weight 897 tools/hv/hv_kvp_daemon.c weight = 0; weight 904 tools/hv/hv_kvp_daemon.c weight += hweight32(&w[i]); weight 906 tools/hv/hv_kvp_daemon.c sprintf(cidr_mask, "/%d", weight); weight 491 tools/include/uapi/linux/pkt_sched.h __u32 weight; weight 775 tools/include/uapi/linux/pkt_sched.h __u32 weight; weight 244 tools/perf/builtin-c2c.c u64 weight) weight 249 tools/perf/builtin-c2c.c update_stats(&cstats->rmt_hitm, weight); weight 251 tools/perf/builtin-c2c.c update_stats(&cstats->lcl_hitm, weight); weight 253 tools/perf/builtin-c2c.c update_stats(&cstats->load, weight); weight 339 tools/perf/builtin-c2c.c compute_stats(c2c_he, &stats, sample->weight); weight 196 tools/perf/builtin-mem.c sample->weight, weight 221 tools/perf/builtin-mem.c sample->weight, weight 1865 tools/perf/builtin-script.c fprintf(fp, "%16" PRIu64, sample->weight); weight 69 tools/perf/tests/hists_link.c struct perf_sample sample = { .period = 1, .weight = 1, }; weight 129 tools/perf/tests/sample-parsing.c COMP(weight); weight 194 tools/perf/tests/sample-parsing.c .weight = 109, weight 641 tools/perf/util/data-convert-bt.c ret = value_set_u64(cw, event, "perf_weight", sample->weight); weight 125 tools/perf/util/event.h u64 weight; weight 2170 tools/perf/util/evsel.c data->weight = *array; weight 270 tools/perf/util/hist.c u64 weight) weight 274 tools/perf/util/hist.c he_stat->weight += weight; weight 286 tools/perf/util/hist.c dest->weight += src->weight; weight 574 tools/perf/util/hist.c u64 weight = entry->stat.weight; weight 593 tools/perf/util/hist.c he_stat__add_period(&he->stat, period, weight); weight 597 tools/perf/util/hist.c he_stat__add_period(he->stat_acc, period, weight); weight 704 tools/perf/util/hist.c .weight = sample->weight, weight 803 tools/perf/util/hist.c cost = sample->weight; weight 916 tools/perf/util/hist.c sample->weight = bi->flags.cycles ? bi->flags.cycles : 1; weight 1803 tools/perf/util/intel-pt.c sample.weight = items->mem_access_latency; weight 1804 tools/perf/util/intel-pt.c if (!sample.weight && items->has_tsx_aux_info) { weight 1806 tools/perf/util/intel-pt.c sample.weight = (u32)items->tsx_aux_info; weight 760 tools/perf/util/scripting-engines/trace-event-python.c PyLong_FromUnsignedLongLong(sample->weight)); weight 1144 tools/perf/util/scripting-engines/trace-event-python.c tuple_set_u64(t, 16, es->sample->weight); weight 1250 tools/perf/util/session.c printf("... weight: %" PRIu64 "\n", sample->weight); weight 1299 tools/perf/util/sort.c return he->stat.nr_events ? he->stat.weight / he->stat.nr_events : 0; weight 1324 tools/perf/util/sort.c return left->stat.weight - right->stat.weight; weight 1330 tools/perf/util/sort.c return repsep_snprintf(bf, size, "%-*llu", width, he->stat.weight); weight 50 tools/perf/util/sort.h u64 weight; weight 1369 tools/perf/util/synthetic-events.c *array = sample->weight;