Searched refs:total_weight (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/wpa/src/ap/
H A Dacs.c616 double total_weight; local
673 total_weight = 1;
689 total_weight += 1;
708 total_weight += ACS_ADJ_WEIGHT;
716 total_weight += ACS_NEXT_ADJ_WEIGHT;
724 total_weight += ACS_ADJ_WEIGHT;
732 total_weight += ACS_NEXT_ADJ_WEIGHT;
737 factor /= total_weight;
/freebsd-11-stable/sys/net/
H A Dradix_mpath.c212 uint32_t total_weight; local
221 total_weight = rn_mpath_count(rn0);
223 hash %= total_weight;
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-runtime.c1365 double total_weight; member in struct:tree_stats
1395 s->total_weight += (double) obj->liveness;
1439 if (! (s.obj_count > 0) && (s.live_obj_count > 0) && (s.total_weight > 0.0))
1475 s.obj_count, s.live_obj_count, s.total_size, s.total_weight, s.weighted_size,
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_torus.c9266 unsigned total_weight[IB_MAX_NUM_VLS])
9279 total_weight[vl] += v & 0xff;
9299 unsigned total_weight[IB_MAX_NUM_VLS] = {0,}; local
9301 sum_vlarb_weights(vlarb_str, total_weight);
9302 if (!(uniform_vlarb_weight_value(&total_weight[0], 4) >= 0 &&
9303 uniform_vlarb_weight_value(&total_weight[4], 4) >= 0))
9369 unsigned i, total_weight[IB_MAX_NUM_VLS] = {0,}; local
9372 sum_vlarb_weights(vlarb_str, total_weight);
9374 val += total_weight[i];
9265 sum_vlarb_weights(const char *vlarb_str, unsigned total_weight[IB_MAX_NUM_VLS]) argument

Completed in 109 milliseconds