Searched refs:weight (Results 1 - 25 of 54) sorted by relevance

123

/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);
H A DMP_GetPathLogicalUnitProperties.c168 pProps->weight = pathInfo.weight;
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dmetaslab_impl.h80 * The metaslab weight is used to encode the amount of free space in a
82 * metaslabs by weight. The weight (and therefore the "best" metaslab) can
84 * the free space in the metaslab (a space based weight) or by counting only
85 * the free segments of the largest size (a segment based weight). We prefer
86 * the segment based weight because it reflects how the free space is
90 * the segment weight by looking at each bucket in the histogram and
96 * Space-based weight:
106 * Segment-based weight:
117 #define WEIGHT_GET_ACTIVE(weight) BF64_GE
[all...]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dvalidate.h59 unsigned short weight; member in struct:candidate
H A Dvalidate.c546 * Compute a ``weight'' for this printer,
548 * the printer with the highest weight.
550 pc->weight = 0;
552 pc->weight += WEIGHT_NOFILTER;
554 pc->weight += WEIGHT_FREE;
556 pc->weight += WEIGHT_ENABLED;
558 pc->weight += WEIGHT_MOUNTED;
560 pc->weight += WEIGHT_MOUNTED;
562 pc->weight += WEIGHT_SELECTS;
565 if (pc->weight
[all...]
/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/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/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/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/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/lib/libbc/libc/gen/common/
H A Dmalloc.c171 * Search for the first node which has a weight less
177 while (weight(x) >= len) {
270 left_weight = weight(left_branch);
272 right_weight = weight(right_branch);
293 left_weight = weight(left_branch);
309 right_weight = weight(right_branch);
355 x_weight = weight(x);
358 left_weight = weight(left_branch);
359 right_weight = weight(right_branch);
372 left_weight = weight(left_branc
[all...]
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/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/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/common/fs/zfs/
H A Dmetaslab.c804 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) argument
807 * Although in principle the weight can be any value, in
810 ASSERT(weight >= SPA_MINBLOCKSIZE || weight == 0);
816 msp->ms_weight = weight;
1428 * The metaslab's weight will also be initialized when we sync
1602 * Compute a weight -- a selection preference value -- for the given metaslab.
1611 uint64_t weight, space; local
1617 * The baseline weight is the metaslab's free space.
1625 * down the baseline weight
1682 uint64_t weight = 0; local
1723 uint64_t weight = 0; local
1747 uint64_t weight = 0; local
1838 uint64_t weight; local
1902 metaslab_passivate(metaslab_t *msp, uint64_t weight) argument
2838 uint64_t weight = metaslab_block_maxsize(msp); local
[all...]
/illumos-gate/usr/src/lib/libadutils/common/
H A Dsrv_query.c143 * then weight highest to lowest.
153 if (s1->weight < s2->weight)
155 else if (s1->weight > s2->weight)
325 NS_GET16(cds->cds_ds.weight, ptr);
339 " ttl=%d pri=%d weight=%d %s:%d",
340 rttl, cds->cds_ds.priority, cds->cds_ds.weight,
524 ds->weight = 200;
537 ds->weight
[all...]
H A Daddisc.h81 int weight; member in struct:ad_disc_ds
/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/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/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/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/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
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi-plugin.h215 MP_UINT32 weight

Completed in 91 milliseconds

123