Searched refs:weight (Results 126 - 150 of 259) sorted by relevance

1234567891011

/linux-master/arch/powerpc/perf/
H A Disa207-common.h289 void isa207_get_mem_weight(u64 *weight, u64 type);
/linux-master/arch/s390/include/uapi/asm/
H A Dzcrypt.h190 * @weight: Level of request priority
200 __u64 weight; member in struct:ep11_urb
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_pci.c100 plat->tx_queues_cfg[i].weight = 25;
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_sched.h95 int ice_sched_set_node_weight(struct ice_port_info *pi, struct ice_sched_node *node, u16 weight);
/linux-master/kernel/sched/
H A Dpelt.c206 * running is a subset of runnable (weight) so running can't be set if
209 * This means that weight will be 0 but not running for a sched_entity
273 * se_weight() = se->load.weight
277 * se_weight() = tg->weight * grq->load_avg / tg->load_avg
323 scale_load_down(cfs_rq->load.weight),
/linux-master/arch/x86/events/
H A Dperf_event.h58 int weight; member in struct:event_constraint
357 .weight = (w), \
383 * higher weight, e.g.:
545 * We define the end marker as having a weight of -1
547 * of zero and thus a weight of zero.
548 * The end marker has a weight that cannot possibly be
551 #define EVENT_CONSTRAINT_END { .weight = -1 }
554 * Check for end marker with weight == -1
557 for ((e) = (c); (e)->weight != -1; (e)++)
H A Dcore.c785 int weight; member in struct:sched_state
821 if (constraints[idx]->weight == wmin)
825 sched->state.event = idx; /* start with min weight */
826 sched->state.weight = wmin;
928 * Take events with the least weight first. Return true on success.
941 /* next weight */
943 sched->state.weight++;
944 if (sched->state.weight > sched->max_weight)
948 } while (c->weight != sched->state.weight);
[all...]
/linux-master/tools/perf/util/
H A Dsort.h111 u64 weight; member in struct:hist_entry
/linux-master/include/linux/
H A Dstmmac.h142 u32 weight; member in struct:stmmac_txq_cfg
H A Dthermal.h26 /* Default weight of a bound cooling device */
57 THERMAL_INSTANCE_WEIGHT_CHANGED, /* Thermal instance weight changed */
348 unsigned int weight);
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1255 props->weight = 20;
1257 props->weight = iolink->weight_xgmi;
1259 props->weight = node_distance(id_from, id_to);
2097 int mem_bw = 819200, weight = ext_cpu ? KFD_CRAT_XGMI_WEIGHT : local
2109 sub_type_hdr->weight_xgmi = weight;
2172 int weight = is_single_hop ? KFD_CRAT_INTRA_SOCKET_WEIGHT : local
2176 sub_type_hdr->weight_xgmi = weight;
H A Dkfd_topology.c285 sysfs_show_32bit_prop(buffer, offs, "weight", iolink->weight);
1378 props->weight = gpu_link->weight + cpu_link->weight;
1445 props->weight = iolink1->weight + iolink2->weight;
1459 props->weight += iolink3->weight;
[all...]
/linux-master/drivers/thermal/
H A Dthermal_core.c635 * @weight: The weight of the cooling device to be bound to the
649 unsigned int weight)
693 dev->weight = weight;
764 unsigned int weight)
770 upper, lower, weight);
645 thermal_bind_cdev_to_trip(struct thermal_zone_device *tz, const struct thermal_trip *trip, struct thermal_cooling_device *cdev, unsigned long upper, unsigned long lower, unsigned int weight) argument
760 thermal_zone_bind_cooling_device(struct thermal_zone_device *tz, int trip_index, struct thermal_cooling_device *cdev, unsigned long upper, unsigned long lower, unsigned int weight) argument
/linux-master/fs/f2fs/
H A Dextent_cache.c801 unsigned int weight = sbi->last_age_weight; local
803 res = div_u64_rem(new, 100, &rem_new) * (100 - weight)
804 + div_u64_rem(old, 100, &rem_old) * weight;
807 res += rem_new * (100 - weight) / 100;
809 res += rem_old * weight / 100;
/linux-master/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c1645 int *weight)
1647 if (*best_weight < ++(*weight)) {
1648 *best_weight = *weight;
1658 int weight, best_weight; local
1687 weight = 0;
1695 &best_weight, &weight);
1701 &best_weight, &weight);
1708 &best_weight, &weight);
1720 &best_weight, &weight);
1642 update_best(struct gelic_wl_scan_info **best, struct gelic_wl_scan_info *candid, int *best_weight, int *weight) argument
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c681 dev_err(&hdev->pdev->dev, "failed to get tc weight, ret = %d\n",
741 u8 pg_id, sch_mode, weight, pri_bit_map, i, j; local
764 ret = hclge_tm_get_pg_weight(hdev, pg_id, &weight);
787 sprintf(result[j++], "%3u", weight);
987 u8 pri_num, sch_mode, weight, i, j; local
1012 ret = hclge_tm_get_pri_weight(hdev, i, &weight);
1034 sprintf(result[j++], "%3u", weight);
1067 u8 priority, link_vld, sch_mode, weight; local
1094 ret = hclge_tm_get_qset_weight(hdev, i, &weight);
1110 sprintf(result[j++], "%3u", weight);
[all...]
/linux-master/net/netfilter/ipvs/
H A Dip_vs_ctl.c981 /* keep the last_weight with latest non-0 weight */
982 if (add || udest->weight != 0)
983 atomic_set(&dest->last_weight, udest->weight);
985 /* set the weight and the flags */
986 atomic_set(&dest->weight, udest->weight);
1134 if (udest->weight < 0) {
1135 pr_err("%s(): server weight less than zero\n", __func__);
1204 if (udest->weight < 0) {
1205 pr_err("%s(): server weight les
[all...]
/linux-master/drivers/input/mouse/
H A Delantech.c707 int weight, delta_x1 = 0, delta_y1 = 0, delta_x2 = 0, delta_y2 = 0; local
715 weight = (packet[0] & 0x10) ? ETP_WEIGHT_VALUE : 1;
726 etd->mt[id].x += delta_x1 * weight;
727 etd->mt[id].y -= delta_y1 * weight;
733 etd->mt[sid].x += delta_x2 * weight;
734 etd->mt[sid].y -= delta_y2 * weight;
/linux-master/drivers/net/ethernet/broadcom/
H A Dbgmac.c413 int weight)
494 if (handled >= weight) /* Should never be greater */
1148 static int bgmac_poll(struct napi_struct *napi, int weight) argument
1157 handled += bgmac_dma_rx_read(bgmac, &bgmac->rx_ring[0], weight);
1161 return weight;
1163 if (handled < weight) {
412 bgmac_dma_rx_read(struct bgmac *bgmac, struct bgmac_dma_ring *ring, int weight) argument
/linux-master/drivers/thunderbolt/
H A Dtunnel.c270 path->weight = TB_PCI_WEIGHT;
1239 path->weight = TB_DP_AUX_WEIGHT;
1286 path->weight = TB_DP_VIDEO_WEIGHT;
1563 path->weight = TB_DMA_WEIGHT;
1597 path->weight = TB_DMA_WEIGHT;
1939 path->weight = TB_USB3_WEIGHT;
/linux-master/drivers/net/
H A Dvirtio_net.c53 * at once, the weight is chosen so that the EWMA will be insensitive to short-
535 if (napi->weight)
861 bool use_napi = sq->napi.weight;
2069 if (!napi->weight)
2076 napi->weight = 0;
2085 if (napi->weight)
2168 if (!sq->napi.weight || is_xdp_raw_buffer_queue(vi, index))
2410 bool use_napi = sq->napi.weight;
3614 static int virtnet_should_update_vq_weight(int dev_flags, int weight, argument
3617 if (weight
[all...]
/linux-master/net/ipv4/
H A Dnexthop.c154 info->nh_grp->nh_entries[i].weight = nhge->weight;
892 p->weight = nhg->nh_entries[i].weight - 1;
1286 if (nhg[i].weight > 254) {
1287 NL_SET_ERR_MSG(extack, "Invalid value for weight");
1890 total += nhg->nh_entries[i].weight;
1896 w += nhge->weight;
1969 total += nhg->nh_entries[i].weight;
1975 w += nhge->weight;
[all...]
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_llh.h713 /* set tx packet scheduler descriptor tc weight */
716 const u32 weight);
727 /* set tx packet scheduler tc data weight */
730 const u32 weight);
/linux-master/drivers/crypto/marvell/cesa/
H A Dcesa.h737 static inline struct mv_cesa_engine *mv_cesa_select_engine(int weight) argument
753 atomic_add(weight, &selected->load);
/linux-master/tools/perf/scripts/python/
H A Dexport-to-postgresql.py422 'weight bigint,'
1031 def sample_table(sample_id, evsel_id, machine_id, thread_id, comm_id, dso_id, symbol_id, sym_offset, ip, time, cpu, to_dso_id, to_symbol_id, to_sym_offset, to_ip, period, weight, transaction, data_src, branch_type, in_tx, call_path_id, insn_cnt, cyc_cnt, flags, *x):
1035 value = struct.pack("!hiqiqiqiqiqiqiqiqiqiqiiiqiqiqiqiqiqiqiqiiiBiqiqiqii", 25, 8, sample_id, 8, evsel_id, 8, machine_id, 8, thread_id, 8, comm_id, 8, dso_id, 8, symbol_id, 8, sym_offset, 8, ip, 8, time, 4, cpu, 8, to_dso_id, 8, to_symbol_id, 8, to_sym_offset, 8, to_ip, 8, period, 8, weight, 8, transaction, 8, data_src, 4, branch_type, 1, in_tx, 8, call_path_id, 8, insn_cnt, 8, cyc_cnt, 4, flags)

Completed in 261 milliseconds

1234567891011