/titanic_50/usr/src/common/mdesc/ |
H A D | mdesc_diff.c | 68 char *compnodep, int *countp, mde_cookie_t **nodespp); 383 mde_cookie_t start, char *compnodep, int *countp, mde_cookie_t **nodespp) in mdd_scan_for_nodes() argument 396 *countp = md_scan_dag(mdp, start, cname, aname, NULL); in mdd_scan_for_nodes() 397 if (*countp == 0) { in mdd_scan_for_nodes() 403 *nodespp = mdip->allocp(sizeof (mde_cookie_t) * (*countp)); in mdd_scan_for_nodes()
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 2148 int *countp = arg; in fan_callback() local 2151 if (*countp == 0) { in fan_callback() 2158 *countp += 1; in fan_callback() 2277 int *countp = arg; in temp_callback() local 2279 if (*countp == 0) { in temp_callback() 2288 *countp += 1; in temp_callback() 2412 int *countp = arg; in current_callback() local 2414 if (*countp == 0) { in current_callback() 2422 *countp += 1; in current_callback() 2545 int *countp = arg; in voltage_callback() local [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 796 int *countp = arg; in serialnum_callback() local 2558 int *countp = arg; in fan_callback() local 2560 if (*countp == 0) { in fan_callback() 2566 *countp += 1; in fan_callback() 2687 int *countp = arg; in temp_callback() local 2689 if (*countp == 0) { in temp_callback() 2696 *countp += 1; in temp_callback() 2822 int *countp = arg; in current_callback() local 2824 if (*countp == 0) { in current_callback() 2831 *countp += 1; in current_callback() [all …]
|
/titanic_50/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 174 int *countp; /* Total number of list and stat structures */ member 588 lstat.countp = &nstat; in config_stat() 599 assert(*lstat.countp == num_ap_ids); in config_stat() 625 lstat.countp = &nstat; in config_list() 698 lstat.countp = &nstat; in config_list_ext() 2322 assert(*lstatp->countp >= 0); in realloc_data_ext() 2324 if (*lstatp->countp == 0) { in realloc_data_ext() 2333 if ((cldp = config_calloc_check(*lstatp->countp, in realloc_data_ext() 2344 if (i >= *lstatp->countp) { in realloc_data_ext() 2357 if (i + alp->nelem > *lstatp->countp) { in realloc_data_ext() [all …]
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 2536 int *countp = arg; in fan_callback() local 2539 if (*countp == 0) { in fan_callback() 2545 *countp += 1; in fan_callback() 2666 int *countp = arg; in temp_callback() local 2668 if (*countp == 0) { in temp_callback() 2676 *countp += 1; in temp_callback() 2802 int *countp = arg; in current_callback() local 2804 if (*countp == 0) { in current_callback() 2811 *countp += 1; in current_callback() 2936 int *countp = arg; in voltage_callback() local [all …]
|
/titanic_50/usr/src/cmd/cpio/ |
H A D | utils.c | 154 get_holes_list(int fd, off_t filesz, size_t *countp) in get_holes_list() argument 197 if (countp != NULL) in get_holes_list() 198 *countp = cnt; in get_holes_list()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | dma_engine.c | 379 i_dmae_get_chan_stat(dev_info_t *dip, int chnl, ulong_t *addressp, int *countp) in i_dmae_get_chan_stat() argument 386 d37A_get_chan_stat(chnl, addressp, countp); in i_dmae_get_chan_stat()
|
H A D | i8237A.c | 528 d37A_get_chan_stat(int chnl, ulong_t *addressp, int *countp) in d37A_get_chan_stat() argument 539 if (countp) in d37A_get_chan_stat() 540 *countp = tcount; in d37A_get_chan_stat()
|
H A D | ecpp.c | 5687 cheerio_dma_stop(struct ecppunit *pp, size_t *countp) in cheerio_dma_stop() argument 5700 if (countp) { in cheerio_dma_stop() 5701 *countp = cheerio_getcnt(pp); in cheerio_dma_stop() 5985 dma8237_dma_stop(struct ecppunit *pp, size_t *countp) in dma8237_dma_stop() argument 6001 if (countp) { in dma8237_dma_stop() 6002 *countp = dma8237_getcnt(pp); in dma8237_dma_stop() 6003 if (pp->dma_dir == DDI_DMA_READ && *countp > 0) { in dma8237_dma_stop() 6004 (*countp)++; /* need correction for reverse xfers */ in dma8237_dma_stop() 6031 x86_dma_stop(struct ecppunit *pp, size_t *countp) in x86_dma_stop() argument 6043 if (countp) { in x86_dma_stop() [all …]
|
/titanic_50/usr/src/uts/common/crypto/api/ |
H A D | kcf_miscapi.c | 115 crypto_get_mech_list(uint_t *countp, int kmflag) in crypto_get_mech_list() argument 164 *countp = 0; in crypto_get_mech_list() 264 *countp = 0; in crypto_get_mech_list() 272 *countp = count; in crypto_get_mech_list()
|
/titanic_50/usr/src/lib/libc/port/regex/ |
H A D | regcmp.c | 94 static int get_count(int *countp, const char *regexp); 931 get_count(int *countp, const char *regexp) in get_count() argument 948 *countp = count; in get_count()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | dma_engine.h | 122 ulong_t *addressp, int *countp);
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/ |
H A D | psvcplugin.c | 111 static int32_t count_records(FILE *fp, char *end, uint32_t *countp) in count_records() argument 132 *countp = count; in count_records()
|
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hpi_pfc.c | 901 hpi_pfc_get_bad_csum_counter(hpi_handle_t handle, uint64_t *countp) in hpi_pfc_get_bad_csum_counter() argument 906 REG_PIO_READ64(handle, offset, countp); in hpi_pfc_get_bad_csum_counter() 912 hpi_pfc_get_drop_counter(hpi_handle_t handle, uint64_t *countp) in hpi_pfc_get_drop_counter() argument 917 REG_PIO_READ64(handle, offset, countp); in hpi_pfc_get_drop_counter()
|
/titanic_50/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_traverse.c | 153 char *name, long *countp, struct stat64 *attr, in fs_populate_dents() argument 173 if (countp) in fs_populate_dents() 174 (*countp)++; in fs_populate_dents()
|
/titanic_50/usr/src/uts/common/io/dls/ |
H A D | dls_link.c | 143 uint_t *countp) in i_dls_link_subchain() argument 213 *countp = npacket; in i_dls_link_subchain()
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | zio.c | 451 uint64_t *countp = &zio->io_children[c][wait]; in zio_wait_for_children() local 452 if (*countp != 0) { in zio_wait_for_children() 454 zio->io_stall = countp; in zio_wait_for_children() 466 uint64_t *countp = &pio->io_children[zio->io_child_type][wait]; in zio_notify_parent() local 473 ASSERT3U(*countp, >, 0); in zio_notify_parent() 475 (*countp)--; in zio_notify_parent() 477 if (*countp == 0 && pio->io_stall == countp) { in zio_notify_parent()
|
/titanic_50/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.c | 1019 struct stats *countp, int justpath) in dodecl() argument 1041 stats_counter_bump(countp); in dodecl() 1047 stats_counter_bump(countp); in dodecl()
|
/titanic_50/usr/src/uts/sun4u/cpu/ |
H A D | us3_common.c | 5890 uint32_t *countp = &csmp->chsm_outstanding[CACHE_SCRUBBER_INFO_D]; local 5903 outstanding = *countp; 5907 } while (atomic_add_32_nv(countp, -outstanding)); 5964 uint32_t *countp = &csmp->chsm_outstanding[CACHE_SCRUBBER_INFO_I]; local 5978 outstanding = *countp; 5982 } while (atomic_add_32_nv(countp, -outstanding)); 6043 uint32_t *countp = &csmp->chsm_outstanding[CACHE_SCRUBBER_INFO_E]; local 6057 outstanding = *countp; 6061 } while (atomic_add_32_nv(countp, -outstanding));
|
H A D | spitfire.c | 3652 uint32_t *countp = &ssmp->ec_scrub_outstanding; in scrub_ecache_line_intr() local 3655 outstanding = *countp; in scrub_ecache_line_intr() 3659 } while (atomic_add_32_nv(countp, -outstanding)); in scrub_ecache_line_intr()
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelKeys.c | 238 free_attributes(caddr_t p, uint_t *countp) in free_attributes() argument 240 if (*countp > 0) { in free_attributes() 241 free_object_attributes(p, *countp); in free_attributes() 242 *countp = 0; in free_attributes()
|
/titanic_50/usr/src/uts/common/disp/ |
H A D | thread.c | 819 thread_zone_cleanup(kthread_t **tp, int *countp, zoneid_t zoneid) in thread_zone_cleanup() argument 831 (*countp)--; in thread_zone_cleanup()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 838 static int32_t count_records(FILE *fp, char *end, uint32_t *countp) in count_records() argument 859 *countp = count; in count_records()
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvcobj.c | 383 i_psvc_count_records(FILE *fp, char *end, uint32_t *countp) in i_psvc_count_records() argument 404 *countp = count; in i_psvc_count_records() 410 i_psvc_count_tables_associations(FILE *fp, uint32_t *countp, char *end) in i_psvc_count_tables_associations() argument 428 *countp = count; in i_psvc_count_tables_associations() 434 i_psvc_count_table_records(FILE *fp, char *end, uint32_t *countp) in i_psvc_count_table_records() argument 455 *countp = count; in i_psvc_count_table_records()
|
/titanic_50/usr/src/uts/intel/ia32/os/ |
H A D | ddi_i86.c | 120 ddi_dmae_getcnt(dev_info_t *dip, int chnl, int *countp) in ddi_dmae_getcnt() argument 122 return (ddi_dma_mctl(dip, dip, 0, DDI_DMA_E_GETCNT, 0, (size_t *)countp, in ddi_dmae_getcnt()
|