Searched refs:cnt (Results 326 - 350 of 889) sorted by relevance

<<11121314151617181920>>

/opensolaris-onvv-gate/usr/src/cmd/vi/port/
H A Dex_cmdsub.c431 int cnt; local
435 cnt = unddol - dol;
436 if (cnt && inopen && pkill[0] && pkill[1]) {
443 notecnt = cnt;
444 netchange(cnt);
562 shift(int c, int cnt) argument
571 cnt *= value(vi_SHIFTWIDTH);
583 cp = genindent(i + cnt);
589 i -= cnt;
1251 int cnt; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_policy.c199 * cnt (inout) Number of entries
208 osa_policy_ent_t *entry, int *cnt)
218 *cnt = 1;
231 *cnt = 0;
207 osa_adb_get_policy(osa_adb_policy_t db, char *name, osa_policy_ent_t *entry, int *cnt) argument
/opensolaris-onvv-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c387 uint_t cnt; local
398 (void) nvpair_value_string_array(nvp, &str_array, &cnt);
400 for (i = 0; i < cnt; i++) {
/opensolaris-onvv-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_byteswap.c139 int cnt; local
146 cnt = size / sizeof (ace_t);
148 zfs_oldace_byteswap((ace_t *)buf, cnt);
/opensolaris-onvv-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_heartbeat.c206 int cnt; local
213 cnt = sctps->sctps_maxburst;
225 if (cnt-- > 0) {
/opensolaris-onvv-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c140 int cnt; local
152 for (cnt = 0; cnt < wq->cfg.nhdl; cnt++) {
153 ret = oce_wqm_ctor(&wq->wq_mdesc_array[cnt], wq);
158 &wq->wq_mdesc_array[cnt]);
202 int cnt; local
214 for (cnt = 0; cnt < wq->cfg.nbufs; cnt
[all...]
/opensolaris-onvv-gate/usr/src/lib/libbsm/common/
H A Dau_to.c761 short cnt = 0; local
773 for (cnt = 0; cnt < argc; cnt++) {
774 len += (short)sizeof (short) + (short)(strlen(argv[cnt]) + 1);
793 for (cnt = 0; cnt < argc; cnt++) {
794 len = (short)(strlen(argv[cnt]) + 1);
796 adr_char(&adr, argv[cnt], le
[all...]
/opensolaris-onvv-gate/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_maptbl.c393 size_t cnt; local
470 cnt = size / sizeof (long);
472 cnt = maptbl_object_p->i_palen / sizeof (long);
473 dbug_assert((cnt * sizeof (long)) ==
476 memset(lp, 0, cnt * sizeof (*lp));
/opensolaris-onvv-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_printer.c762 int cnt; local
766 cnt = strlen(ptr);
767 if (cnt == 0)
769 mptr = (char *)calloc((unsigned)cnt+1, sizeof (char));
778 cnt = strlen(mptr);
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c72 size_t ndx, cnt; local
168 for (cnt = 0, stdsecs = &StdSecs[cnt]; stdsecs->ss_name; cnt++,
169 ndx++, stdsecs = &StdSecs[cnt]) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/ldd/common/
H A Dldd.c400 int dynamic = 0, interp = 0, cnt, class; local
490 for (cnt = 0; cnt < (int)ehdr.e_phnum; cnt++) {
494 if (gelf_getphdr(elf, cnt, &phdr) == NULL) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/common/
H A Dclscook.c93 _elf_prepscn(Elf *elf, size_t cnt) argument
99 if (cnt == 0)
102 if ((s = malloc(cnt * sizeof (Elf_Scn))) == 0) {
107 elf->ed_scntabsz = cnt;
108 end = s + cnt;
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmaps.c209 int cnt; local
278 for (cnt = 0; cnt < (int)(ehdr.e_phnum); cnt++) {
279 if (gelf_getphdr(mp->mi_elf, cnt, &phdr) == NULL) {
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/
H A Dmakedbm.c133 int cnt, i; local
382 cnt = strlen(buf) - 1; /* erase trailing newline */
383 while (p[cnt-1] == '\\') {
384 p += cnt-1;
387 cnt = strlen(p) - 1;
H A Dypxfrd_server.c266 int cnt; local
273 cnt = s[0];
274 for (i = 0; i <= cnt; i++)
291 cnt = s[0];
292 for (i = 0; i <= cnt; i++)
/opensolaris-onvv-gate/usr/src/lib/libnsl/rpc/
H A Dxdr.c377 * cp points to the opaque object and cnt gives the byte length.
380 xdr_opaque(XDR *xdrs, caddr_t cp, const uint_t cnt) argument
388 if (cnt == 0)
394 rndup = cnt % BYTES_PER_XDR_UNIT;
400 if (!XDR_GETBYTES(xdrs, cp, cnt))
406 if (!XDR_PUTBYTES(xdrs, cp, cnt))
/opensolaris-onvv-gate/usr/src/lib/libsip/common/
H A Dsip_logging.c250 int cnt; local
252 for (cnt = 0; cnt < len; cnt++)
253 (void) fprintf(fp, "%u ", digest[cnt]);
/opensolaris-onvv-gate/usr/src/stand/lib/fs/nfs/
H A Dclnt_btcp.c452 register int i, cnt; local
454 for (cnt = len; cnt > 0; cnt -= i, buf += i) {
455 if ((i = sendto(ct->ct_sock, (void *)buf, cnt, 0,
/opensolaris-onvv-gate/usr/src/tools/pmodes/
H A Dpmodes.c507 int cnt = 0, first = 0; local
509 while (--tmp > name && cnt < 2) {
511 if (++cnt == 1)
517 cnt--;
521 if (cnt < 2)
/opensolaris-onvv-gate/usr/src/ucblib/librpcsoc/
H A Dclnt_tcp.c460 register int i, cnt; local
462 for (cnt = len; cnt > 0; cnt -= i, buf += i) {
463 if ((i = write(ct->ct_sock, buf, cnt)) == -1) {
/opensolaris-onvv-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.c596 * as RW_READER and update the cnt[], this isn't a problem
1117 int cnt; local
1160 if ((cnt = iov->iov_len) == 0) {
1163 cnt = MIN(cnt, uio->uio_resid);
1164 error = xcopyin(iov->iov_base, bp, cnt);
1168 iov->iov_base += cnt;
1169 iov->iov_len -= cnt;
1170 uio->uio_resid -= cnt;
1171 uio->uio_loffset += cnt;
1288 int cnt; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/rpc/
H A Dxdr.c399 * cp points to the opaque object and cnt gives the byte length.
407 xdr_opaque(XDR *xdrs, caddr_t cp, const uint_t cnt) argument
415 if (cnt == 0)
421 rndup = cnt % BYTES_PER_XDR_UNIT;
426 if (!XDR_GETBYTES(xdrs, cp, cnt)) {
435 if (!XDR_PUTBYTES(xdrs, cp, cnt)) {
/opensolaris-onvv-gate/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c401 PR_NODE("sgfru:%s: handle %lx cnt %d buffer 0x%p\n", f,
486 PR_HANDLE("sgfru:%s: count %x\n", f, hinfo.cnt);
696 PR_SEGMENT("sgfru:%s: handle %lx, max cnt %d\n",
755 PR_SEGMENT("sgfru:%s: handle %lx, max cnt %d\n",
770 PR_SEGMENT("sgfru:%s: handle %lx, actual cnt %d\n",
771 f, sinfo.hdl, sinfo.cnt);
811 PR_SEGMENT("sgfru:%s: handle %lx, max cnt %d\n",
835 PR_SEGMENT("sgfru:%s: handle %lx, actual cnt %d\n",
991 PR_PAYLOAD("sgfru:%s: handle %lx, max cnt %d\n",
1013 PR_PAYLOAD("sgfru:%s: handle %lx, max cnt
1527 sgfru_copyin_buffer(const sgfru_init_arg_t *argp, const caddr_t data, const int cnt, char *buffer) argument
1713 int i, cnt = 1; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c87 * - cnt: number of properties to be set.
96 val_desc_t *propval, uint_t cnt, uint_t flags,
102 * - cnt: number of properties.
114 datalink_id_t, char **propstrp, uint_t *cnt,
817 uint_t cnt, i; local
853 cnt = val_cnt;
860 cnt = 1;
871 prop_val, &cnt, flags, &vdp, media);
885 status = pdp->pd_set(handle, pdp, linkid, vdp, cnt, flags,
888 for (i = 0; i < cnt;
1047 uint_t cnt, dld_flags = 0; local
1646 extract_maxbw(val_desc_t *vdp, uint_t cnt, void *arg) argument
1815 extract_cpus(val_desc_t *vdp, uint_t cnt, void *arg) argument
1932 extract_pool(val_desc_t *vdp, uint_t cnt, void *arg) argument
1980 extract_priority(val_desc_t *vdp, uint_t cnt, void *arg) argument
2147 extract_rxrings(val_desc_t *vdp, uint_t cnt, void *arg) argument
2217 extract_txrings(val_desc_t *vdp, uint_t cnt, void *arg) argument
2294 uint32_t i, cnt = 0, setbits[32]; local
2357 extract_protection(val_desc_t *vdp, uint_t cnt, void *arg) argument
2372 extract_allowedips(val_desc_t *vdp, uint_t cnt, void *arg) argument
2743 extract_allowedcids(val_desc_t *vdp, uint_t cnt, void *arg) argument
3350 uint_t cnt = 0; local
3978 uint_t cnt; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/avs/sv/
H A Dsvadm.c603 int cnt; local
612 for (cnt = 0; cnt < index; cnt++) {
617 if (svn[cnt].svn_path[0] == '\0') {
626 rc = enable_dev(&svn[cnt]);
811 int cnt, i; local
852 cnt = sscanf(line, "%s %s", rdev, junk);
854 if (cnt != 1 && cnt !
[all...]

Completed in 301 milliseconds

<<11121314151617181920>>