Searched refs:hweight (Results 1 – 10 of 10) sorted by relevance
23 struct ip_vs_dest *dest, *hweight = NULL; in ip_vs_fo_schedule() 34 hweight = dest; in ip_vs_fo_schedule() 39 if (hweight) { in ip_vs_fo_schedule() 41 IP_VS_DBG_ADDR(hweight->af, &hweight->addr), in ip_vs_fo_schedule() 42 ntohs(hweight->port), in ip_vs_fo_schedule() 43 atomic_read(&hweight->activeconns), in ip_vs_fo_schedule() 44 atomic_read(&hweight->weight)); in ip_vs_fo_schedule() 45 return hweight; in ip_vs_fo_schedule() 24 struct ip_vs_dest *dest, *hweight = NULL; ip_vs_fo_schedule() local
216 cgc->hweight = FCG_HWEIGHT_ONE; in cgrp_refresh_hweight()236 cgc->hweight = in cgrp_refresh_hweight()237 div_round_up(pcgc->hweight * cgc->weight, in cgrp_refresh_hweight()267 max_budget = (cgrp_slice_ns * nr_cpus * cgc->hweight) / in cgrp_cap_budget()684 cgv_node->cvtime += cgrp_slice_ns * FCG_HWEIGHT_ONE / (cgc->hweight ?: 1); in try_pick_next_cgroup()772 FCG_HWEIGHT_ONE / (cgc->hweight ?: 1)); in BPF_STRUCT_OPS()856 cgc->hweight = FCG_HWEIGHT_ONE; in BPF_STRUCT_OPS_SLEEPABLE()
44 u32 hweight; member
19 tools/lib/hweight.c
827 int hweight = 0; in aq_filters_vlans_update() local839 hweight = bitmap_weight(aq_nic->active_vlans, VLAN_N_VID); in aq_filters_vlans_update()853 if (hweight <= AQ_VLAN_MAX_FILTERS && hweight > 0) { in aq_filters_vlans_update()
41 obj-y += msr.o msr-reg.o msr-reg-export.o hweight.o
10 LIBS := slab.o find_bit.o bitmap.o hweight.o vsprintf.o
45 perf-util-y += hweight.o409 $(OUTPUT)util/hweight.o: ../lib/hweight.c FORCE
138 obj-$(CONFIG_GENERIC_HWEIGHT) += hweight.o
4473 F: lib/hweight.c