Home
last modified time | relevance | path

Searched refs:ctr (Results 1 – 25 of 36) sorted by relevance

12

/titanic_41/usr/src/cmd/lp/model/netpr/
H A Dnet.c133 int ctr; in xfer_file() local
142 ctr = filesize; in xfer_file()
145 while (ctr > 0) { in xfer_file()
147 syslog(LOG_DEBUG, "xfer_file: write while loop => ctr = %d", ctr); in xfer_file()
152 nw = write(sockfd, pa, ctr); in xfer_file()
180 ctr -= nw; in xfer_file()
197 int ctr; in xfer_cfAfile() local
212 ctr = size; in xfer_cfAfile()
219 while (ctr > 0) { in xfer_cfAfile()
243 ctr -= nw; in xfer_cfAfile()
[all …]
H A Dtcp_misc.c152 int ctr = 0; in tcp_print() local
173 while (ctr < BUFSIZ) { in tcp_print()
194 if ((buf[ctr++] = c) == '\n' || (nr == 0)) in tcp_print()
198 if (ctr > 1) in tcp_print()
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_003_pos.ksh52 for obj in $ctr2 $ctr1 $ctr; do
75 ctr=$TESTPOOL/$TESTCTR
77 ctr2=$ctr/$TESTCTR2
79 child_fs=$ctr/$TESTFS1
83 child_vol=$ctr/$TESTVOL
87 child_fs_snap_clone=$ctr/$TESTCLONE
91 child_fs1_snap_clone1=$ctr/${TESTCLONE1}_across_ctr
96 log_must $ZFS create $ctr
134 for obj in $child_fs $child_fs1 $ctr $ctr1; do
152 log_must $ZFS destroy -r $ctr
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_009_pos.ksh54 for ds in $ctr/$TESTVOL1 $ctr/$TESTCLONE; do
59 for snap in $ctr/$TESTFS1@$TESTSNAP1 \
72 ctr=$TESTPOOL/$TESTCTR
73 ctrfs=$ctr/$TESTFS1
74 ctrclone=$ctr/$TESTCLONE
75 ctrvol=$ctr/$TESTVOL1
78 snapctr=$ctr@$TESTSNAP
H A Dsnapshot_010_pos.ksh68 ctr=$TESTPOOL/$TESTCTR
69 ctrfs=$ctr/$TESTFS1
70 ctrvol=$ctr/$TESTVOL1
73 snapctr=$ctr@$TESTSNAP
75 snapctrvol=$ctr/$TESTVOL1@$TESTSNAP
76 snapctrclone=$ctr/$TESTCLONE@$TESTSNAP
H A Dsnapshot_012_pos.ksh73 ctr=$TESTPOOL/$TESTCTR
74 ctrfs=$ctr/$TESTFS1
75 clone=$ctr/$TESTCLONE
76 clone1=$ctr/$TESTCLONE1
79 snapctr=$ctr@$TESTSNAP
92 log_fail "'snapshot -r' fails to create $snapctrclone for $ctr/$TESTCLONE."
H A Dsnapshot_013_pos.ksh64 ctr=$TESTPOOL/$TESTCTR
65 ctrfs=$ctr/$TESTFS
68 snapctr=$ctr@$TESTSNAP
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dstats.c91 struct rds_info_counter ctr; in rdsv3_stats_info_copy() local
95 ASSERT(!(strlen(names[i]) >= sizeof (ctr.name))); in rdsv3_stats_info_copy()
96 (void) strncpy((char *)ctr.name, names[i], in rdsv3_stats_info_copy()
97 sizeof (ctr.name) - 1); in rdsv3_stats_info_copy()
98 ctr.value = values[i]; in rdsv3_stats_info_copy()
100 rdsv3_info_copy(iter, &ctr, sizeof (ctr)); in rdsv3_stats_info_copy()
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_002_pos.ksh54 datasetexists $ctr && \
55 log_must $ZFS destroy -r $ctr
75 $ZFS receive -d $ctr <$stream
106 ctr=$TESTPOOL/$TESTCTR
108 rstfs=$ctr/$TESTFS
110 ds_path=$ctr/${ZONE_CTR}0
126 log_must $ZFS create $ctr
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs/
H A Dzfs_002_pos.ksh54 for ds in $fs1 $fs $ctr; do
72 ctr=$TESTPOOL/$TESTCTR
73 log_must $ZFS create $ctr
75 fs=$ctr/$TESTFS
76 fs1=$ctr/$TESTFS1
78 clone=$ctr/$TESTCLONE
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_all_001_pos.ksh45 set -A ctr "" "$TESTCTR" "$TESTCTR/$TESTCTR1" "$TESTCTR1"
57 if [[ -n ${ctr[i]} ]]; then
58 path=$path/${ctr[i]}
115 [[ -n ${ctr[i]} ]] && \
146 [[ -n ${ctr[i]} ]] && \
147 path=$path/${ctr[i]}
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_all_001_pos.ksh47 set -A ctr "" "$TESTCTR" "$TESTCTR1" "$TESTCTR/$TESTCTR1"
59 if [[ -n ${ctr[i]} ]]; then
60 path=$path/${ctr[i]}
115 [[ -n ${ctr[i]} ]] && \
134 [[ -n ${ctr[i]} ]] && \
135 path=$path/${ctr[i]}
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_006_pos.ksh72 typeset ctr=$2
77 log_must $ZFS set sharenfs=on $ctr
86 log_must $ZFS create $ctr/$TESTFS2
87 log_must $ZFS set mountpoint=$mntp2 $ctr/$TESTFS2
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c604 int ctr = 0, retval = 1; in genent_hosts() local
725 ctr++; in genent_hosts()
728 ctr * sizeof (char **))) == NULL) { in genent_hosts()
732 data.h_aliases[ctr-1] = alias; in genent_hosts()
742 ctr + 2 : ctr + 1) * sizeof (char **))) == NULL) { in genent_hosts()
748 data.h_aliases[ctr++] = ecol[3].ec_value.ec_value_val; in genent_hosts()
750 data.h_aliases[ctr] = NULL; in genent_hosts()
864 int ctr = 0; in genent_rpc() local
956 ctr++; in genent_rpc()
959 ctr * sizeof (char **))) == NULL) { in genent_rpc()
[all …]
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/
H A Dsnowbird.c671 int unit_no = -1, ctr = 0; in pd_prt_slot_info() local
699 while (valbuf[ctr] != ' ' && valbuf[ctr] != NULL) { in pd_prt_slot_info()
700 label_txt[ctr] = valbuf[ctr]; in pd_prt_slot_info()
701 ++ctr; in pd_prt_slot_info()
704 label_txt[ctr++] = '\0'; in pd_prt_slot_info()
706 if (valbuf[ctr] != NULL) { in pd_prt_slot_info()
707 unit_no = atoi(valbuf+ctr); in pd_prt_slot_info()
/titanic_41/usr/src/cmd/iscsiadm/
H A Dsun_ima.c816 int ctr; in SUN_IMA_SendTargets() local
910 for (ctr = 0; ctr < stl_hdr->stl_out_cnt; ctr++) { in SUN_IMA_SendTargets()
911 (void) mbstowcs((*ppList)->keys[ctr].name, in SUN_IMA_SendTargets()
912 (char *)stl_hdr->stl_list[ctr].ste_name, in SUN_IMA_SendTargets()
915 (*ppList)->keys[ctr].tpgt = stl_hdr->stl_list[ctr].ste_tpgt; in SUN_IMA_SendTargets()
917 (*ppList)->keys[ctr].address.portNumber = in SUN_IMA_SendTargets()
918 stl_hdr->stl_list[ctr].ste_ipaddr.a_port; in SUN_IMA_SendTargets()
920 if (stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize == in SUN_IMA_SendTargets()
922 (*ppList)->keys[ctr].address.ipAddress.ipv4Address = in SUN_IMA_SendTargets()
924 } else if (stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize == in SUN_IMA_SendTargets()
[all …]
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_009_neg.ksh76 for ctr in $ctr1 $ctr2; do
77 log_must $ZFS create $ctr
/titanic_41/usr/src/uts/sun4u/opl/os/
H A Dopl.c1062 int ctr; in plat_lock_delay() local
1085 for (ctr = cnt * OPL_BOFF_SPIN; ctr; ctr--) { in plat_lock_delay()
1112 for (ctr = OPL_BOFF_SPIN; ctr; ctr--) { in plat_lock_delay()
/titanic_41/usr/src/cmd/cron/
H A Delm.c410 int ctr, *val; in el_first() local
446 ctr = 1; in el_first()
448 ctr++; in el_first()
461 fk->numnote = k->numnote - ctr + 1; in el_first()
466 k->numnote = ctr; in el_first()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dcipher-ctr.c45 ssh_ctr_inc(u_char *ctr, u_int len) in ssh_ctr_inc() argument
50 if (++ctr[i]) /* continue on overflow */ in ssh_ctr_inc()
H A Dprogressmeter.c253 start_progress_meter(char *f, off_t filesize, off_t *ctr) in start_progress_meter() argument
259 counter = ctr; in start_progress_meter()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_lockfs.c1332 ulong_t *ctr; in ufs_lockfs_begin() local
1380 ctr = (mask & ULOCKFS_FWLOCK) ? in ufs_lockfs_begin()
1383 atomic_inc_ulong(ctr); in ufs_lockfs_begin()
1402 if (!atomic_dec_ulong_nv(ctr)) in ufs_lockfs_begin()
1539 ulong_t *ctr; in ufs_lockfs_trybegin() local
1587 ctr = (mask & ULOCKFS_FWLOCK) ? in ufs_lockfs_trybegin()
1590 atomic_inc_ulong(ctr); in ufs_lockfs_trybegin()
1604 if (!atomic_dec_ulong_nv(ctr)) in ufs_lockfs_trybegin()
1620 atomic_inc_ulong(ctr); in ufs_lockfs_trybegin()
1651 atomic_inc_ulong(ctr); in ufs_lockfs_trybegin()
/titanic_41/usr/src/lib/libsecdb/common/
H A Dsecdb.c98 int ctr; in _kva_free_value() local
105 ctr = kva->length; in _kva_free_value()
108 while (ctr--) { in _kva_free_value()
/titanic_41/usr/src/cmd/csplit/
H A Dcsplit.c353 static int ctr; in getfile() local
363 (void) sprintf(fptr, "%.*d", fiwidth, ctr++); in getfile()
395 (void) sprintf(fptr, "%.*d", fiwidth, (ctr-2)); in getfile()
/titanic_41/usr/src/lib/libsun_ima/common/
H A Dima.c3158 int ctr; in sendTargets() local
3248 for (ctr = 0; ctr < stl_hdr->stl_out_cnt; ctr++) { in sendTargets()
3249 (void) mbstowcs((*ppList)->keys[ctr].name, in sendTargets()
3250 (char *)stl_hdr->stl_list[ctr].ste_name, in sendTargets()
3253 (*ppList)->keys[ctr].tpgt = stl_hdr->stl_list[ctr].ste_tpgt; in sendTargets()
3255 (*ppList)->keys[ctr].address.portNumber = in sendTargets()
3256 stl_hdr->stl_list[ctr].ste_ipaddr.a_port; in sendTargets()
3258 if (stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize == in sendTargets()
3260 (*ppList)->keys[ctr].address.ipAddress.ipv4Address = in sendTargets()
3262 } else if (stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize == in sendTargets()
[all …]

12