HomeSort by: relevance | last modified time | path
    Searched defs:weight (Results 1 - 20 of 20) sorted by relevancy

  /src/usr.sbin/altq/libaltq/
qop_rio.h 34 int weight; /* weight for EWMA */ member in struct:rio_ifinfo
41 int qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight,
47 u_int bandwidth, int weight, struct redparams *red_params,
qop_red.h 33 int weight; /* weight for EWMA */ member in struct:red_ifinfo
43 int qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight,
47 u_int bandwidth, int weight, int inv_pmax, int th_min,
qop_red.c 88 int weight = 0; /* 0: use default */ local in function:red_interface_parser
113 } else if (EQUAL(*argv, "weight")) {
116 weight = (int)strtol(*argv, NULL, 0);
150 if (weight != 0) {
151 /* check if weight is power of 2 */
154 w = weight;
158 if (weight != w) {
159 LOG(LOG_ERR, 0, "weight %d: should be power of 2",
160 weight);
165 if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax
    [all...]
qop_rio.c 89 int weight = 0; /* 0: use default */ local in function:rio_interface_parser
120 } else if (EQUAL(*argv, "weight")) {
123 weight = (int)strtol(*argv, NULL, 0);
179 if (weight != 0) {
180 /* check if weight is power of 2 */
183 w = weight;
187 if (weight != w) {
188 LOG(LOG_ERR, 0, "weight %d: should be power of 2",
189 weight);
194 if (qcmd_rio_add_if(ifname, bandwidth, weight,
    [all...]
  /src/games/hack/
hack.mkobj.c 188 otmp->owt = weight(otmp);
199 weight(struct obj *obj) function in typeref:typename:int
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_suppressions.h 27 uptr weight; member in struct:__sanitizer::Suppression
  /src/sys/external/bsd/drm2/include/linux/
bitmap.h 89 int weight = 0; local in function:bitmap_weight
92 weight += popcountl(*bitmap++);
94 weight += popcountl(*bitmap & ~(~0UL << nbits));
96 return weight;
  /src/games/gomoku/
makemove.c 48 static const int weight[5] = { 0, 1, 7, 22, 100 }; variable in typeref:typename:const int[5]
84 val += weight[5 - cb.cv_force - cb.cv_win];
86 val += weight[5 - cb.cv_force - cb.cv_win];
174 val = weight[n];
  /src/sys/altq/
altq_rio.h 53 int weight; member in struct:rio_stats
61 int rio_weight; /* weight for EWMA */
112 int rio_weight; /* weight for EWMA */
113 struct wtab *rio_wtab; /* weight table */
altq_wfq.h 57 int weight; member in struct:wfq_setweight
62 int weight; /* weight in percent */ member in struct:each_queue_stats
98 #define WFQ_ADDQUOTA(q) ((q)->quota += WFQ_QUOTA * (q)->weight / 100)
107 int weight; /* weight in percent */ member in struct:weighted_fair_queue
altq_red.h 53 int weight; member in struct:red_stats
68 int red_weight; /* weight for EWMA */
122 /* weight table structure for idle time calibration */
137 int red_weight; /* weight for EWMA */
153 struct wtab *red_wtab; /* weight table */
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
vgpu.c 89 /* A vGPU with a weight of 8 will get twice as much GPU as a vGPU
90 * with a weight of 4 on a contended host, different vGPU type has
91 * different weight set. Legal weights range from 1 to 16.
93 unsigned int weight; member in struct:__anon633d9a580108
147 if (vgpu_types[i].weight < 1 ||
148 vgpu_types[i].weight > VGPU_MAX_WEIGHT)
151 gvt->types[i].weight = vgpu_types[i].weight;
163 gvt_dbg_core("type[%d]: %s avail %u low %u high %u fence %u weight %u res %s\n",
168 gvt->types[i].weight,
    [all...]
gvt.h 136 int weight; member in struct:vgpu_sched_ctl
299 unsigned int weight; member in struct:intel_vgpu_type
435 __u32 weight; member in struct:intel_vgpu_creation_params
  /src/lib/libc/nameser/
ns_print.c 391 u_int priority, weight, port; local in function:ns_sprintrrf
397 /* Priority, Weight, Port. */
399 weight = ns_get16(rdata); rdata += NS_INT16SZ;
401 len = SPRINTF((t, "%u %u %u ", priority, weight, port));
649 /* Priority, Weight, Port. */
  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_topology.h 143 uint32_t weight; member in struct:kfd_iolink_properties
  /src/usr.sbin/makemandb/
apropos-utils.c 465 * Weight of term t for document d = (term frequency of t in d *
514 double weight = col_weights[icol - 1]; local in function:rank_func
517 log(((double)ndoc / ndocshitcount))* weight;
524 tf += (((double)nhitcount * weight)
531 * Final score: Dividing by k + tf further normalizes the weight
  /src/sys/net80211/
ieee80211_node.c 600 int weight; local in function:ieee80211_node_compare
611 weight = b->ni_fails - a->ni_fails;
612 if (abs(weight) > 1)
613 return weight;
  /src/lib/libc/net/
getaddrinfo.c 233 int port, pri, weight; member in struct:srvinfo
1719 int port, pri, weight; local in function:getanswer
1887 weight = _getshort(cp);
1909 srv->weight = weight;
1911 /* Weight 0 is sorted before other weights. */
1915 (!srv->weight || srvlist->weight))) {
1923 && (!srv->weight ||
1924 csrv->next->weight))
    [all...]
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/
domctl.h 321 uint16_t weight; member in struct:xen_domctl_sched_credit
326 uint16_t weight; member in struct:xen_domctl_sched_credit2
sysctl.h 781 uint32_t weight; member in struct:xen_tmem_client

Completed in 40 milliseconds