Home
last modified time | relevance | path

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

12

/titanic_51/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 > in xfer_cfAfile()
319 int ctr; netpr_send_message() local
[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_51/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_003_pos.ksh41 # 2. Create fs,vol,ctr,snapshot and clones of snapshot in the two datasets
52 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
[all...]
/titanic_51/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_51/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_51/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_51/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_51/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"
54 while (( i < ${#ctr[*]} )); do
57 if [[ -n ${ctr[i]} ]]; then
58 path=$path/${ctr[i]}
61 "${ctr[i]}" "$path" \
62 "ctr"
69 "${ctr[i]}/${vol[j]}" \
79 "${ctr[i]}/${fs[j]}" \
96 ((i = ${#ctr[*]} - 1))
103 "${ctr[
[all...]
/titanic_51/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"
56 while (( i < ${#ctr[*]} )); do
59 if [[ -n ${ctr[i]} ]]; then
60 path=$path/${ctr[i]}
63 "${ctr[i]}" "$path" \
64 "ctr"
71 "${ctr[i]}/${vol[j]}" \
80 "${ctr[i]}/${fs[j]}" \
96 ((i = ${#ctr[*]} - 1))
103 "${ctr[
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_006_pos.ksh69 function test_ctr_share # mntp ctr
72 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_51/usr/src/boot/sys/boot/arm64/libarm64/
H A Dcache.c44 uint64_t ctr; in get_dcache_line_size() local
48 ctr = READ_SPECIALREG(ctr_el0); in get_dcache_line_size()
54 dcl_size = CTR_DLINE_SIZE(ctr); in get_dcache_line_size()
/titanic_51/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()
1075 int ctr = 0; genent_protocols() local
1296 int ctr = 0; genent_networks() local
1516 int ctr = 0; genent_services() local
1759 int ctr = 0; genent_group() local
2074 int ctr = 0; genent_aliases() local
3514 int ctr = 0, retval = 1; genent_bootparams() local
[all...]
/titanic_51/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_51/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] in SUN_IMA_SendTargets()
2842 int ctr; SUN_IMA_RetrieveISNSServerTargets() local
[all...]
/titanic_51/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_51/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_51/usr/src/cmd/cron/
H A Delm.c409 int ctr, *val; in el_first() local
445 ctr = 1; in el_first()
447 ctr++; in el_first()
452 * ctr tells how many notices are in the first sublist in el_first()
460 fk->numnote = k->numnote - ctr + 1; in el_first()
465 k->numnote = ctr; in el_first()
/titanic_51/usr/src/uts/common/fs/ufs/
H A Dufs_lockfs.c1332 ulong_t *ctr; in ufs_lockfs_begin() local
1373 * Increment the ctr irrespective of the lockfs state. If the lockfs in ufs_lockfs_begin()
1378 * never see the value of zero for ctr - a livelock kind of scenario. in ufs_lockfs_begin()
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()
1417 * If a file system is unlocked, we would expect the ctr to have in ufs_lockfs_begin()
1420 * incrementing the ctr, but by the time we checked for in ufs_lockfs_begin()
1539 ulong_t *ctr; in ufs_lockfs_trybegin() local
1580 * Increment the ctr irrespectiv in ufs_lockfs_trybegin()
[all...]
/titanic_51/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_51/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_51/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] in sendTargets()
[all...]
/titanic_51/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsid.c579 int ctr; in iscsid_do_sendtgts() local
638 for (ctr = 0; ctr < stl_hdr->stl_out_cnt; ctr++) { in iscsid_do_sendtgts()
645 stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize, in iscsid_do_sendtgts()
646 &(stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_addr), in iscsid_do_sendtgts()
647 stl_hdr->stl_list[ctr].ste_ipaddr.a_port, in iscsid_do_sendtgts()
653 &addr_dsc.sin, (char *)stl_hdr->stl_list[ctr].ste_name, in iscsid_do_sendtgts()
654 stl_hdr->stl_list[ctr].ste_tpgt, in iscsid_do_sendtgts()

12