/illumos-gate/usr/src/uts/sun4v/pcbe/ |
H A D | niagara_pcbe.c | 476 int64_t diff; local 510 diff = (curpic & PIC0_MASK) - (uint64_t)pic0->pcbe_pic; 511 if (diff < 0) 512 diff += (1ll << 32); 513 *pic0_data += diff; 515 diff = (curpic >> 32) - (uint64_t)pic1->pcbe_pic; 516 if (diff < 0) 517 diff += (1ll << 32); 518 *pic1_data += diff;
|
H A D | niagara2_pcbe.c | 743 int64_t diff; local 795 diff = (curpic & PIC0_MASK) - (uint64_t)pic0->pcbe_pic; 796 if (diff < 0) 797 diff += (1ll << 32); 798 *pic0_data += diff; 800 diff = (curpic >> 32) - (uint64_t)pic1->pcbe_pic; 801 if (diff < 0) 802 diff += (1ll << 32); 803 *pic1_data += diff;
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memlist.c | 240 diff_memlists(struct memlist *proto, struct memlist *diff, void (*func)()) argument 246 * find diff item which may overlap with proto item 249 while (diff != NULL && 250 proto->ml_address >= diff->ml_address + diff->ml_size) 251 diff = diff->ml_next; 252 if (diff == NULL) { 257 if (proto->ml_address == diff->ml_address && 258 proto->ml_size == diff [all...] |
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hment.c | 132 long diff; local 134 diff = (uintptr_t)h1->hm_htable - (uintptr_t)h2->hm_htable; 135 if (diff == 0) { 136 diff = h1->hm_entry - h2->hm_entry; 137 if (diff == 0) 138 diff = h1->hm_pfn - h2->hm_pfn; 140 if (diff < 0) 141 diff = -1; 142 else if (diff > 0) 143 diff [all...] |
/illumos-gate/usr/src/cmd/zdump/ |
H A D | zdump.c | 424 long diff; local 437 diff = (long)(hit - lot); 438 if (diff < 2) 441 t += diff / 2;
|
/illumos-gate/usr/src/common/avl/ |
H A D | avl.c | 108 * Small arrays to translate between balance (or diff) values and child indices. 260 int diff; local 268 diff = tree->avl_compar(value, AVL_NODE2DATA(node, off)); 269 ASSERT(-1 <= diff && diff <= 1); 270 if (diff == 0) { 277 child = avl_balance2child[1 + diff]; 581 int diff; local 596 diff = tree->avl_compar(new_data, here); 597 ASSERT(-1 <= diff [all...] |
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 607 unsigned int diff; /* difference between old and new */ local 617 diff = pwlen - opwlen; 619 diff = opwlen - pwlen; 623 diff++; 628 if (diff < pwdef->mindiff) {
|
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 676 cpc_event_diff(cpc_event_t *diff, cpc_event_t *left, cpc_event_t *right) argument 678 diff->ce_hrt = left->ce_hrt; 679 diff->ce_tsc = left->ce_tsc - right->ce_tsc; 680 diff->ce_pic[0] = left->ce_pic[0] - right->ce_pic[0]; 681 diff->ce_pic[1] = left->ce_pic[1] - right->ce_pic[1];
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 600 int noctets, diff; local 650 diff = sizeof(ber_uint_t) - noctets; 651 if ( BerRead( sb, (char *) &netlen + diff, noctets ) != 1106 int noctets, diff; local 1156 diff = sizeof(ber_uint_t) - noctets; 1157 if ( read_bytes( &sb, (unsigned char *)&netlen + diff,
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 711 time_t lastaction, diff; local 718 diff = now - lastaction; 719 diff = DIV60(diff); 720 if (diff < 0) 721 diff = 0; 723 diff = 0; 724 return (diff);
|
/illumos-gate/usr/src/common/fs/ |
H A D | hsfs.c | 326 int off, size, diff; local 330 diff = ip->i_size - filep->fi_offset; 331 if (diff <= 0) 345 filep->fi_count = diff + off;
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | printgprof.c | 362 double diff; local 364 diff = (np1->propself + np1->propchild) - 367 if (diff < 0.0) 369 if (diff > 0.0)
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | perfstat.c | 381 TUSED diff; /* time difference between events. */ local 439 subTimes(&diff, (tdptr + drvtab[i]), (tdptr + drvtab[i+1])); 440 reportTimes(Record, &diff, FS); 504 * diff - Place to store the result of the subtraction. 511 * diff = minuend - subtra 515 subTimes (diff, minuend, subtra) 517 register TUSED * diff; 530 diff->tu_real = NOTIME; 531 diff->tu_user = NOTIME; 532 diff [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | events.c | 616 uint64_t diff; local 617 diff = SEC_TO_NSEC(event->event_time.tv_sec - 621 if (diff > 0)
|
/illumos-gate/usr/src/cmd/infocmp/ |
H A D | infocmp.c | 126 static int diff = 0; /* produce diff listing, the default */ variable 633 if (diff || common || neither) { 689 if (diff && (ibool[i].val != boolval)) 705 if (diff || common || neither) 744 if (diff && (num[i].val != numval)) 761 if (diff || common || neither) 804 if (diff && !EQUAL(str[i].val, strval)) { 942 case 'd': diff++; 1038 if ((use || diff || commo [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_bmap.c | 994 register int diff; local 1003 diff = fs->fs_frag; 1022 if (nextbn == 0 || bn + diff != nextbn)
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | subr_mchain.c | 238 uint64_t diff; local 240 diff = (uintptr_t)mblk->b_datap->db_lim - 242 ASSERT(diff == (uint64_t)((unsigned int)diff)); 243 return ((unsigned int)diff); 484 uint64_t diff; local 487 diff = MBLKTAIL(m); 488 ASSERT(diff == (uint64_t)((int)diff)); 489 mleft = (int)diff; 820 uint64_t diff; local 885 uint64_t diff; local 1002 ptrdiff_t diff; local 1034 ptrdiff_t diff; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | swrand.c | 663 hrtime_t ts1, ts2, diff, delta, delta2, delta3; local 775 diff = ts2 - ts1; 776 delta = diff - entsrc->last_diff; 785 entsrc->last_diff = diff;
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 453 int off, size, diff, zeroize; local 464 diff = filep->fi_inode->i_size - filep->fi_offset; 465 if (diff <= 0) { 528 filep->fi_count = diff + off;
|
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket.c | 519 uint_t start, diff; local 529 diff = (uint_t)((prom_gettime() - start) + 500) / 1000; 530 if (read_timeout != 0 && diff > read_timeout) {
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-device-fp.c | 818 int i, diff; local 870 diff = tcp_hdr_len - off; 871 if (diff > 3) { 879 for (i = 0; i < diff; i++) {
|
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_smr.c | 2025 int diff, reap_per_domain; local 2031 diff = IDN_SLAB_THRESHOLD - total_free; 2032 reap_per_domain = (diff < idn.ndomains) ? 2033 1 : (diff / idn.ndomains);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem.c | 616 uchar_t diff; local 628 diff = tems_check_videomode(devinit); 629 if (diff == 0) { 634 diff = diff & TEMS_DIMENSION_DIFF; 636 if (diff == 0) {
|
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/ |
H A D | linenoise.c | 579 size_t diff; local 585 diff = old_pos - l->pos; 587 l->len -= diff;
|
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 470 unsigned diff; local 523 diff = text->size - text->cursize; 525 if (*inputlen < diff) { 534 memcpy(text->buffer + text->cursize, *input, diff); 535 *input += diff; 536 *inputlen -= diff;
|