/titanic_44/usr/src/common/bzip2/ |
H A D | huffman.c | 37 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 ]; in BZ2_hbMakeCodeLengths() local 80 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8; in BZ2_hbMakeCodeLengths() 88 weight[0] = 0; in BZ2_hbMakeCodeLengths() 105 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]); in BZ2_hbMakeCodeLengths() 143 j = weight[i] >> 8; in BZ2_hbMakeCodeLengths() 145 weight[i] = j << 8; in BZ2_hbMakeCodeLengths()
|
/titanic_44/usr/src/cmd/powertop/common/ |
H A D | suggestions.c | 66 pt_sugg_add(char *text, int weight, char key, char *sb_msg, sugg_func_t *func) in pt_sugg_add() argument 89 new->weight = weight; in pt_sugg_add() 102 if (weight > n->weight && pos == NULL) in pt_sugg_add() 116 new->weight = weight; in pt_sugg_add()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | malloc.c | 177 while (weight(x) >= len) { in insert() 270 left_weight = weight(left_branch); in delete() 272 right_weight = weight(right_branch); in delete() 293 left_weight = weight(left_branch); in delete() 309 right_weight = weight(right_branch); in delete() 355 x_weight = weight(x); in demote() 358 left_weight = weight(left_branch); in demote() 359 right_weight = weight(right_branch); in demote() 372 left_weight = weight(left_branch); in demote() 380 right_weight = weight(right_branch); in demote() [all …]
|
H A D | mallint.h | 108 #define weight(x) ((x) == NIL? 0: (x->size)) macro
|
/titanic_44/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/ |
H A D | GBLayout.java | 780 double weight_diff, weight, start, size; in GetLayoutInfo() local 1098 weight = 0.0; in GetLayoutInfo() 1100 weight += r.weightX[k]; in GetLayoutInfo() 1101 for (k = constraints.tempX; weight > 0.0 in GetLayoutInfo() 1104 double dx = (wt * weight_diff) / weight; in GetLayoutInfo() 1107 weight -= wt; in GetLayoutInfo() 1138 weight = 0.0; in GetLayoutInfo() 1140 weight += r.weightY[k]; in GetLayoutInfo() 1141 for (k = constraints.tempY; weight > 0.0 in GetLayoutInfo() 1144 double dy = (wt * weight_diff) / weight; in GetLayoutInfo() [all …]
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | intr.c | 575 int32_t weight, max_weight; in intr_redist_all_cpus() local 611 for (weight = max_weight; weight >= 0; weight--) in intr_redist_all_cpus() 614 (iptr->arg, max_weight, weight); in intr_redist_all_cpus() 816 int32_t weight; in intr_dist_cpuid_rem_device_weight() local 823 weight = i_ddi_get_intr_weight(dip); in intr_dist_cpuid_rem_device_weight() 824 if (weight < 0) in intr_dist_cpuid_rem_device_weight() 825 weight = 0; in intr_dist_cpuid_rem_device_weight() 827 "%s#%d/%s#%d\n", cpuid, cpu[cpuid]->cpu_intr_weight, weight, in intr_dist_cpuid_rem_device_weight() 835 cp->cpu_intr_weight -= weight; in intr_dist_cpuid_rem_device_weight()
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnssrv.c | 65 unsigned short priority, weight, port; in krb5int_make_srv_query_realm() local 119 SAFE_GETUINT16(base, rdlen, p, 2, weight, out); in krb5int_make_srv_query_realm() 141 srv->weight = weight; in krb5int_make_srv_query_realm()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | ddi_intr_impl.c | 386 int32_t weight; in i_ddi_get_intr_weight() local 388 weight = ddi_prop_get_int(DDI_DEV_T_ANY, dip, in i_ddi_get_intr_weight() 390 if (weight < -1) in i_ddi_get_intr_weight() 391 weight = -1; /* undefined */ in i_ddi_get_intr_weight() 392 return (weight); in i_ddi_get_intr_weight() 396 i_ddi_set_intr_weight(dev_info_t *dip, int32_t weight) in i_ddi_set_intr_weight() argument 401 if ((weight > 0) && (oweight != weight)) in i_ddi_set_intr_weight() 403 "ddi-intr-weight", weight); in i_ddi_set_intr_weight()
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | cnex.c | 113 static void cnex_intr_redist(void *arg, int32_t weight_max, int32_t weight); 324 cnex_intr_redist(void *arg, int32_t weight_max, int32_t weight) in cnex_intr_redist() argument 337 if (cldcp->tx.hdlr && (cldcp->tx.weight == weight || in cnex_intr_redist() 338 (weight_max == weight && cldcp->tx.weight > weight))) { in cnex_intr_redist() 342 if (cldcp->rx.hdlr && (cldcp->rx.weight == weight || in cnex_intr_redist() 343 (weight_max == weight && cldcp->rx.weight > weight))) { in cnex_intr_redist() 386 iinfo->weight); in cnex_intr_new_cpu() 448 return (cnex_class_to_intr[idx].weight); in cnex_class_weight() 576 new_cldcp->tx.weight = CNEX_TX_INTR_WEIGHT; in cnex_reg_chan() 577 new_cldcp->rx.weight = cnex_class_weight(devclass); in cnex_reg_chan() [all …]
|
/titanic_44/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_SetPathWeight.c | 32 MP_SetPathWeight(MP_OID pathOid, MP_UINT32 weight) in MP_SetPathWeight() argument 43 weight); in MP_SetPathWeight()
|
H A D | MP_GetPathLogicalUnitProperties.c | 168 pProps->weight = pathInfo.weight; in MP_GetPathLogicalUnitProperties()
|
/titanic_44/usr/src/psm/stand/boot/common/ |
H A D | heap_kmem.c | 118 #define weight(x) ((x) == NIL? 0: (x->size)) macro 226 while (weight(x) >= len) { in insert() 316 if (weight(left_branch) >= weight(right_branch)) { in delete() 374 wx = weight(x); in demote() 376 while (weight(left_branch) > wx || weight(right_branch) > wx) { in demote() 380 if (weight(left_branch) >= weight(right_branch)) { in demote()
|
/titanic_44/usr/src/cmd/lp/cmd/lpsched/ |
H A D | validate.c | 550 pc->weight = 0; in _validate() 552 pc->weight += WEIGHT_NOFILTER; in _validate() 554 pc->weight += WEIGHT_FREE; in _validate() 556 pc->weight += WEIGHT_ENABLED; in _validate() 558 pc->weight += WEIGHT_MOUNTED; in _validate() 560 pc->weight += WEIGHT_MOUNTED; in _validate() 562 pc->weight += WEIGHT_SELECTS; in _validate() 565 if (pc->weight == WEIGHT_MAX) { in _validate() 647 if (pc->weight > best_pc->weight) in _validate()
|
H A D | validate.h | 59 unsigned short weight; member
|
/titanic_44/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 231 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;
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | cnex.h | 50 int32_t weight; /* Interrupt weight for device class */ member 65 int32_t weight; /* intr weight */ member
|
/titanic_44/usr/src/cmd/krb5/kadmin/kdcmgr/ |
H A D | klookup.c | 55 int ttl, priority, weight, port, size; in main() local 159 NS_GET16(weight, ansp); in main()
|
/titanic_44/usr/src/uts/sun4u/io/pci/ |
H A D | pci_intr.c | 464 int32_t weight; in pci_add_intr() local 529 weight = pci_class_to_intr_weight(rdip); in pci_add_intr() 530 intr_dist_cpuid_add_device_weight(cpu_id, rdip, weight); in pci_add_intr() 579 weight = pci_class_to_intr_weight(rdip); in pci_add_intr() 580 intr_dist_cpuid_add_device_weight(cpu_id, rdip, weight); in pci_add_intr()
|
H A D | pci_ib.c | 334 ib_intr_dist_all(void *arg, int32_t weight_max, int32_t weight) in ib_intr_dist_all() argument 344 if (weight == 0) { in ib_intr_dist_all() 357 if (weight == weight_max) { in ib_intr_dist_all() 404 if ((weight == ino_p->ino_intr_weight) || in ib_intr_dist_all() 405 ((weight >= weight_max) && in ib_intr_dist_all()
|
/titanic_44/usr/src/lib/libxcurses/h/ |
H A D | collate.h | 111 _m_weight_t weight[_M_COTOM_MAX]; member
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | metaslab.c | 692 metaslab_group_sort(metaslab_group_t *mg, metaslab_t *msp, uint64_t weight) in metaslab_group_sort() argument 698 ASSERT(weight >= SPA_MINBLOCKSIZE || weight == 0); in metaslab_group_sort() 704 msp->ms_weight = weight; in metaslab_group_sort() 1435 uint64_t weight, space; in metaslab_weight() local 1476 weight = space; in metaslab_weight() 1488 weight = 2 * weight - (msp->ms_id * weight) / vd->vdev_ms_count; in metaslab_weight() 1489 ASSERT(weight >= space && weight <= 2 * space); in metaslab_weight() 1500 weight |= (msp->ms_weight & METASLAB_ACTIVE_MASK); in metaslab_weight() 1503 return (weight); in metaslab_weight()
|
/titanic_44/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | libsmbns.h | 52 int weight; /* DNS SRV record weight */ member
|
/titanic_44/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_ib.c | 295 pcmu_ib_intr_dist_all(void *arg, int32_t weight_max, int32_t weight) in pcmu_ib_intr_dist_all() argument 306 if (weight == weight_max) { in pcmu_ib_intr_dist_all() 345 if ((weight == ino_p->pino_intr_weight) || in pcmu_ib_intr_dist_all() 346 ((weight >= weight_max) && in pcmu_ib_intr_dist_all()
|
/titanic_44/usr/src/uts/sun4/io/px/ |
H A D | px_ib.c | 43 static void px_ib_intr_redist(void *arg, int32_t weight_max, int32_t weight); 292 px_ib_intr_redist(void *arg, int32_t weight_max, int32_t weight) in px_ib_intr_redist() argument 304 if (weight == 0) { in px_ib_intr_redist() 323 if (weight == weight_max) { in px_ib_intr_redist() 348 if ((weight == ino_p->ino_intr_weight) || in px_ib_intr_redist() 349 ((weight >= weight_max) && in px_ib_intr_redist()
|
H A D | px_intr.c | 950 int32_t weight; in px_add_intx_intr() local 1061 weight = pci_class_to_intr_weight(rdip); in px_add_intx_intr() 1062 intr_dist_cpuid_add_device_weight(ino_p->ino_cpuid, rdip, weight); in px_add_intx_intr() 1165 int32_t weight; in px_add_msiq_intr() local 1264 weight = pci_class_to_intr_weight(rdip); in px_add_msiq_intr() 1265 intr_dist_cpuid_add_device_weight(ino_p->ino_cpuid, rdip, weight); in px_add_msiq_intr()
|