/src/usr.sbin/altq/libaltq/ |
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_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.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/sys/altq/ |
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_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.c | 158 queue->weight = 100; 424 if ((byte = queue->bytes * 100 / queue->weight) > max_byte) { 520 if (swp->weight < 0) 530 old = queue->weight; 531 queue->weight = swp->weight; 532 swp->weight = old; 554 stats->weight = queue->weight; 593 queue->weight = 100 [all...] |
altq_red.c | 149 #define W_WEIGHT 512 /* inverse of weight of EWMA (511/512) */ 153 #define W_WEIGHT_1 128 /* inverse of weight of EWMA (127/128) */ 157 #define W_WEIGHT_2 64 /* inverse of weight of EWMA (63/64) */ 231 red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, 245 if (weight == 0) 248 rp->red_weight = weight; 270 if (weight == 0) { 282 /* calculate wshift. weight must be power of 2 */ 289 printf("invalid weight value %d for red! use %d\n", 308 /* allocate weight table * [all...] |
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 */
|
altq_rio.c | 137 #define W_WEIGHT 512 /* inverse of weight of EWMA (511/512) */ 141 #define W_WEIGHT_1 128 /* inverse of weight of EWMA (127/128) */ 145 #define W_WEIGHT_2 64 /* inverse of weight of EWMA (63/64) */ 206 rio_alloc(int weight, struct redparams *params, int flags, int pkttime) 223 if (weight != 0) 224 rp->rio_weight = weight; 240 /* calculate wshift. weight must be power of 2 */ 247 printf("invalid weight value %d for red! use %d\n", 252 /* allocate weight table */ 368 /* run estimator. (avg is scaled by WEIGHT in fixed-point) * [all...] |
/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/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...] |
sched_policy.c | 114 total_weight += vgpu_data->sched_ctl.weight; 120 total_weight) * vgpu_data->sched_ctl.weight; 324 data->sched_ctl.weight = vgpu->sched_ctl.weight;
|
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/games/hack/ |
hack.mkobj.c | 188 otmp->owt = weight(otmp); 199 weight(struct obj *obj) function in typeref:typename:int
|
def.objects.h | 77 #define FOOD(name,prob,delay,weight,nutrition) { name, NULL, NULL, 1, 1,\ 78 FOOD_SYM, prob, delay, weight, 0, 0, nutrition }
|
hack.do.c | 538 obj->owt = weight(obj); 540 otmp->owt = weight(otmp); /* -= obj->owt ? */
|
/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/usr.sbin/altq/altqstat/ |
qdisc_red.c | 74 printf(" weight:%d inv_pmax:%d qthresh:(%d,%d)\n", 75 red_stats.weight, red_stats.inv_pmax,
|
qdisc_rio.c | 76 printf("weight:%d q_limit:%d\n", 77 rio_stats.weight, rio_stats.q_limit);
|
qdisc_wfq.c | 144 printf("[QID] WEIGHT QSIZE(KB) SENT(pkts) (KB) DROP(pkts) (KB) bps\n\r"); 150 top[j]->stats.weight,
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
kfd_topology.h | 143 uint32_t weight; member in struct:kfd_iolink_properties
|
/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
|