/illumos-gate/usr/src/uts/sun4/cpu/ |
H A D | cpu_module.c | 237 kcopy(const void *from, void *to, size_t count) in kcopy() argument 247 bcopy(const void *from, void *to, size_t count) in bcopy() argument 252 ovbcopy(const void *from, void *to, size_t count) in ovbcopy() argument 257 copyin(const void *uaddr, void *kaddr, size_t count) in copyin() argument 262 xcopyin(const void *uaddr, void *kaddr, size_t count) in xcopyin() argument 272 copyout(const void *kaddr, void *uaddr, size_t count) in copyout() argument 277 xcopyout(const void *kaddr, void *uaddr, size_t count) in xcopyout() argument 287 copyout_noerr(const void *kfrom, void *uto, size_t count) in copyout_noerr() argument 292 copyin_noerr(const void *kfrom, void *uto, size_t count) in copyin_noerr() argument 297 xcopyin_little(const void *uaddr, void *kaddr, size_t count) in xcopyin_little() argument [all …]
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | ty_enum.c | 53 int count; member 94 n -> count = (int) (v - n -> list); in make_enum() 188 int count = n -> count; in next_enum() local 191 while (count--) in next_enum() 194 if (count <= 0) in next_enum() 197 if (count >= 0 || cmp("", v, checkcase) == EXACT_MATCH) { in next_enum() 208 char ** list = n -> list + n -> count - 1; in prev_enum() 210 int count = n -> count; in prev_enum() local 213 while (count--) in prev_enum() 216 if (count <= 0) in prev_enum() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | where.test | 191 count { 197 count { 203 count { 209 count { 215 count { 221 count { 227 count { 236 count { 242 count { 248 count { [all …]
|
H A D | format3.test | 390 count { 396 count { 402 count { 408 count { 414 count { 420 count { 426 count { 435 count { 441 count { 447 count { [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | systat.c | 48 int count; local 56 count = 0; 63 count = atoi(vec[1]); 66 if (count <= 0) 67 count = 0; 76 if (count > 1) 85 count = 0; 93 count = 0; 96 count++; 121 type, count, prestime, retry, text, name); [all …]
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_msi.c | 134 int first, count, i, n; in px_msi_alloc() local 151 for (count = msi_count; count; count >>= 1) { in px_msi_alloc() 153 first += count) { in px_msi_alloc() 165 if (count > 1) { in px_msi_alloc() 168 "0x%x\n", count >> 1); in px_msi_alloc() 174 *actual_msi_count_p = count; in px_msi_alloc() 177 if ((count == 0) || in px_msi_alloc() 201 if (count == 0) in px_msi_alloc() 203 count++; in px_msi_alloc() 204 if (count == msi_count) in px_msi_alloc() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | bf.c | 356 count = nbytes; 398 while (count < nbytes) 401 buf + count, 411 count += retval; 416 bfp->bf_offset += count; 417 return count; 517 if (count < 0) 528 count = nbytes; 602 while (count < nbytes) 612 count += retval; [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rw.c | 684 count = 0; in readv() 687 count += iovlen; in readv() 745 count = 0; in readv() 801 return (count); in readv() 876 count = 0; in writev() 984 return (count); in writev() 1079 count = 0; in preadv() 1122 count = 0; in preadv() 1194 return (count); in preadv() 1280 count = 0; in pwritev() [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_hash.c | 88 int count; in sip_hash_find() local 95 for (count = 0; count < hash_entry->hash_count; count++) { in sip_hash_find() 115 int count; in sip_walk_hash() local 119 for (count = 0; count < SIP_HASH_SZ; count++) { in sip_walk_hash() 120 hash_entry = &sip_hash[count]; in sip_walk_hash() 142 int count; in sip_hash_delete() local 149 for (count = 0; count < hash_entry->hash_count; count++) { in sip_hash_delete()
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | sprintf.c | 45 ssize_t count; in sprintf() local 54 count = _ndoprnt(format, ap, &siop, 0); in sprintf() 57 if (count == EOF) { in sprintf() 62 if ((size_t)count > MAXINT) { in sprintf() 66 return ((int)count); in sprintf() 85 ssize_t count; in _sprintf_c89() local 89 count = _vsprintf_c89(string, format, ap); in _sprintf_c89() 91 return ((int)count); in _sprintf_c89()
|
H A D | printf.c | 46 ssize_t count; in printf() local 69 count = _ndoprnt(format, ap, stdout, 0); in printf() 73 if (FERROR(stdout) || count == EOF) { in printf() 81 if ((size_t)count > MAXINT) { in printf() 85 return ((int)count); in printf() 104 ssize_t count; in _printf_c89() local 108 count = _vprintf_c89(format, ap); in _printf_c89() 110 return ((int)count); in _printf_c89()
|
H A D | fprintf.c | 52 ssize_t count; in fprintf() local 75 count = _ndoprnt(format, ap, iop, 0); in fprintf() 78 if (FERROR(iop) || count == EOF) { in fprintf() 86 if ((size_t)count > MAXINT) { in fprintf() 90 return ((int)count); in fprintf() 108 ssize_t count; in _fprintf_c89() local 112 count = _vfprintf_c89(iop, format, ap); in _fprintf_c89() 114 return ((int)count); in _fprintf_c89()
|
H A D | snprintf.c | 45 ssize_t count; in snprintf() local 80 count = _ndoprnt(format, ap, &siop, 0); in snprintf() 85 if (count == EOF) in snprintf() 89 if ((size_t)count > max) { in snprintf() 93 return ((int)count); in snprintf() 112 ssize_t count; in _snprintf_c89() local 116 count = _vsnprintf_c89(string, n, format, ap); in _snprintf_c89() 118 return ((int)count); in _snprintf_c89()
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_acquire_cred_with_pw.c | 44 create_actual_mechs(mechs_array, count) in create_actual_mechs() argument 46 int count; 63 actual_mechs->count = 0; 65 for (i = 0; i < count; i++) { 73 actual_mechs->count++; 143 default_OID_set.count = 1; 150 if (mechs->count == 0) 194 if (creds->count < 1) { 205 creds->count)) == NULL) { 379 union_cred->count + 1); [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_cm.c | 296 uint_t cnt = *count; in ibtl_cm_get_cnt() 300 *count = 0; in ibtl_cm_get_cnt() 438 *count = pcount; in ibtl_cm_get_cnt() 475 count); in ibtl_cm_get_active_plist() 593 int count; in ibtl_cm_free_active_plist() local 655 int count = 0; in ibtl_cm_get_local_comp_gids() local 694 count++; in ibtl_cm_get_local_comp_gids() 699 if (count == 0) { in ibtl_cm_get_local_comp_gids() 707 *num_gids_p = count; in ibtl_cm_get_local_comp_gids() 733 if (k == count) in ibtl_cm_get_local_comp_gids() [all …]
|
/illumos-gate/usr/src/test/bhyve-tests/tests/perf/ |
H A D | payload_entry_exit.c | 27 uint32_t count; member 34 for (uint32_t i = 0; i < td->count; i++) { in zero_data() 42 for (uint32_t i = td->count - 1; i > 0; i--) { in output_data() 71 for (uint32_t i = 0; i < td->count; i++) { in do_test_rdmsr() 91 for (uint32_t i = 0; i < td->count; i++) { in do_test_inb() 111 for (uint32_t i = 0; i < td->count; i++) { in do_test_mmio_cheap() 124 const uint32_t count = inl(IOP_TEST_PARAM0); in start() local 126 if (count * sizeof (uint64_t) > HEAP_LIMIT) { in start() 133 .count = count, in start()
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_kef_ioctl.c | 233 if (count > 1) { in setup_get_soft_info() 244 psoft_info->si_count = count; in setup_get_soft_info() 258 int count = DEFAULT_DEV_NUM; in get_dev_list() local 274 pdevlist->dl_dev_count = count; in get_dev_list() 347 dev_info->di_count = count; in get_dev_info() 418 int count; in get_soft_info() local 446 count = 1; in get_soft_info() 448 count = pent->sup_count; in get_soft_info() 457 count = 1; in get_soft_info() 545 int count = DEFAULT_SOFT_NUM; in get_soft_list() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | cubetype.sh | 36 integer -S count=0 44 (( _.count++)) 65 exp=2 got=$(( b.count )) 67 exp=2 got=${b.count} 95 b.count=0 109 (( _.count++)) 134 (( c.count == b.count )) || err_exit 'c.count != b.count' 135 c.count=0 166 cc.count=0 185 cc[two].count=0 [all …]
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_cryptoadm.c | 78 int count; in count_mechanisms() local 79 for (count = 0; mechs[count][0] != '\0'; ++count) in count_mechanisms() 81 return (count); in count_mechanisms() 317 *count = 0; in crypto_get_dev_list() 347 *count = new_count; in crypto_get_dev_list() 504 *count = k; in crypto_get_dev_info() 857 *count = 0; in dup_mech_names() 871 *count = n; in dup_mech_names() 931 uint_t count, i; in is_mech_disabled() local 956 if (i == count) in is_mech_disabled() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgnmchk.c | 57 int count, i, n; in valname() local 83 count = 0; in valname() 85 count++; in valname() 91 if (!count || (count > 4)) in valname() 97 count = 0; in valname() 103 count++, pkg++; in valname() 108 if (count > ABI_NAMELNGTH) in valname() 110 } else if (count > NON_ABI_NAMELNGTH) in valname()
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcGetFcpTargetMapping.cc | 71 int count; in Sun_fcGetFcpTargetMapping() local 116 for (count = current; count < limit; count++) { in Sun_fcGetFcpTargetMapping() 117 memcpy(&mapping->entry[count].ScsiId, in Sun_fcGetFcpTargetMapping() 118 &mappingV2->entry[count-current].ScsiId, in Sun_fcGetFcpTargetMapping() 119 sizeof (mapping->entry[count].ScsiId)); in Sun_fcGetFcpTargetMapping() 120 memcpy(&mapping->entry[count].FcpId, in Sun_fcGetFcpTargetMapping() 121 &mappingV2->entry[count-current].FcpId, in Sun_fcGetFcpTargetMapping() 122 sizeof (mapping->entry[count].FcpId)); in Sun_fcGetFcpTargetMapping()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.neglquant.d.out | 3 value ------------- Distribution ------------- count 9 value ------------- Distribution ------------- count 15 value ------------- Distribution ------------- count 22 value ------------- Distribution ------------- count 29 value ------------- Distribution ------------- count 42 value ------------- Distribution ------------- count 54 value ------------- Distribution ------------- count
|
H A D | tst.negquant.d.out | 3 value ------------- Distribution ------------- count 9 value ------------- Distribution ------------- count 15 value ------------- Distribution ------------- count 23 value ------------- Distribution ------------- count 30 value ------------- Distribution ------------- count 39 value ------------- Distribution ------------- count 48 value ------------- Distribution ------------- count
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa_errlog.c | 144 &count) == 0) in spa_get_errlog_size() 145 total += count; in spa_get_errlog_size() 149 &count) == 0) in spa_get_errlog_size() 150 total += count; in spa_get_errlog_size() 176 if (*count == 0) { in process_error_log() 190 *count -= 1; in process_error_log() 205 if (*count == 0) in process_error_list() 213 *count -= 1; in process_error_list() 243 count); in spa_get_errlog() 248 count); in spa_get_errlog() [all …]
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | kobj_subr.c | 65 stand_bzero(void *p_arg, size_t count) in stand_bzero() argument 70 while (count != 0) in stand_bzero() 71 *p++ = zero, count--; in stand_bzero() 75 stand_bcopy(const void *src_arg, void *dest_arg, size_t count) in stand_bcopy() argument 80 if (src < dest && (src + count) > dest) { in stand_bcopy() 82 while (--count != -1) in stand_bcopy() 83 *(dest + count) = *(src + count); in stand_bcopy() 85 while (--count != -1) in stand_bcopy()
|