/illumos-gate/usr/src/boot/common/ |
H A D | tem.c | 711 cm.count = 16; in tems_reset_colormap() 1240 int count = 0; in tem_selgraph() local 1330 count++; in tem_selgraph() 1359 count++; in tem_selgraph() 1410 count++; in tem_selgraph() 1439 count++; in tem_selgraph() 1491 count++; in tem_selgraph() 2142 if (count <= 0) in tem_scroll() 2160 end - count, 0, start + count); in tem_scroll() 2281 count < 0) in tem_clear_chars() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | emacs.c | 318 if(count<0) in ed_emacsread() 319 count = 1; in ed_emacsread() 405 count = i; in ed_emacsread() 417 i -= count; in ed_emacsread() 418 eol -= count; in ed_emacsread() 499 if ((count == 0) || (count > eol)) in ed_emacsread() 527 count = i; in ed_emacsread() 528 i -= count; in ed_emacsread() 796 value = count; in escape() 946 ptr = hist_word(buf,MAXLINE,(count?count:-1)); in escape() [all …]
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | vsnprintf.c | 59 ssize_t count; in _vsnprintf_c89() local 94 count = _ndoprnt(format, ap, &siop, _F_INTMAX32); in _vsnprintf_c89() 96 count = _ndoprnt(format, ap, &siop, 0); in _vsnprintf_c89() 102 if ((size_t)count > max) { in _vsnprintf_c89() 106 return ((int)count); in _vsnprintf_c89()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/features/async_destroy/ |
H A D | async_destroy_001_pos.ksh | 66 log_must dd bs=1024k count=128 if=/dev/zero of=/$TEST_FS/file 82 count=0 84 [[ "0" != "$(zpool list -Ho freeing $TESTPOOL)" ]] && ((count++)) 85 [[ $count -gt 1 ]] && break 89 [[ $count -eq 0 ]] && log_fail "Freeing property remained empty"
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_buffer_set.c | 51 set->count = 0; in generic_gss_create_empty_buffer_set() 79 (set->count + 1) * in generic_gss_add_buffer_set_member() 87 p = &set->elements[set->count]; in generic_gss_add_buffer_set_member() 99 set->count++; in generic_gss_add_buffer_set_member() 118 for (i = 0; i < (*buffer_set)->count; i++) { in generic_gss_release_buffer_set() 127 (*buffer_set)->count = 0; in generic_gss_release_buffer_set()
|
H A D | util_ctxsetup.c | 178 int i, j, count; local 181 count = 0; 198 if ((j<nc2) && (count != i)) { 199 tmp = c1[count]; 200 c1[count] = c1[i]; 203 count++; 206 *nc1 = count;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | bld_princ.c | 40 register int i, count = 0; in krb5_build_principal_va() local 46 count = 2; in krb5_build_principal_va() 49 data = (krb5_data *) malloc(sizeof(krb5_data) * count); in krb5_build_principal_va() 67 if (i == count) { in krb5_build_principal_va() 71 sizeof(krb5_data)*(count*2)); in krb5_build_principal_va() 80 count *= 2; in krb5_build_principal_va()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mv_files/ |
H A D | mv_files_common.kshlib | 130 typeset -i count 134 count=1 136 count=$MVNUMFILES+1 139 while (( count <= $2 )) 141 cp /etc/passwd $1/file_$count \ 153 (( count = count + 1 ))
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | sm_chunk1.c | 3 static void perf_calculate_period(unsigned long nsec, unsigned long count) in perf_calculate_period() argument 5 if (nsec + count > 64) in perf_calculate_period() 8 __smatch_implied(nsec + count); in perf_calculate_period() 10 __smatch_implied(nsec + count); in perf_calculate_period()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.lquantrange.d.out | 3 value ------------- Distribution ------------- count 8 value ------------- Distribution ------------- count 13 value ------------- Distribution ------------- count 19 value ------------- Distribution ------------- count
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/drops/ |
H A D | drp.DTRACEDROP_AGGREGATION.d | 33 @["Harding"] = count(); 34 @["Hoover"] = count(); 35 @["Nixon"] = count(); 36 @["Bush"] = count();
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_find.c | 332 count = 0; in smb_com_search() 336 while (count < maxcount) { in smb_com_search() 360 count++; in smb_com_search() 372 if (count == 0 && find_first) { in smb_com_search() 488 count = 0; in smb_com_find() 492 while (count < maxcount) { in smb_com_find() 514 count++; in smb_com_find() 677 count = 0; in smb_com_find_unique() 682 while (count < maxcount) { in smb_com_find_unique() 702 count++; in smb_com_find_unique() [all …]
|
H A D | smb_read.c | 62 uint16_t count; in smb_pre_read() local 70 &count, &off_low, &remcnt); in smb_pre_read() 73 param->rw_count = (uint32_t)count; in smb_pre_read() 93 uint16_t count; in smb_com_read() local 112 count = (uint16_t)param->rw_count; in smb_com_read() 114 5, count, VAR_BCC, 0x01, count, &sr->raw_data); in smb_com_read() 146 uint16_t count; in smb_pre_lock_and_read() local 154 &count, &off_low, &remcnt); in smb_pre_lock_and_read() 157 param->rw_count = (uint32_t)count; in smb_pre_lock_and_read() 179 uint16_t count; in smb_com_lock_and_read() local [all …]
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd2.c | 647 register int h, count; in retshow() local 651 count = 0; in retshow() 654 count++; in retshow() 655 if (count == 0) { in retshow() 689 count++; in unretfield() 693 if (count == 0) in unretfield() 762 count = 0; in igshow() 765 count++; in igshow() 766 if (count == 0) { in igshow() 809 count++; in unigfield() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_msg.c | 216 entry2->id = log->count++; in emlxs_msg_log() 246 entry->id = log->count++; in emlxs_msg_log() 508 uint32_t count; in emlxs_msg_log_get() local 518 if (log->count == 0) { in emlxs_msg_log_get() 522 resp->count = 0; in emlxs_msg_log_get() 531 last = log->count - 1; in emlxs_msg_log_get() 538 resp->count = 0; in emlxs_msg_log_get() 569 count = last - first + 1; in emlxs_msg_log_get() 572 if (req->count < count) { in emlxs_msg_log_get() 573 count = req->count; in emlxs_msg_log_get() [all …]
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_send.c | 161 txbuf_queue->count += n; in bge_recycle_ring() 168 (srp->txbuf_pop_queue->count < txbuf_queue->count)) { in bge_recycle_ring() 309 if (txbuf_queue->count == 0) { in bge_get_txbuf() 313 if (txbuf_queue->count == 0) { in bge_get_txbuf() 327 txbuf_queue->count--; in bge_get_txbuf() 368 uint32_t count; in bge_send_serial() local 392 for (count = 0; count < bgep->param_drain_max; ++count) { in bge_send_serial() 395 if (count == 0) in bge_send_serial() 467 if (count != 0) { in bge_send_serial() 468 bge_atomic_sub64(&srp->tx_flow, count); in bge_send_serial() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | i8237A.c | 774 count >>= 1; in d37A_write_count() 779 --count; in d37A_write_count() 789 count_byte = (uchar_t *)&count; in d37A_write_count() 812 long count = 0; in d37A_read_count() local 816 count_byte = (uchar_t *)&count; in d37A_read_count() 826 if ((ulong_t)count == 0xffffff) in d37A_read_count() 828 if ((ulong_t)count == 0xffff) in d37A_read_count() 830 count = -1; in d37A_read_count() 838 ++count; in d37A_read_count() 845 count = (count + 1) << 1; in d37A_read_count() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcdos.c | 120 register int n, count, m; local 161 if((count = cpmax+1-cp) <=0) 167 count=0; 183 if(count>dp->bsize) 186 dp->buff = malloc(count); 189 dp->bsize = count; 194 count=1; 208 count++; 210 cpmax[-count] = dp->last; 211 dp->lhere -= count; [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_queue.c | 61 queue->count = 0; in iscsi_init_queue() 72 ASSERT(queue->count == 0); in iscsi_destroy_queue() 91 isp->sess_queue_pending.count++; in iscsi_enqueue_pending_cmd() 96 isp->sess_queue_pending.count++; in iscsi_enqueue_pending_cmd() 118 isp->sess_queue_pending.count--; in iscsi_dequeue_pending_cmd() 182 icp->conn_queue_active.count++; in iscsi_enqueue_active_cmd() 208 icp->conn_queue_active.count--; in iscsi_dequeue_active_cmd() 246 icp->conn_queue_idm_aborting.count++; in iscsi_enqueue_idm_aborting_cmd() 293 ++isp->sess_queue_completion.count; in iscsi_enqueue_completed_cmd() 316 dst_queue->count = src_queue->count; in iscsi_move_queue() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index.cc | 58 count = 0; in db_index() 96 table_size = count = 0; in reset() 249 --count; in remove() 300 if (++count > table_size) in add() 351 table_size = count = 0; in db_index() 357 table_size = count = 0; in db_index() 373 *tcount = count; in stats() 404 count = orig->count; in move_xdr_db_index() 405 orig->count = 0; in move_xdr_db_index()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sortctrl.c | 215 int count = 0; in count_tokens() local 226 count++; in count_tokens() 235 return count; in count_tokens() 353 int count = 0; in ldap_create_sort_keylist() local 366 count = count_tokens(string_rep); in ldap_create_sort_keylist() 367 if (0 == count) { in ldap_create_sort_keylist() 373 * (count + 1) ); in ldap_create_sort_keylist() 380 for (i = 0; i < count; i++) { in ldap_create_sort_keylist() 382 pointer_array[count] = NULL; in ldap_create_sort_keylist() 388 pointer_array[count] = NULL; in ldap_create_sort_keylist()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetNumberOfAdapters.c | 39 int count; in Sun_sasGetNumberOfAdapters() local 44 for (count = 0, hba_ptr = global_hba_head; in Sun_sasGetNumberOfAdapters() 45 hba_ptr != NULL; hba_ptr = hba_ptr->next, count++) {} in Sun_sasGetNumberOfAdapters() 49 return (count); in Sun_sasGetNumberOfAdapters()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_negative.ksh | 46 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 51 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \ 59 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 64 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \ 71 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 75 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \ 82 dd if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \ 86 dd if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ofs_gen_util.c | 64 if (!list->count) { in add_genlist() 71 list->count++; in add_genlist() 95 list->count--; in delete_genlist() 110 list->count--; in remove_genlist_head() 151 if (!list->count) { in insert_genlist_tail() 158 list->count++; in insert_genlist_tail()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsinfo.c | 197 count++; in devfs_get_prom_name_list() 275 count++; in devfs_get_prom_names() 285 count = 0; in devfs_get_prom_names() 288 count++; in devfs_get_prom_names() 295 count = 0; in devfs_get_prom_names() 297 list[count] = alias_list[count]; in devfs_get_prom_names() 298 count++; in devfs_get_prom_names() 337 count++; in devfs_get_all_prom_names() 1684 count++; in prom_dev_to_alias() 1689 count++; in prom_dev_to_alias() [all …]
|