/illumos-gate/usr/src/boot/sys/boot/arm64/libarm64/ |
H A D | cache.c | 44 uint64_t ctr; local 48 ctr = READ_SPECIALREG(ctr_el0); 54 dcl_size = CTR_DLINE_SIZE(ctr);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | stats.c | 91 struct rds_info_counter ctr; local 95 ASSERT(!(strlen(names[i]) >= sizeof (ctr.name))); 96 (void) strncpy((char *)ctr.name, names[i], 97 sizeof (ctr.name) - 1); 98 ctr.value = values[i]; 100 rdsv3_info_copy(iter, &ctr, sizeof (ctr));
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | tcp_misc.c | 152 int ctr = 0; local 173 while (ctr < BUFSIZ) { 194 if ((buf[ctr++] = c) == '\n' || (nr == 0)) 198 if (ctr > 1)
|
H A D | net.c | 133 int ctr; local 142 ctr = filesize; 145 while (ctr > 0) { 147 syslog(LOG_DEBUG, "xfer_file: write while loop => ctr = %d", ctr); 152 nw = write(sockfd, pa, ctr); 180 ctr -= nw; 197 int ctr; local 212 ctr = size; 219 while (ctr > 319 int ctr; local [all...] |
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | secdb.c | 98 int ctr; local 105 ctr = kva->length; 108 while (ctr--) {
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | elm.c | 409 int ctr, *val; local 445 ctr = 1; 447 ctr++; 452 * ctr tells how many notices are in the first sublist 460 fk->numnote = k->numnote - ctr + 1; 465 k->numnote = ctr;
|
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 353 static int ctr; local 363 (void) sprintf(fptr, "%.*d", fiwidth, ctr++); 395 (void) sprintf(fptr, "%.*d", fiwidth, (ctr-2));
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/snowbird/common/ |
H A D | snowbird.c | 671 int unit_no = -1, ctr = 0; local 699 while (valbuf[ctr] != ' ' && valbuf[ctr] != NULL) { 700 label_txt[ctr] = valbuf[ctr]; 701 ++ctr; 704 label_txt[ctr++] = '\0'; 706 if (valbuf[ctr] != NULL) { 707 unit_no = atoi(valbuf+ctr);
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_lockfs.c | 1332 ulong_t *ctr; local 1373 * Increment the ctr irrespective of the lockfs state. If the lockfs 1378 * never see the value of zero for ctr - a livelock kind of scenario. 1380 ctr = (mask & ULOCKFS_FWLOCK) ? 1383 atomic_inc_ulong(ctr); 1402 if (!atomic_dec_ulong_nv(ctr)) 1417 * If a file system is unlocked, we would expect the ctr to have 1420 * incrementing the ctr, but by the time we checked for 1539 ulong_t *ctr; local 1580 * Increment the ctr irrespectiv [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsid.c | 579 int ctr; local 638 for (ctr = 0; ctr < stl_hdr->stl_out_cnt; ctr++) { 645 stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize, 646 &(stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_addr), 647 stl_hdr->stl_list[ctr].ste_ipaddr.a_port, 653 &addr_dsc.sin, (char *)stl_hdr->stl_list[ctr].ste_name, 654 stl_hdr->stl_list[ctr].ste_tpgt,
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv.c | 1697 int ctr; local 1708 ctr = anb->anb_max_index + 1; 1712 while (ctr) { 1762 ctr--;
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 578 int ctr, disk, slice, ret; local 586 if (sscanf(pretty, "c%d", &ctr) != 1) 617 iodev->is_parent_id.id = ctr;
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_open.c | 836 ctf_arinfo_t ctr; local 1217 ctr.ctr_contents = ctf_lookup_by_name(dmp->dm_ctfp, "char"); 1218 ctr.ctr_index = ctf_lookup_by_name(dmp->dm_ctfp, "long"); 1219 ctr.ctr_nelems = _dtrace_strsize; 1222 "string", ctf_add_array(dmp->dm_ctfp, CTF_ADD_ROOT, &ctr));
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | zfs.c | 901 int rv, page, ctr; local 915 ctr = 1; 920 if (ctr <= ((ZFS_BE_LAST - ZFS_BE_FIRST + 1) * (page - 1))) { 921 ctr++;
|
/illumos-gate/usr/src/cmd/iscsiadm/ |
H A D | sun_ima.c | 816 int ctr; local 910 for (ctr = 0; ctr < stl_hdr->stl_out_cnt; ctr++) { 911 (void) mbstowcs((*ppList)->keys[ctr].name, 912 (char *)stl_hdr->stl_list[ctr].ste_name, 915 (*ppList)->keys[ctr].tpgt = stl_hdr->stl_list[ctr].ste_tpgt; 917 (*ppList)->keys[ctr].address.portNumber = 918 stl_hdr->stl_list[ctr] 2842 int ctr; local [all...] |
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 604 int ctr = 0, retval = 1; local 725 ctr++; 728 ctr * sizeof (char **))) == NULL) { 732 data.h_aliases[ctr-1] = alias; 742 ctr + 2 : ctr + 1) * sizeof (char **))) == NULL) { 748 data.h_aliases[ctr++] = ecol[3].ec_value.ec_value_val; 750 data.h_aliases[ctr] = NULL; 864 int ctr = 0; local 956 ctr 1075 int ctr = 0; local 1296 int ctr = 0; local 1516 int ctr = 0; local 1759 int ctr = 0; local 2074 int ctr = 0; local 3514 int ctr = 0, retval = 1; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 1062 int ctr; local 1085 for (ctr = cnt * OPL_BOFF_SPIN; ctr; ctr--) { 1112 for (ctr = OPL_BOFF_SPIN; ctr; ctr--) {
|
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 3158 int ctr; local 3248 for (ctr = 0; ctr < stl_hdr->stl_out_cnt; ctr++) { 3249 (void) mbstowcs((*ppList)->keys[ctr].name, 3250 (char *)stl_hdr->stl_list[ctr].ste_name, 3253 (*ppList)->keys[ctr].tpgt = stl_hdr->stl_list[ctr].ste_tpgt; 3255 (*ppList)->keys[ctr].address.portNumber = 3256 stl_hdr->stl_list[ctr] [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/ |
H A D | idm.c | 2463 int ctr; local 2476 ctr = anb->anb_max_index + 1; 2480 while (ctr) { 2521 ctr--; 2531 int ctr; local 2545 ctr = audit_buf.sab_max_index + 1; 2549 while (ctr) { 2681 ctr--;
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | vm_machdep.c | 3983 static uintptr_t ctr = 0; local 4013 &tmpseg, (caddr_t)(ctr += MMU_PAGESIZE)); /* changing VA usage */
|