Home
last modified time | relevance | path

Searched refs:countp (Results 1 – 25 of 26) sorted by relevance

12

/titanic_41/usr/src/common/mdesc/
H A Dmdesc_diff.c68 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_41/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/
H A Dschumacher.c2148 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_41/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Dpicldiag.c796 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_41/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c174 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_41/usr/src/lib/libprtdiag_psr/sparc/lw8/common/
H A Dlw8.c2536 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_41/usr/src/cmd/cpio/
H A Dutils.c154 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_41/usr/src/uts/common/io/
H A Ddma_engine.c379 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 Di8237A.c528 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 Decpp.c5687 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_41/usr/src/uts/common/crypto/api/
H A Dkcf_miscapi.c115 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_41/usr/src/lib/libc/port/regex/
H A Dregcmp.c94 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_41/usr/src/uts/common/sys/
H A Ddma_engine.h122 ulong_t *addressp, int *countp);
/titanic_41/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/
H A Dpsvcplugin.c111 static int32_t count_records(FILE *fp, char *end, uint32_t *countp) in count_records() argument
132 *countp = count; in count_records()
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhpi_pfc.c901 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_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_traverse.c153 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_41/usr/src/uts/common/io/dls/
H A Ddls_link.c143 uint_t *countp) in i_dls_link_subchain() argument
213 *countp = npacket; in i_dls_link_subchain()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzio.c450 uint64_t *countp = &zio->io_children[c][wait]; in zio_wait_for_children() local
451 if (*countp != 0) { in zio_wait_for_children()
453 zio->io_stall = countp; in zio_wait_for_children()
465 uint64_t *countp = &pio->io_children[zio->io_child_type][wait]; in zio_notify_parent() local
472 ASSERT3U(*countp, >, 0); in zio_notify_parent()
474 (*countp)--; in zio_notify_parent()
476 if (*countp == 0 && pio->io_stall == countp) { in zio_notify_parent()
/titanic_41/usr/src/cmd/fm/eversholt/common/
H A Dtree.c1019 struct stats *countp, int justpath) in dodecl() argument
1041 stats_counter_bump(countp); in dodecl()
1047 stats_counter_bump(countp); in dodecl()
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dus3_common.c5890 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 Dspitfire.c3652 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_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelKeys.c238 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_41/usr/src/uts/common/disp/
H A Dthread.c819 thread_zone_cleanup(kthread_t **tp, int *countp, zoneid_t zoneid) in thread_zone_cleanup() argument
831 (*countp)--; in thread_zone_cleanup()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/
H A Dpsvcplugin.c838 static int32_t count_records(FILE *fp, char *end, uint32_t *countp) in count_records() argument
859 *countp = count; in count_records()
/titanic_41/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c383 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_41/usr/src/uts/intel/ia32/os/
H A Dddi_i86.c120 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()

12