/opensolaris-onvv-gate/usr/src/uts/common/inet/ip/ |
H A D | ipcsum.c | 134 #define INC_PTR(cnt) ptr += cnt 135 #define INC_ENDPTR(cnt) endptr += cnt 139 #define INC_PTR(cnt) startp += (cnt * sizeof (uint32_t)) 140 #define INC_ENDPTR(cnt) endp += (cnt * sizeof (uint32_t))
|
/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | vm_meter.c | 66 #define ave(smooth, cnt, time) \ 67 smooth = ((time - 1) * (smooth) + (cnt)) / (time)
|
H A D | sid.c | 306 int cnt = 0; local 314 cnt++; 317 cnt += kcr->kr_sidlist->ksl_nsid; 318 return (cnt); 387 int cnt; local 392 cnt = 0; 405 cnt = 0; 408 cnt++; 413 if (cnt == 0) {
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/scsi/impl/ |
H A D | commands.h | 394 #define FORMG0COUNT(cdb, cnt) (cdb)->g0_count0 = (cnt) 407 #define FORMG0COUNT_S(cdb, cnt) (cdb)->high_count = (cnt) >> 16; \ 408 (cdb)->mid_count = ((cnt) >> 8) & 0xFF; \ 409 (cdb)->low_count = (cnt) & 0xFF 411 #define FORMG1COUNT(cdb, cnt) (cdb)->g1_count1 = ((cnt) >> 8); \ 412 (cdb)->g1_count0 = (cnt) & 0xFF 428 #define FORMG4COUNT(cdb, cnt) (cd [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | squeue.h | 50 #define SQUEUE_ENTER(sqp, head, tail, cnt, ira, flag, tag) { \ 51 sqp->sq_enter(sqp, head, tail, cnt, ira, flag, tag); \
|
/opensolaris-onvv-gate/usr/src/cmd/troff/ |
H A D | n9.c | 90 int w, cnt, delim, rem, temp; local 116 if (!(cnt = length / w)) { 128 if (cnt) { 130 *i++ = cnt; 208 int cnt, delim; local 215 cnt = 0; 226 cnt++; 228 if (--cnt < 0) 230 else if (!cnt) { 236 *--j = *brabuf = (cnt * 253 int cnt, delim, v; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | encrypt.c | 495 encrypt_support(uchar_t *typelist, int cnt) argument 505 while (cnt-- > 0) { 536 encrypt_is(uchar_t *data, int cnt) argument 541 if (--cnt < 0) 564 ret = (*ep->is)(data, cnt); 568 data, cnt, (ret < 0) ? "FAIL " : 581 encrypt_reply(uchar_t *data, int cnt) argument 586 if (--cnt < 0) 607 ret = (*ep->reply)(data, cnt); 611 data, cnt, (re 631 encrypt_start(uchar_t *data, int cnt) argument 717 encrypt_request_start(uchar_t *data, int cnt) argument 937 encrypt_gen_printsub(uchar_t *data, int cnt, uchar_t *buf, int buflen) argument 959 encrypt_printsub(uchar_t *data, int cnt, uchar_t *buf, int buflen) argument [all...] |
H A D | enc_des.c | 237 cfb64_is(unsigned char *data, int cnt) argument 243 if (cnt-- < 1) 248 if (cnt != sizeof (Block)) { 284 printd(data, cnt); 315 cfb64_reply(unsigned char *data, int cnt) argument 320 if (cnt-- < 1) 345 printd(data, cnt); 414 cfb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 447 for (i = 3; i < cnt; i++) {
|
H A D | kerberos5.c | 400 kerberos5_reply(Authenticator *ap, unsigned char *data, int cnt) argument 405 if (cnt-- < 1) 409 if (cnt > 0) 412 "%.*s ]\r\n"), cnt, data); 435 if (cnt) 438 cnt, data); 455 inbuf.length = cnt; 485 "%.*s ]\r\n"), cnt, data); 520 kerberos5_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 537 if (cnt < [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | util.c | 245 size_t cnt = 0; local 252 switch (ret = read(fd, cp + cnt, sz - cnt)) { 266 cnt += ret; 268 } while (cnt != sz);
|
/opensolaris-onvv-gate/usr/src/cmd/sendmail/libsm/ |
H A D | t-shm.c | 161 int cnt = 0; local 177 while (*shm == 1 && cnt++ < MAX_CNT) 179 SM_TEST(cnt <= MAX_CNT); 189 while (*shm != 1 && cnt++ < MAX_CNT) 191 SM_TEST(cnt <= MAX_CNT);
|
/opensolaris-onvv-gate/usr/src/lib/libntfs/common/libntfs/ |
H A D | unistr.c | 134 u32 cnt; local 143 for (cnt = 0; cnt < min(name1_len, name2_len); ++cnt) { 408 int cnt = 0; local 456 cnt = wcrtomb(mbs + o, wc, &mbstate); 458 cnt = wctomb(mbs + o, wc); 460 if (cnt == -1) 462 if (cnt <= 0) { 463 ntfs_log_debug("Eeek. cnt < 517 int i, o, cnt, ins_len, ucs_len, ins_size; local [all...] |
/opensolaris-onvv-gate/usr/src/stand/lib/fs/nfs/ |
H A D | getdents.c | 96 int j, cnt = 0; local 165 return (cnt); 170 return (cnt); 183 cnt++; 187 return (cnt);
|
H A D | getdents3.c | 87 int cnt = 0; local 166 return (cnt); 171 return (cnt); 182 cnt++; 186 return (cnt);
|
H A D | getdents4.c | 87 int cnt = 0; local 232 return (cnt); 237 return (cnt); 249 cnt++; 253 return (cnt);
|
/opensolaris-onvv-gate/usr/src/uts/sun4/vm/ |
H A D | vm_dep.h | 339 pgcnt_t plc_mt_pgmax; /* max page cnt */ 340 pgcnt_t plc_mt_clpgcnt; /* cache list cnt */ 341 pgcnt_t plc_mt_flpgcnt; /* free list cnt - small pages */ 342 pgcnt_t plc_mt_lgpgcnt; /* free list cnt - large pages */ 379 #define PLCNT_DO(pp, mn, mtype, szc, cnt, flags) { \ 382 atomic_add_long(&plcnt[mn][mtype].plc_mt_clpgcnt, cnt); \ 384 atomic_add_long(&plcnt[mn][mtype].plc_mt_lgpgcnt, cnt); \ 386 atomic_add_long(&plcnt[mn][mtype].plc_mt_flpgcnt, cnt); \ 388 cnt); \ 390 plc_mtsc_pgcnt[bin], cnt); \ [all...] |
/opensolaris-onvv-gate/usr/src/cmd/power/ |
H A D | parse.c | 270 int cnt = 0; local 289 newarg(arg, cnt++); 293 newarg(NULL, cnt); 296 mesg(MDEBUG, "\nline %d, found %d args:\n", lineno, cnt); 301 return (cnt); 375 int linc, cnt; local 432 else if (cnt = build_args(cline, cline + llen)) { 436 } else if (cnt != cip->argc && 437 (cip->any == 0 || cnt < cip->argc)) { 439 cnt, ci [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_iocb.c | 77 uint32_t cnt; local 114 cnt = RD16_IO_REG(ha, req_out); 115 if (ha->req_ring_index < cnt) { 117 (cnt - ha->req_ring_index); 120 (ha->req_ring_index - cnt)); 141 for (cnt = 1; cnt < MAX_OUTSTANDING_COMMANDS; cnt++) { 154 if (cnt == MAX_OUTSTANDING_COMMANDS) { 271 uint16_t cnt; local 430 uint32_t *ptr32, cnt; local 552 uint32_t *ptr32, cnt; local 642 uint32_t *ptr32, cnt; local 1144 uint32_t *ptr32, cnt; local [all...] |
H A D | ql_debug.c | 74 uint32_t cnt; local 86 for (cnt = 1; cnt <= count; cnt++) { 89 if (cnt % 4 == 0) { 101 for (cnt = 1; cnt <= count; cnt++) { 104 if (cnt % 8 == 0) { 116 for (cnt [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 390 Word symn, cnt; local 426 for (cnt = 0; cnt < symn; syms++, cnt++) { 429 symname = string(symtab, cnt, &cache[shdr->sh_link], file, 500 Word cnt, tcnt; local 508 for (cnt = 0; cnt < phnum; phdr++, cnt++) { 791 Word cnt; local 1618 Word cnt; local 1703 Word cnt; local 1781 Word infonum, cnt, ndx, symnum, dynnum; local 1983 Word cnt; local 2067 Word cnt; local 2161 Word cnt; local 2213 GElf_Word cnt; local 2531 Word cnt; local 2861 Word cnt; local 3349 Word cnt; local 3596 int cnt = 0; local 3716 Word cnt, note_cnt = 0; local 3771 Word cnt; local 3878 Word cnt; local 4119 Word cnt, gotents, gotndx; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_sec.c | 559 p[1] = (char)(1+snego->cnt); /* sec index */ 579 int cnt = ((int)*c)/sizeof (uint_t); local 583 tot += cnt; 589 if (cnt > MAX_V2_CNT || cnt < 0) { 593 for (ii = 0; ii < cnt; ii++) 594 snego->array[snego->cnt+ii] = 596 snego->cnt += cnt; 640 p[1] = (char)(1+snego->cnt); /* se 663 int cnt; local [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 90 int cnt; local 97 for (cnt = 0; cnt < rq->cfg.nbufs; cnt++, rqbd++) { 98 rq->rqb_freelist[cnt] = rqbd; 126 int cnt; local 129 for (cnt = 0; cnt < rq->cfg.nbufs; cnt++, rqbd++) { 275 int cnt; local 408 int cnt = 0; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/prtfru/ |
H A D | prtfru.c | 746 int cnt; local 774 for (cnt = 4; cnt < 4 + 6; cnt++) { 775 output("%2.2x", data[cnt]); 776 if (cnt < 4 + 6 - 1) 795 for (cnt = 13; cnt < 13 + 32; cnt++) 796 output("%2.2x", data[cnt]); 838 int cnt; local [all...] |
/opensolaris-onvv-gate/usr/src/uts/intel/io/acpica/ |
H A D | acpica_ec.c | 116 int cnt, rv; local 165 int cnt; local 215 int cnt, rv; local 318 int cnt; local 320 cnt = ibf_clear_timeout; 322 if (cnt-- <= 0) 336 int cnt; local 338 cnt = obf_set_timeout; 340 if (cnt-- <= 0)
|
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log.c | 184 int cnt, found_checkpoint, ret; local 192 if ((ret = __log_find(dblp, 0, &cnt)) != 0) 194 if (cnt == 0) 203 lp->lsn.file = cnt + 1; 205 lsn.file = cnt; 245 while (!found_checkpoint && cnt > 1) { 246 lsn.file = --cnt; 303 int cnt, fcnt, ret; local 334 for (cnt = fcnt, clv = logval = 0; --cnt > [all...] |