Searched defs:weight (Results 1 - 25 of 37) sorted by relevance

12

/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_SetPathWeight.c32 MP_SetPathWeight(MP_OID pathOid, MP_UINT32 weight) argument
42 " - weight: %d",
43 weight);
/illumos-gate/usr/src/cmd/powertop/common/
H A Dsuggestions.c66 pt_sugg_add(char *text, int weight, char key, char *sb_msg, sugg_func_t *func) argument
89 new->weight = weight;
102 if (weight > n->weight && pos == NULL)
116 new->weight = weight;
207 * Chose a suggestion to display. The list of suggestions is ordered by weight,
H A Dpowertop.h147 int weight; member in struct:suggestion
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dvalidate.h59 unsigned short weight; member in struct:candidate
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Ddnssrv.c65 unsigned short priority, weight, port; local
119 SAFE_GETUINT16(base, rdlen, p, 2, weight, out);
133 * with the weight field
141 srv->weight = weight;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmallint.h102 * weight(x) is the size of a block, in bytes; or 0 if and only if x
108 #define weight(x) ((x) == NIL? 0: (x->size)) macro
/illumos-gate/usr/src/lib/libadutils/common/
H A Daddisc.h81 int weight; member in struct:ad_disc_ds
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dcollate.h80 struct _m_cord *cord; /* weight tables */
91 _m_weight_t cweight[COLL_WEIGHTS_MAX]; /* relative weight */
111 _m_weight_t weight[_M_COTOM_MAX]; member in struct:_m_cotom
/illumos-gate/usr/src/common/bzip2/
H A Dhuffman.c37 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...]
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dklookup.c55 int ttl, priority, weight, port, size; local
159 NS_GET16(weight, ansp);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dcnex.h50 int32_t weight; /* Interrupt weight for device class */ member in struct:cnex_intr_map
65 int32_t weight; /* intr weight */ member in struct:cnex_intr
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_intr.c464 int32_t weight; local
494 * don't add (or remove) device weight for pulsed interrupt
527 /* add weight to the cpu that we are already targeting */
529 weight = pci_class_to_intr_weight(rdip);
530 intr_dist_cpuid_add_device_weight(cpu_id, rdip, weight);
572 * Select cpu and compute weight, saving both for sharing and removal.
579 weight = pci_class_to_intr_weight(rdip);
580 intr_dist_cpuid_add_device_weight(cpu_id, rdip, weight);
647 * No weight was added by pci_add_intr for PCI_PULSE_INO
H A Dpci_ib.c325 * Redistribute interrupts of the specified weight. The first call has a weight
327 * redistribution. The inos with weight [weight_max, inf.) should be processed
328 * on the "weight == weight_max" call. This first call is followed by calls
329 * of decreasing weights, inos of that weight should be processed. The final
330 * call specifies a weight of zero, this can be used to trigger processing of
334 ib_intr_dist_all(void *arg, int32_t weight_max, int32_t weight) argument
344 if (weight == 0) {
357 if (weight == weight_max) {
372 * weight o
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_ib.c286 * Redistribute interrupts of the specified weight. The first call has a weight
288 * redistribution. The inos with weight [weight_max, inf.) should be processed
289 * on the "weight == weight_max" call. This first call is followed by calls
290 * of decreasing weights, inos of that weight should be processed. The final
291 * call specifies a weight of zero, this can be used to trigger processing of
295 pcmu_ib_intr_dist_all(void *arg, int32_t weight_max, int32_t weight) argument
306 if (weight == weight_max) {
321 * weight of all devinfo nodes sharing the ino (this
338 * Get the weight o
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dlibsmbns.h52 int weight; /* DNS SRV record weight */ member in struct:smb_ads_host_info
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_print.c382 u_int priority, weight, port; local
390 weight = ns_get16(rdata); rdata += NS_INT16SZ;
392 len = SPRINTF((t, "%u %u %u ", priority, weight, port));
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddomain.c231 int weight[MAXMXHOSTS]; local
396 weight[nmx] = 0;
399 weight[nmx] = mxrand(bp);
427 (prefs[i] == prefs[j] && weight[i] > weight[j]))
438 temp = weight[i];
439 weight[i] = weight[j];
440 weight[j] = temp;
/illumos-gate/usr/src/psm/stand/boot/common/
H A Dheap_kmem.c113 * weight(x) is the size of a block, in bytes; or 0 if and only if x
118 #define weight(x) ((x) == NIL? 0: (x->size)) macro
221 * Search for the first node which has a weight less
226 while (weight(x) >= len) {
316 if (weight(left_branch) >= weight(right_branch)) {
374 wx = weight(x);
376 while (weight(left_branch) > wx || weight(right_branch) > wx) {
380 if (weight(left_branc
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dddi_intr_impl.c373 * The "ddi-intr-weight" property contains the weight of each interrupt
386 int32_t weight; local
388 weight = ddi_prop_get_int(DDI_DEV_T_ANY, dip,
389 DDI_PROP_DONTPASS | DDI_PROP_NOTPROM, "ddi-intr-weight", -1);
390 if (weight < -1)
391 weight = -1; /* undefined */
392 return (weight);
396 i_ddi_set_intr_weight(dev_info_t *dip, int32_t weight) argument
401 if ((weight >
[all...]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_intr.c950 int32_t weight; local
1060 /* Add weight to the cpu that we are already targeting */
1061 weight = pci_class_to_intr_weight(rdip);
1062 intr_dist_cpuid_add_device_weight(ino_p->ino_cpuid, rdip, weight);
1165 int32_t weight; local
1263 /* Add weight to the cpu that we are already targeting */
1264 weight = pci_class_to_intr_weight(rdip);
1265 intr_dist_cpuid_add_device_weight(ino_p->ino_cpuid, rdip, weight);
H A Dpx_ib.c43 static void px_ib_intr_redist(void *arg, int32_t weight_max, int32_t weight);
283 * Redistribute interrupts of the specified weight. The first call has a weight
285 * redistribution. The inos with weight [weight_max, inf.) should be processed
286 * on the "weight == weight_max" call. This first call is followed by calls
287 * of decreasing weights, inos of that weight should be processed. The final
288 * call specifies a weight of zero, this can be used to trigger processing of
292 px_ib_intr_redist(void *arg, int32_t weight_max, int32_t weight) argument
304 if (weight == 0) {
321 * (weight
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dcnex.c95 * Interrupts for VIO devclass channels are given more weight than
98 * Transmit interrupts are given a zero weight because they are
113 static void cnex_intr_redist(void *arg, int32_t weight_max, int32_t weight);
317 * Note: any interrupts with weight greater than or equal to
319 * invoked with (weight == weight_max) which will be once per
324 cnex_intr_redist(void *arg, int32_t weight_max, int32_t weight) argument
337 if (cldcp->tx.hdlr && (cldcp->tx.weight == weight ||
338 (weight_max == weight && cldcp->tx.weight > weigh
[all...]
/illumos-gate/usr/src/uts/sun4/os/
H A Dintr.c446 * are issued to redirect interrupts of a specified weight, from heavy to
447 * light. This allows all the interrupts of a given weight to be redistributed
448 * for all weighted nexus drivers prior to those of less weight.
531 * associated with interrupt weights by ordering operations from heavy weight
532 * to light weight. When a CPUs orientation changes relative to interrupts,
539 * occurring late, so optimal "isolation" relative to weight is not occurring.
541 * might improve "spread" for medium weight devices since the "isolation" of
542 * a higher weight device may no longer be present.
551 * weight delta is large enough, and call cv_signal from timeout - causing
575 int32_t weight, max_weigh local
816 int32_t weight; local
[all...]
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c2389 * Set the weight to be assigned to a particular path.
2394 * @param weight
2395 * weight that will be assigned to the path logical unit.
2420 * Returned when the weight parameter is greater than the plugin's
2427 MP_UINT32 weight)
2447 status = PassFunc(pathOid, weight);
2425 MP_SetPathWeight( MP_OID pathOid, MP_UINT32 weight) argument
/illumos-gate/usr/src/cmd/localedef/
H A Dcollate.c85 * This is done by creating a "weight" structure for the item. The
88 * The third pass walks over all the weight structures, in priority
90 * weight value to them. These are the values that will actually be
106 * numeric weight.
122 typedef struct weight { struct
556 /* update the weight */
570 /* advance the priority/weight */
579 /* unspecified weight is a self reference */
783 * for each possible weight. Not a big deal, as collating-elements
970 /* we take the weight fo
[all...]

Completed in 113 milliseconds

12