Searched refs:cnt (Results 176 - 200 of 889) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_recv.c195 int idx, cnt; local
198 cnt = recv->rx_xfer.xf_empty_cnt;
202 (cnt < 0) || (cnt > icp->ic_nframes)) {
204 "", tnf_int, idx, idx, tnf_int, cnt, cnt);
209 if (cnt > 0) {
211 if ((ret = av1394_ir_add_frames(icp, idx, cnt)) != 0) {
617 av1394_ir_dma_sync_frames(av1394_ic_t *icp, int idx, int cnt) argument
619 av1394_ic_dma_sync_frames(icp, idx, cnt,
785 av1394_ir_add_frames(av1394_ic_t *icp, int idx, int cnt) argument
813 av1394_ir_wait_frames(av1394_ic_t *icp, int *idx, int *cnt) argument
842 int cnt = irp->ir_read_cnt; local
916 av1394_ir_zero_pkts(av1394_ic_t *icp, int idx, int cnt) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_xf.c226 int cnt; local
255 for (cnt = 0; (PHYSIO_LDH(csr_addr) != sm_mask) && (cnt < 10); cnt++)
258 return ((cnt == 10) ? -1 : 0);
291 int cnt; local
318 for (cnt = 0;
319 ((uint_t)PHYSIO_LDH(csr_addr) != sm_bar_msb) && (cnt < 10);
320 cnt++)
322 if (cnt
387 int cnt; local
487 register int cnt; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c382 bread(int fd, diskaddr_t bno, char *buf, int cnt) argument
391 if ((ret = read(fd, buf, cnt)) != cnt) {
392 (void) fprintf(stderr, "quot: read returns %d (cnt = %d)\n",
393 ret, cnt);
425 int cnt; local
445 for (cnt = 0, dp = &du[0]; dp && cnt != ndu; dp++, cnt++) {
562 int i, cnt local
[all...]
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.c164 int i, j, cnt; local
254 cnt = md_scan_dag(mdp,
260 sn, cnt);
261 if (cnt <= 0) {
266 for (j = 0; j < cnt; j++) {
290 cnt = md_scan_dag(mdp,
296 nproc, cnt);
297 if (cnt <= 0) {
302 for (j = 0; j < cnt; j++) {
308 if (j < cnt) {
[all...]
/opensolaris-onvv-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c56 int cnt = 0; local
63 for (fstr = from_list[cnt]; fstr != NULL; fstr = from_list[cnt]) {
70 to_list[cnt] = *aliaspp;
71 if (*aliaspp <= (char *)&to_list[cnt+1])
82 ++cnt;
85 ++cnt;
88 to_list[cnt] = NULL;
90 *count = cnt;
91 if (cnt
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_addr.c300 int cnt; local
327 for (cnt = 0; cnt < addrcnt; cnt++) {
333 sin4 = (struct sockaddr_in *)addrs + cnt;
355 sin6 = (struct sockaddr_in6 *)addrs + cnt;
458 int cnt; local
466 for (cnt = 0; cnt < sctp->sctp_saddrs[hindex].ipif_count; cnt
526 int cnt; local
962 int cnt; local
1302 int cnt; local
1354 int cnt; local
1773 int cnt; local
1928 int cnt; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/syscall/
H A Drw.c84 ssize_t cnt, bcount; local
89 if ((cnt = (ssize_t)count) < 0)
99 if (vp->v_type == VREG && cnt == 0) {
105 aiov.iov_len = cnt;
119 if (nbl_conflict(vp, NBL_READ, fp->f_offset, cnt, svmand,
148 cnt = 0;
158 (fileoff + cnt > OFFSET_MAX(fp))) {
159 cnt = (ssize_t)(OFFSET_MAX(fp) - fileoff);
164 auio.uio_resid = bcount = cnt;
182 cnt
220 ssize_t cnt, bcount; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/awk/
H A Dtran.c460 size_t cbufsz, cnt; local
464 for (cnt = 0; (c = *s) != delim; s++) {
468 expand_buf(&cbuf, &cbufsz, cnt);
469 cbuf[cnt++] = c;
471 expand_buf(&cbuf, &cbufsz, cnt);
473 case '\\': cbuf[cnt++] = '\\'; break;
474 case 'n': cbuf[cnt++] = '\n'; break;
475 case 't': cbuf[cnt++] = '\t'; break;
476 case 'b': cbuf[cnt++] = '\b'; break;
477 case 'f': cbuf[cnt
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld/common/
H A Drelocate.c59 Xword ent, cnt, _cnt; local
71 cnt = shdr->sh_size / ent;
76 if ((reloc = calloc(cnt, sizeof (Reloc))) == 0)
92 for (_cnt = 0; _cnt < cnt; _cnt++, reloc++,
429 Xword ent, cnt, _cnt; local
440 cnt = shdr->sh_size / ent;
445 for (_cnt = 0; _cnt < cnt; _cnt++, reloc++,
/opensolaris-onvv-gate/usr/src/cmd/ttymon/
H A Dtmttydefs.c312 int cnt = 1; local
322 mkargv(buf,&argvp[1],&cnt,MAXARGS-1);
323 argvp[cnt] = (char *)0;
331 if ((s_arg = sttyparse(cnt, argvp, term, &termio, &termios,
364 * mkargv - parse the string into args, starting from args[cnt]
368 mkargv(string,args,cnt,maxargs)
370 int *cnt, maxargs;
407 (*cnt) += i;
H A Dtmterm.c80 int cnt = 1; local
116 mkargv(buf,&argvp[1],&cnt,MAXARGS-1);
118 argvp[cnt++] = aspeed;
120 argvp[cnt] = (char *)0;
121 if ((uarg = sttyparse(cnt, argvp, term, &termio, &termios,
/opensolaris-onvv-gate/usr/src/lib/libstmf/common/
H A Dlibstmf.h184 uint32_t cnt; member in struct:_stmfGuidList
202 uint32_t cnt; member in struct:_stmfDevidList
211 uint32_t cnt; member in struct:_stmfGroupList
223 uint32_t cnt; member in struct:_stmfProviderList
236 uint32_t cnt; member in struct:_stmfSessionList
255 uint32_t cnt; member in struct:_stmfViewEntryList
267 uint32_t cnt; member in struct:_stmfGroupProperties
/opensolaris-onvv-gate/usr/src/uts/common/fs/
H A Dfsflush.c128 ulong_t cnt; local
164 cnt = page_get_pagecnt(pp->p_szc);
165 cnt -= pfn & (cnt - 1);
167 cnt = 1;
169 pp = page_nextn(pp, cnt);
172 pcount += cnt;
/opensolaris-onvv-gate/usr/src/cmd/backup/dump/
H A Ddumptraverse.c469 u_offset_t cnt; local
493 cnt = (u_offset_t)(unsigned)NINDIR(sblock) *
495 if (cnt > *size)
496 cnt = *size;
497 *size -= cnt;
498 lf_blksout(&idblk[0], cnt);
797 bread(da, ba, cnt)
800 size_t cnt;
821 if ((cnt >= DEV_BSIZE) && (mapfd != -1)) {
833 len = (size_t)roundup(cnt
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c216 uint_t cnt; local
229 cnt = n = min(n, sp->s_head - sp->s_tail);
255 return (cnt);
284 uint_t cnt; local
297 cnt = n = min(n, nframes - (sp->s_head - sp->s_tail));
324 return (cnt);
331 uint_t cnt; local
357 while ((cnt = (sp->s_head - sp->s_tail)) == 0) {
369 cnt = min(cnt, s
406 uint_t cnt; local
535 uint_t cnt, er, sr; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dpppdump.c223 int cnt; member in struct:pkt
252 spkt.cnt = rpkt.cnt = 0;
271 if (spkt.cnt > 0)
273 spkt.cnt);
274 if (rpkt.cnt > 0)
276 rpkt.cnt);
279 if (pkt->cnt > 0) {
285 nb = pkt->cnt;
287 pkt->cnt
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Dstr.c264 register int cnt; /* from the stdio struct and put EVERYTHING */ local
280 cnt = FILE_cnt(fp); /* get count into register */
283 if (str->str_len <= cnt) /* make sure we have the room */
284 GROWSTR(&(str->str_ptr), &(str->str_len), cnt+1);
288 while (--cnt >= 0) {
299 FILE_cnt(fp) = cnt; /* deregisterize cnt and ptr */
302 cnt = FILE_cnt(fp);
303 ptr = (STDCHAR*)FILE_ptr(fp); /* reregisterize cnt and ptr */
306 GROWSTR(&(str->str_ptr), &(str->str_len), str->str_cur + cnt
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_trace.c499 * cnt: for wrap-around calculations
513 int cnt = tt.tt_max - tt.tt_out; local
514 if (cnt > count)
515 cnt = count;
517 cnt * sizeof (_sdtr_t))) {
520 ubuf += cnt;
521 cnt = count - cnt;
522 if (copyout(&(t->tt_buf[0]), ubuf, cnt * sizeof (_sdtr_t))) {
525 tt.tt_out = cnt;
[all...]
/opensolaris-onvv-gate/usr/src/cmd/abi/appcert/scripts/
H A Dabi_index.pl201 my (%list, $paths, $path, $cnt);
207 $cnt = 0;
222 $cnt++;
225 return if ($cnt == 0);
248 if ($cnt == 1) {
/opensolaris-onvv-gate/usr/src/cmd/csh/
H A Dsh.exec.c370 int cnt; local
389 for (cnt = 0; cnt < (HSHSIZ / 8); cnt++)
390 cachearray[cnt] = 0;
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_get.c100 int cnt, ret; local
128 if ((ret = __log_find(dblp, 1, &cnt)) != 0)
136 if (cnt == 0)
137 cnt = 1;
139 nlsn.file = cnt;
/opensolaris-onvv-gate/usr/src/cmd/sh/
H A Dmain.c540 int cnt = 1; local
548 cnt += 1;
553 ptr = mod_time = (long *)alloc(sizeof (long) * cnt);
555 while (cnt) {
558 cnt--;
/opensolaris-onvv-gate/usr/src/lib/libdiskmgt/common/
H A Ddrive.c650 int cnt; local
654 for (cnt = 0; drives[cnt]; cnt++);
656 found = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
732 uint_t cnt; local
739 cnt = 0;
743 cnt++;
749 out_array = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t));
779 int cnt; local
814 int cnt; local
[all...]
H A Dpath.c286 int cnt; local
292 for (cnt = 0; pp->disks[cnt]; cnt++);
295 drives = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *));
/opensolaris-onvv-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_tab.c283 int cnt; local
285 if ((cnt = read(fd, p, 8192)) < 0) {
288 } else if (cnt == 0) {
292 sofar += cnt;
293 p += cnt;

Completed in 208 milliseconds

1234567891011>>