/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | metaslab_impl.h | 85 * The metaslab weight is used to encode the amount of free space in a 87 * metaslabs by weight. The weight (and therefore the "best" metaslab) can 89 * the free space in the metaslab (a space based weight) or by counting only 90 * the free segments of the largest size (a segment based weight). We prefer 91 * the segment based weight because it reflects how the free space is 95 * the segment weight by looking at each bucket in the histogram and 101 * Space-based weight: 112 * Segment-based weight: 124 #define WEIGHT_GET_ACTIVE(weight) BF64_GE [all...] |
/freebsd-current/usr.sbin/pkg/ |
H A D | dns_utils.h | 36 unsigned int weight; member in struct:dns_srvinfo
|
H A D | dns_utils.c | 90 totalweight += d[i]->weight; 99 chosen[i] = arc4random_uniform(d[i]->weight * 100 / 123 unsigned int type, class, ttl, priority, weight, port; local 170 NS_GET16(weight, p); 192 res[n]->weight = weight;
|
/freebsd-current/contrib/llvm-project/lld/COFF/ |
H A D | CallGraphSort.cpp | 30 uint64_t weight; member in struct:__anon1323::Edge 39 return double(weight) / double(size); 45 uint64_t weight = 0; member in struct:__anon1323::Cluster 93 uint64_t weight = c.second; local 107 clusters[to].weight += weight; 114 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { 116 toC.bestPred.weight = weight; [all...] |
/freebsd-current/contrib/llvm-project/lld/ELF/ |
H A D | CallGraphSort.cpp | 42 uint64_t weight; member in struct:__anon1310::Edge 51 return double(weight) / double(size); 57 uint64_t weight = 0; member in struct:__anon1310::Cluster 70 /// the weight of the cluster is the sum of the weight of all incoming 77 /// * The weight of the cluster divided by the size of the cluster. This is a 82 /// * Sort input sections by weight 83 /// * For each input section starting with the highest weight 131 uint64_t weight = c.second; local 145 clusters[to].weight 304 uint64_t weight = c.second; local [all...] |
/freebsd-current/contrib/bzip2/ |
H A D | huffman.c | 37 while (weight[tmp] < weight[heap[zz >> 1]]) { \ 52 weight[heap[yy+1]] < weight[heap[yy]]) \ 54 if (weight[tmp] < weight[heap[yy]]) break; \ 76 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; local 80 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8; 88 weight[0] = 0; 105 weight[nNode [all...] |
/freebsd-current/contrib/wpa/src/ap/ |
H A D | airtime_policy.c | 98 unsigned int weight) 102 if (weight != sta->airtime_weight && 103 (ret = hostapd_sta_set_airtime_weight(hapd, sta->addr, weight))) 106 sta->airtime_weight = weight; 111 static void set_sta_weights(struct hostapd_data *hapd, unsigned int weight) argument 116 sta_set_airtime_weight(hapd, sta, weight); 178 /* If we're in LIMIT mode, we only apply the weight 197 /* We only set the calculated weight if the BSS has active 199 * otherwise we just set a unit weight. This ensures that 238 return wt ? wt->weight 96 sta_set_airtime_weight(struct hostapd_data *hapd, struct sta_info *sta, unsigned int weight) argument 244 unsigned int weight; local [all...] |
/freebsd-current/contrib/llvm-project/lld/MachO/ |
H A D | SectionPriorities.cpp | 45 uint64_t weight; member in struct:__anon1377::Edge 54 return double(weight) / double(size); 60 uint64_t weight = 0; member in struct:__anon1377::Cluster 98 uint64_t weight = c.second; local 111 clusters[to].weight += weight; 118 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { 120 toC.bestPred.weight = weight; [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_suppressions.h | 26 uptr weight; member in struct:__sanitizer::Suppression
|
/freebsd-current/sys/netlink/route/ |
H A D | nexthop.h | 87 uint8_t weight; /* weight of this nexthop */ member in struct:nexthop_grp
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_hsi_init_func.h | 61 u8 use_wfq /* if set, this TC participates in the arbitration with a WFQ weight (indicated by the weight field) */; 62 u16 weight /* An arbitration weight. Valid only if use_wfq is set. */; member in struct:init_ets_tc_req 131 u16 vport_wfq /* WFQ weight. A value of 0 means dont configure. ignored if VPORT WFQ is globally disabled. */;
|
/freebsd-current/tests/sys/net/routing/ |
H A D | test_rtsock_multipath.py | 92 # GW format: <+-~>GW[=weight] 95 weight = int(arr[1]) 98 weight = None 102 desired_map[gw] = self.rtsock.get_weight(weight) 108 desired_map[gw] = self.rtsock.get_weight(weight) 111 if weight: 113 msg.rtm_rmx.rmx_weight = weight 126 assert msg_in.rtm_rmx.rmx_weight == self.rtsock.get_weight(weight) 129 derived_map = {r["gateway"]: r["weight"] for r in routes} 219 derived_map = {r["gateway"]: r["weight"] fo [all...] |
/freebsd-current/sys/net/altq/ |
H A D | altq_red.c | 135 #define W_WEIGHT 512 /* inverse of weight of EWMA (511/512) */ 139 #define W_WEIGHT_1 128 /* inverse of weight of EWMA (127/128) */ 143 #define W_WEIGHT_2 64 /* inverse of weight of EWMA (63/64) */ 173 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, argument 184 if (weight == 0) 187 rp->red_weight = weight; 189 /* allocate weight table */ 220 if (weight == 0) { 232 /* calculate wshift. weight must be power of 2 */ 239 printf("invalid weight valu 551 wtab_alloc(int weight) argument [all...] |
H A D | altq_rio.c | 126 #define W_WEIGHT 512 /* inverse of weight of EWMA (511/512) */ 130 #define W_WEIGHT_1 128 /* inverse of weight of EWMA (127/128) */ 134 #define W_WEIGHT_2 64 /* inverse of weight of EWMA (63/64) */ 179 rio_alloc(int weight, struct redparams *params, int flags, int pkttime) argument 196 if (weight != 0) 197 rp->rio_weight = weight; 213 /* calculate wshift. weight must be power of 2 */ 220 printf("invalid weight value %d for red! use %d\n", 225 /* allocate weight table */
|
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegAllocEvictionAdvisor.cpp | 158 if (A.weight() > B.weight()) { 159 LLVM_DEBUG(dbgs() << "should evict: " << B << " w= " << B.weight() << '\n'); 226 // register for it. This is indicated by an infinite spill weight. These 253 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight()); 291 BestCost.MaxWeight = VirtReg.weight();
|
H A D | RegAllocBasic.cpp | 46 return A->weight() < B->weight(); 53 /// algorithm. It prioritizes live virtual registers by spill weight and spills 219 if (!Intf->isSpillable() || Intf->weight() > VirtReg.weight()) 286 // Try to spill another interfering reg with less spill weight.
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegColoring.cpp | 64 // Compute the total spill weight for VReg. 261 assert(LI->weight() == 0.0f); 269 // registers), by weight next, and then by position. 275 if (LHS->weight() != RHS->weight()) 276 return LHS->weight() > RHS->weight();
|
/freebsd-current/sys/contrib/dev/rtw89/ |
H A D | chan.c | 197 u8 weight; local 199 weight = bitmap_weight(hal->entity_map, NUM_OF_RTW89_SUB_ENTITY); 200 switch (weight) { 202 rtw89_warn(rtwdev, "unknown ent chan weight: %d\n", weight);
|
/freebsd-current/sys/net/route/ |
H A D | nhgrp_ctl.c | 114 * In order to determine the minimum weight difference in the array 123 wn[0].storage = wn[0].weight; 125 uint32_t weight = wn[i].weight; // read from 'weight' as it's not reordered local 126 /* Move all weights > weight 1 position right */ 127 for (j = i - 1; j >= 0 && wn[j].storage > weight; j--) 129 wn[j + 1].storage = weight; 137 * Assumes @wn is sorted by weight ascending and each weight i [all...] |
H A D | route_helpers.c | 266 rc->rc_nh_weight = wn_src->weight; 272 wn_src->weight); 282 rc->rc_nh_weight = wn_src->weight; 288 wn_src->weight); 309 tmp.weight = rc->rc_nh_weight; 317 tmp.weight = rc->rc_nh_weight; 346 if (wn_old[idx_old].weight != wn_new[idx_new].weight) { 347 /* Update weight by providing del/add notifications */
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | metaslab.c | 329 * worse weight but it can actually satisfy the allocation, we won't find it 331 * (and the true weight is better than we have calculated), or due to weight 336 * bucket, and therefore a lower weight). 345 static void metaslab_passivate(metaslab_t *msp, uint64_t weight); 1150 metaslab_group_sort_impl(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument 1157 msp->ms_weight = weight; 1163 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument 1166 * Although in principle the weight can be any value, in 1169 ASSERT(weight > 2175 uint64_t weight = msp->ms_weight; local 2481 uint64_t weight = msp->ms_weight; local 3024 uint64_t weight, space; local 3094 uint64_t weight = 0; local 3158 uint64_t weight = 0; local 3183 uint64_t weight = 0; local 3291 uint64_t weight; local 3459 metaslab_passivate_allocator(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument 3491 metaslab_passivate(metaslab_t *msp, uint64_t weight) argument 5062 uint64_t weight; local [all...] |
/freebsd-current/crypto/openssl/util/ |
H A D | mkdef.pl | 214 my %weight = ( 223 my $verdict = $weight{$item1->type()} <=> $weight{$item2->type()};
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | resolve.h | 134 unsigned weight; member in struct:rk_srv_record
|
/freebsd-current/contrib/ofed/infiniband-diags/src/ |
H A D | saquery.c | 697 e[i + 0].weight, e[i + 1].weight, e[i + 2].weight, 698 e[i + 3].weight, e[i + 4].weight, e[i + 5].weight, 699 e[i + 6].weight, e[i + 7].weight, e[i + 8].weight, 700 e[i + 9].weight, [all...] |
/freebsd-current/sys/contrib/alpine-hal/ |
H A D | al_hal_udma_config.h | 226 uint8_t weight; member in struct:al_udma_m2s_dwrr_conf 263 uint8_t weight; member in struct:al_udma_m2s_q_dwrr_conf
|