/illumos-gate/usr/src/boot/sys/amd64/include/ |
H A D | cpufunc.h | 223 insb(u_int port, void *addr, size_t count) in insb() argument 226 : "+D" (addr), "+c" (count) in insb() 232 insw(u_int port, void *addr, size_t count) in insw() argument 235 : "+D" (addr), "+c" (count) in insw() 241 insl(u_int port, void *addr, size_t count) in insl() argument 244 : "+D" (addr), "+c" (count) in insl() 277 outsb(u_int port, const void *addr, size_t count) in outsb() argument 280 : "+S" (addr), "+c" (count) in outsb() 285 outsw(u_int port, const void *addr, size_t count) in outsw() argument 288 : "+S" (addr), "+c" (count) in outsw() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | fcloseall.c | 35 int count; in fcloseall() local 41 { nclose = count = 0; in fcloseall() 48 { count += 1; in fcloseall() 53 if(nclose == count) in fcloseall()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_virtio_input.c | 240 if (count <= 0 || !sc) { in pci_vtinput_get_bitmap() 251 for (int i = count - 1; i >= 0; i--) { in pci_vtinput_get_bitmap() 311 const unsigned int cmd = EVIOCGPROP(count); in pci_vtinput_read_config_prop_bits() 325 int count; in pci_vtinput_read_config_ev_bits() local 329 count = KEY_CNT; in pci_vtinput_read_config_ev_bits() 332 count = REL_CNT; in pci_vtinput_read_config_ev_bits() 335 count = ABS_CNT; in pci_vtinput_read_config_ev_bits() 338 count = MSC_CNT; in pci_vtinput_read_config_ev_bits() 341 count = SW_CNT; in pci_vtinput_read_config_ev_bits() 344 count = LED_CNT; in pci_vtinput_read_config_ev_bits() [all …]
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosacpi.c | 56 unsigned count, i; in find_spcr() local 65 count = xsdt->Header.Length - sizeof (ACPI_TABLE_HEADER); in find_spcr() 66 count /= sizeof (xsdt->TableOffsetEntry[0]); in find_spcr() 67 for (i = 0; i < count; i++) { in find_spcr() 78 count = rsdt->Header.Length - sizeof (ACPI_TABLE_HEADER); in find_spcr() 79 count /= sizeof (rsdt->TableOffsetEntry[0]); in find_spcr() 80 for (i = 0; i < count; i++) { in find_spcr()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sendfile.c | 163 *count += cnt; in sendvec_chunk64() 205 *count += cnt; in sendvec_chunk64() 327 *count += cnt; in sendvec_chunk64() 383 if (copyout(&count, xferred, sizeof (count))) in sendvec64() 388 return (count); in sendvec64() 676 *count += size; in sendvec_small_chunk() 855 *count += cnt; in sendvec_chunk() 985 *count += cnt; in sendvec_chunk() 1335 &count); in sendfilev() 1370 if (copyout(&count, xferred, sizeof (count))) in sendfilev() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem_safe.c | 593 int count = 0; in tem_safe_selgraph() local 682 count++; in tem_safe_selgraph() 711 count++; in tem_safe_selgraph() 761 count++; in tem_safe_selgraph() 790 count++; in tem_safe_selgraph() 842 count++; in tem_safe_selgraph() 1617 if (count <= 0) in tem_safe_scroll() 1637 end - count, 0, start + count, in tem_safe_scroll() 1765 count < 0) in tem_safe_clear_chars() 2361 int count, in tem_safe_shift() argument [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_trans2_find.c | 284 int count; in smb_com_trans2_find_first2() local 338 if (count == -1) { in smb_com_trans2_find_first2() 344 if (count == 0) { in smb_com_trans2_find_first2() 434 int count; in smb_com_trans2_find_next2() local 498 if (count == -1) { in smb_com_trans2_find_next2() 538 uint16_t count, maxcount; in smb_trans2_find_entries() local 564 count = 0; in smb_trans2_find_entries() 565 while (count < maxcount) { in smb_trans2_find_entries() 585 ++count; in smb_trans2_find_entries() 600 if (count != 0) in smb_trans2_find_entries() [all …]
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | postio.c | 908 else if (count == 0) in writeblock() 911 head += count; in writeblock() 912 return (count); in writeblock() 1210 int count; in Read() local 1214 count = 0; in Read() 1215 } else count = 0; in Read() 1217 return (count); in Read() 1236 int count; in Write() local 1240 count = n; in Write() 1241 } else count = n; in Write() [all …]
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | hypercall.c | 59 HYPERVISOR_mmu_update(mmu_update_t *req, int count, int *success_count, in HYPERVISOR_mmu_update() argument 63 (ulong_t)req, (long)count, (ulong_t)success_count, in HYPERVISOR_mmu_update() 177 HYPERVISOR_console_io(int cmd, int count, char *str) in HYPERVISOR_console_io() argument 179 return (__hypercall3(__HYPERVISOR_console_io, (long)cmd, (long)count, in HYPERVISOR_console_io() 192 HYPERVISOR_grant_table_op(uint_t cmd, void *uop, uint_t count) in HYPERVISOR_grant_table_op() argument 196 (long)cmd, (ulong_t)uop, (ulong_t)count); in HYPERVISOR_grant_table_op() 242 HYPERVISOR_mmuext_op(struct mmuext_op *req, int count, uint_t *success_count, in HYPERVISOR_mmuext_op() argument 246 (ulong_t)req, (long)count, (ulong_t)success_count, in HYPERVISOR_mmuext_op()
|
H A D | gnttab.c | 146 if (gnttab_free_count >= callback->count) { in do_free_callbacks() 214 get_free_entries(int count) in get_free_entries() argument 220 if (gnttab_free_count < count && in get_free_entries() 226 gnttab_free_count -= count; in get_free_entries() 227 while (count-- > 1) in get_free_entries() 420 int count = 1; in gnttab_free_grant_references() local 428 count++; in gnttab_free_grant_references() 432 gnttab_free_count += count; in gnttab_free_grant_references() 440 int h = get_free_entries(count); in gnttab_alloc_grant_references() 478 void (*fn)(void *), void *arg, uint16_t count) in gnttab_request_free_callback() argument [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/ |
H A D | zvol_swap_002_pos.ksh | 54 typeset -i count blks volsize=$(get_prop volsize $vol) 57 ((count = blks / 2048)) 60 log_must dd if=/dev/urandom of=/tmp/$TESTFILE bs=1048576 count=$count
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 41 int count; in initialize_raw_access() local 43 for (count = 0; count < TABLE_SIZE; count++) { in initialize_raw_access() 513 int count; in fru_get_segments() local 537 for (count = 0; count < sec_obj->num_of_segment; count++) { in fru_get_segments() 597 int count; in get_section() local 682 for (count = 0; count < sec_hdr.segmentcount; count++, seg_hdr++) { in get_section() 701 int count; in fru_get_sections() local 1036 int count; in fru_get_packets() local 1055 for (count = 0; count < maxpackets; count++, packet++) { in fru_get_packets() 1097 int count; in open_raw_data() local [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_logging.c | 264 int count; in sip_write_xaction_to_log() local 279 for (count = 0; count <= SIP_SRV_NONINV_TERMINATED; count++) { in sip_write_xaction_to_log() 280 sip_log = &trans->sip_xaction_log[count]; in sip_write_xaction_to_log() 284 sip_get_xaction_state(count)); in sip_write_xaction_to_log() 300 (trans->sip_xaction_log[count]).sip_msgs = NULL; in sip_write_xaction_to_log() 316 int count; in sip_write_dlg_to_log() local 330 for (count = 0; count <= SIP_DLG_DESTROYED; count++) { in sip_write_dlg_to_log() 331 sip_log = &dialog->sip_dlg_log[count]; in sip_write_dlg_to_log() 335 sip_get_dialog_state_str(count)); in sip_write_dlg_to_log() 351 (dialog->sip_dlg_log[count]).sip_msgs = NULL; in sip_write_dlg_to_log()
|
/illumos-gate/usr/src/cmd/lp/cmd/scripts/ |
H A D | lpsched | 65 addpg cmd_opts count P 81 setprop cmd_opts/num_filters = count: ${num_filters} 92 setprop cmd_opts/num_notifiers = count: ${num_notifiers} 103 setprop cmd_opts/fd_limit = count: ${fd_limit} 114 setprop cmd_opts/reserved_fds = count: ${reserved_fds}
|
/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | getcontext_extd.c | 33 static volatile uint32_t count = 0; variable 64 count++; in getcontext_stack() 65 if (count < 5) { in getcontext_stack() 109 count++; in main() 110 if (count < 5) { in main()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | bld_pr_ext.c | 40 register int i, count = 0; in krb5_build_principal_ext() local 51 count++; in krb5_build_principal_ext() 58 princ_data = (krb5_data *) malloc(sizeof(krb5_data) * count); in krb5_build_principal_ext() 67 princ_ret->length = count; in krb5_build_principal_ext() 81 for (i = 0; i < count; i++) { in krb5_build_principal_ext()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | pre-process.c | 291 if (count > 1) in collect_arg() 334 int count = 0; in collect_arguments() local 343 count++; in collect_arguments() 347 for (count = 0; count < wanted; count++) { in collect_arguments() 360 count++; in collect_arguments() 389 count++; in collect_arguments() 655 int *count; in substitute() local 1217 token->count.normal = token->count.quoted = in set_arg_count() 1218 token->count.str = token->count.vararg = 0; in set_arg_count() 1224 struct argcount *count = &list->count; in parse_arguments() local [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_intr_irm.c | 361 ASSERT(count > 0); in i_ddi_irm_insert() 388 nreq = (irm_flag) ? count : in i_ddi_irm_insert() 596 int count, delta; in i_ddi_irm_modify_increase() local 611 pool_p->ipool_reqno += count; in i_ddi_irm_modify_increase() 612 pool_p->ipool_minno += count; in i_ddi_irm_modify_increase() 616 req_p->ireq_nreq += count; in i_ddi_irm_modify_increase() 632 new_req.ireq_nreq = count; in i_ddi_irm_modify_increase() 642 req_p->ireq_nreq += count; in i_ddi_irm_modify_increase() 1288 int ret, count; local 1303 count)); [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | select6.test | 54 execsql {SELECT count(*) FROM (SELECT y FROM t1)} 69 FROM (SELECT count(*),y FROM t1 GROUP BY y) AS a, 76 SELECT a.y, a.[count(*)], [max(x)], [count(*)] 77 FROM (SELECT count(*),y FROM t1 GROUP BY y) AS a, 110 execsql {SELECT count(*) FROM (SELECT b FROM t2)} 125 FROM (SELECT count(*),b FROM t2 GROUP BY b) AS a, 132 SELECT a.b, a.[count(*)], [max(a)], [count(*)] 133 FROM (SELECT count(*),b FROM t2 GROUP BY b) AS a, 238 SELECT [count(*)],y FROM (SELECT count(*), y FROM t1 GROUP BY y) 239 ORDER BY [count(*)] [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_queue.c | 63 int count; member 106 q->count = 0; in slp_new_queue() 134 q->count++; in slp_enqueue() 159 q->count++; in slp_enqueue_at_head() 181 q->count--; in dequeue_nolock() 200 if (q->count > 0) { in slp_dequeue_timed() 206 while (q->count == 0) { in slp_dequeue_timed()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_hba.c | 137 int32_t count; in emlxs_msi_init() local 271 if (count >= 8) { in emlxs_msi_init() 272 count = 8; in emlxs_msi_init() 274 count = 4; in emlxs_msi_init() 276 count = 2; in emlxs_msi_init() 278 count = 1; in emlxs_msi_init() 336 count = actual; in emlxs_msi_init() 393 switch (count) { in emlxs_msi_init() 499 uint32_t count; in emlxs_msi_uninit() local 592 int32_t count; in emlxs_msi_add() local [all …]
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_keys.c | 41 crypto_mechanism_t *mech, crypto_object_attribute_t *attrs, uint_t count, in crypto_key_generate() argument 62 mech, attrs, count, handle, KCF_SWFP_RHNDL(crq)); in crypto_key_generate() 66 mech, attrs, count, handle, NULL, 0, NULL, NULL, NULL, 0); in crypto_key_generate() 160 crypto_object_attribute_t *attrs, uint_t count, crypto_object_id_t *key, in crypto_key_unwrap() argument 182 count, key, KCF_SWFP_RHNDL(crq)); in crypto_key_unwrap() 186 attrs, count, key, NULL, 0, NULL, unwrapping_key, in crypto_key_unwrap() 200 crypto_object_attribute_t *attrs, uint_t count, in crypto_key_derive() argument 221 attrs, count, new_key, KCF_SWFP_RHNDL(crq)); in crypto_key_derive() 225 attrs, count, new_key, NULL, 0, NULL, base_key, NULL, NULL); in crypto_key_derive()
|
/illumos-gate/usr/src/cmd/abi/appcert/scripts/ |
H A D | symcheck.pl | 579 my $count; 615 $count = scalar(@unbound_list); 619 $count = 716 my ($case, $abis, $sym, $class, $count); 718 $count = 0; 723 $count++; 727 return $count; 800 $count = 0; 897 $count--; 903 $count++; [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db.cc | 516 ++ *count; in apply_log_entry() 554 int count = 0; in execute_log_entry() local 576 if (count == 1) { in execute_log_entry() 593 return (count == 1); in execute_log_entry() 621 int count; in load() local 647 changed = (count > 0); in load() 749 ++ *count; in entry_since() 767 int count; in get_log_entries_since() local 782 answer->list.list_len = count; in get_log_entries_since() 784 if (count > 0) { in get_log_entries_since() [all …]
|
H A D | db_dictlog.cc | 147 int count = 0; in execute_on_log() local 159 if ((*func)(j, dict, &count) == FALSE) done = TRUE; in execute_on_log() 164 WRITEUNLOCK(this, count, "wu db_dictlog::execute_on_log"); in execute_on_log() 165 return (count); in execute_on_log() 169 print_log_entry(db_dictlog_entry *j, char*, int *count) in print_log_entry() argument 172 ++ *count; in print_log_entry()
|