Home
last modified time | relevance | path

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

12345678910>>...17

/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_twos.c50 int overhead2, total_weight = 0, weight; in ip_vs_twos_schedule() local
57 weight = atomic_read(&dest->weight); in ip_vs_twos_schedule()
58 if (weight > 0) { in ip_vs_twos_schedule()
59 total_weight += weight; in ip_vs_twos_schedule()
82 weight = atomic_read(&dest->weight); in ip_vs_twos_schedule()
83 if (weight <= 0) in ip_vs_twos_schedule()
86 rweight1 -= weight; in ip_vs_twos_schedule()
87 rweight2 -= weight; in ip_vs_twos_schedule()
91 weight1 = weight; in ip_vs_twos_schedule()
97 weight2 = weight; in ip_vs_twos_schedule()
[all …]
H A Dip_vs_wrr.c72 int weight; in ip_vs_wrr_gcd_weight() local
76 weight = atomic_read(&dest->weight); in ip_vs_wrr_gcd_weight()
77 if (weight > 0) { in ip_vs_wrr_gcd_weight()
79 g = gcd(weight, g); in ip_vs_wrr_gcd_weight()
81 g = weight; in ip_vs_wrr_gcd_weight()
94 int new_weight, weight = 0; in ip_vs_wrr_max_weight() local
97 new_weight = atomic_read(&dest->weight); in ip_vs_wrr_max_weight()
98 if (new_weight > weight) in ip_vs_wrr_max_weight()
99 weight = new_weight; in ip_vs_wrr_max_weight()
102 return weight; in ip_vs_wrr_max_weight()
[all …]
H A Dip_vs_nq.c77 !atomic_read(&dest->weight)) in ip_vs_nq_schedule()
90 ((__s64)loh * atomic_read(&dest->weight) > in ip_vs_nq_schedule()
91 (__s64)doh * atomic_read(&least->weight))) { in ip_vs_nq_schedule()
109 atomic_read(&least->weight), loh); in ip_vs_nq_schedule()
H A Dip_vs_wlc.c52 atomic_read(&dest->weight) > 0) { in ip_vs_wlc_schedule()
69 if ((__s64)loh * atomic_read(&dest->weight) > in ip_vs_wlc_schedule()
70 (__s64)doh * atomic_read(&least->weight)) { in ip_vs_wlc_schedule()
82 atomic_read(&least->weight), loh); in ip_vs_wlc_schedule()
H A Dip_vs_sed.c80 atomic_read(&dest->weight) > 0) { in ip_vs_sed_schedule()
97 if ((__s64)loh * atomic_read(&dest->weight) > in ip_vs_sed_schedule()
98 (__s64)doh * atomic_read(&least->weight)) { in ip_vs_sed_schedule()
110 atomic_read(&least->weight), loh); in ip_vs_sed_schedule()
H A Dip_vs_lblcr.c173 if ((atomic_read(&least->weight) > 0) in ip_vs_dest_set_min()
189 if (((__s64)loh * atomic_read(&dest->weight) > in ip_vs_dest_set_min()
190 (__s64)doh * atomic_read(&least->weight)) in ip_vs_dest_set_min()
204 atomic_read(&least->weight), loh); in ip_vs_dest_set_min()
222 if (atomic_read(&most->weight) > 0) { in ip_vs_dest_set_max()
236 (__s64)doh * atomic_read(&most->weight)) in ip_vs_dest_set_max()
237 && (atomic_read(&dest->weight) > 0)) { in ip_vs_dest_set_max()
249 atomic_read(&most->weight), moh); in ip_vs_dest_set_max()
584 if (atomic_read(&dest->weight) > 0) { in __ip_vs_lblcr_schedule()
614 atomic_read(&least->weight), loh); in __ip_vs_lblcr_schedule()
[all …]
H A Dip_vs_mh.c83 return atomic_read(&dest->weight) <= 0 || in is_unavailable()
325 int weight; in ip_vs_mh_gcd_weight() local
329 weight = atomic_read(&dest->last_weight); in ip_vs_mh_gcd_weight()
330 if (weight > 0) { in ip_vs_mh_gcd_weight()
332 g = gcd(weight, g); in ip_vs_mh_gcd_weight()
334 g = weight; in ip_vs_mh_gcd_weight()
346 int new_weight, weight = 0; in ip_vs_mh_shift_weight() local
358 if (new_weight > weight) in ip_vs_mh_shift_weight()
359 weight = new_weight; in ip_vs_mh_shift_weight()
365 mw = weight / gcd; in ip_vs_mh_shift_weight()
H A Dip_vs_fo.c34 atomic_read(&dest->weight) > hw) { in ip_vs_fo_schedule()
36 hw = atomic_read(&dest->weight); in ip_vs_fo_schedule()
45 atomic_read(&hweight->weight)); in ip_vs_fo_schedule()
/openbmc/linux/tools/perf/arch/powerpc/util/
H A Devent.c17 union perf_sample_weight weight; in arch_perf_parse_sample_weight() local
19 weight.full = *array; in arch_perf_parse_sample_weight()
21 data->weight = weight.full; in arch_perf_parse_sample_weight()
23 data->weight = weight.var1_dw; in arch_perf_parse_sample_weight()
24 data->ins_lat = weight.var2_w; in arch_perf_parse_sample_weight()
25 data->p_stage_cyc = weight.var3_w; in arch_perf_parse_sample_weight()
32 *array = data->weight; in arch_perf_synthesize_sample_weight()
/openbmc/webui-vue/src/assets/styles/bmc/custom/
H A D_base.scss6 font-weight: 400;
13 font-weight: 300;
20 font-weight: 300;
27 font-weight: 400;
34 font-weight: 400;
41 font-weight: 500;
48 font-weight: 500;
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_huffman.c78 while (weight[tmp] < weight[heap[zz >> 1]]) { \
93 weight[heap[yy+1]] < weight[heap[yy]]) \
95 if (weight[tmp] < weight[heap[yy]]) break; \
117 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; in BZ2_hbMakeCodeLengths() local
121 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8; in BZ2_hbMakeCodeLengths()
129 weight[0] = 0; in BZ2_hbMakeCodeLengths()
146 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]); in BZ2_hbMakeCodeLengths()
167 j = weight[i] >> 8; in BZ2_hbMakeCodeLengths()
169 weight[i] = j << 8; in BZ2_hbMakeCodeLengths()
/openbmc/linux/tools/perf/arch/x86/util/
H A Devent.c85 union perf_sample_weight weight; in arch_perf_parse_sample_weight() local
87 weight.full = *array; in arch_perf_parse_sample_weight()
89 data->weight = weight.full; in arch_perf_parse_sample_weight()
91 data->weight = weight.var1_dw; in arch_perf_parse_sample_weight()
92 data->ins_lat = weight.var2_w; in arch_perf_parse_sample_weight()
93 data->retire_lat = weight.var3_w; in arch_perf_parse_sample_weight()
100 *array = data->weight; in arch_perf_synthesize_sample_weight()
/openbmc/phosphor-webui/app/common/styles/base/
H A Dtypography.scss5 font-weight: bold;
26 font-weight: 500;
34 font-weight: bold;
40 font-weight: bold;
46 font-weight: bold;
52 font-weight: 500;
62 font-weight: 700;
/openbmc/linux/lib/
H A Dirq_poll.c88 int work, weight; in irq_poll_softirq() local
107 weight = iop->weight; in irq_poll_softirq()
110 work = iop->poll(iop, weight); in irq_poll_softirq()
124 if (work >= weight) { in irq_poll_softirq()
179 void irq_poll_init(struct irq_poll *iop, int weight, irq_poll_fn *poll_fn) in irq_poll_init() argument
183 iop->weight = weight; in irq_poll_init()
/openbmc/linux/drivers/net/can/dev/
H A Drx-offload.c354 unsigned int weight) in can_rx_offload_init_queue() argument
359 offload->skb_queue_len_max = 2 << fls(weight); in can_rx_offload_init_queue()
365 weight); in can_rx_offload_init_queue()
376 unsigned int weight; in can_rx_offload_add_timestamp() local
384 weight = offload->mb_last - offload->mb_first; in can_rx_offload_add_timestamp()
387 weight = offload->mb_first - offload->mb_last; in can_rx_offload_add_timestamp()
390 return can_rx_offload_init_queue(dev, offload, weight); in can_rx_offload_add_timestamp()
395 struct can_rx_offload *offload, unsigned int weight) in can_rx_offload_add_fifo() argument
400 return can_rx_offload_init_queue(dev, offload, weight); in can_rx_offload_add_fifo()
406 unsigned int weight) in can_rx_offload_add_manual() argument
[all …]
/openbmc/linux/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c45 unsigned int weight, unsigned int offset);
162 weight = clamp_val(weight, 0, 512); in jz4760_set_coefs()
171 weight = weight >= 256 ? 512 : 0; in jz4760_set_coefs()
173 w1 = weight; in jz4760_set_coefs()
174 w2 = 512 - weight; in jz4760_set_coefs()
186 weight = 512 - weight; in jz4760_set_coefs()
214 weight = clamp_val(weight, 0, 512); in jz4725b_set_coefs()
217 weight = weight >= 256 ? 512 : 0; in jz4725b_set_coefs()
245 true, weight, offset); in ingenic_ipu_set_downscale_coefs()
271 weight = 512 - 512 * weight_num / num; in ingenic_ipu_set_upscale_coefs()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.h15 u32 weight; in mtu_to_dwrr_weight() local
20 weight = mtu / pfvf->hw.dwrr_mtu; in mtu_to_dwrr_weight()
22 weight += 1; in mtu_to_dwrr_weight()
24 return weight; in mtu_to_dwrr_weight()
/openbmc/phosphor-webui/app/server-health/styles/
H A Dsensors.scss34 font-weight: 700;
74 font-weight: 700;
80 font-weight: 400;
105 font-weight: 300;
116 font-weight: 700;
133 font-weight: 700;
/openbmc/linux/kernel/events/
H A Dhw_breakpoint.c414 weight = -weight; in toggle_bp_slot()
425 info->cpu_pinned += weight; in toggle_bp_slot()
487 next_tsk_pinned, weight); in toggle_bp_slot()
511 next_tsk_pinned, weight); in toggle_bp_slot()
576 int weight; in __reserve_bp_slot() local
588 weight = hw_breakpoint_weight(bp); in __reserve_bp_slot()
591 max_pinned_slots = max_bp_pinned_slots(bp, type) + weight; in __reserve_bp_slot()
595 return toggle_bp_slot(bp, true, type, weight); in __reserve_bp_slot()
610 int weight; in __release_bp_slot() local
613 weight = hw_breakpoint_weight(bp); in __release_bp_slot()
[all …]
/openbmc/phosphor-webui/app/configuration/styles/
H A Dfirmware.scss2 font-weight: 300;
14 font-weight: 700;
38 font-weight: 700;
70 font-weight: 400;
106 font-weight: 700;
/openbmc/webui-vue/src/env/assets/styles/
H A D_ibm.scss4 font-weight: 200;
9 font-weight: 200;
15 font-weight: 400;
20 font-weight: 400;
26 font-weight: 700;
31 font-weight: 700;
/openbmc/openbmc/poky/bitbake/doc/sphinx-static/
H A Dtheme_overrides.css29 font-weight: normal;
37 font-weight: bold;
51 font-weight: bold;
58 font-weight: bold;
65 font-weight: bold;
72 font-weight: bold;
76 font-weight: bold;
/openbmc/openbmc/poky/documentation/sphinx-static/
H A Dtheme_overrides.css29 font-weight: normal;
37 font-weight: bold;
51 font-weight: bold;
58 font-weight: bold;
65 font-weight: bold;
72 font-weight: bold;
76 font-weight: bold;
/openbmc/phosphor-webui/app/common/styles/layout/
H A Dheader.scss45 font-weight: 400;
72 font-weight: 500;
83 font-weight: 700;
133 font-weight: 400;
138 font-weight: bold;
175 font-weight: 400;
209 font-weight: 400;
/openbmc/linux/net/dccp/ccids/lib/
H A Dtfrc.h49 static inline u32 tfrc_ewma(const u32 avg, const u32 newval, const u8 weight) in tfrc_ewma() argument
51 return avg ? (weight * avg + (10 - weight) * newval) / 10 : newval; in tfrc_ewma()

12345678910>>...17