Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_overlay.c465 uint64_t *countp, overlay_targ_cache_entry_t *ents) in libvarpd_overlay_cache_walk_fill() argument
472 if (*countp > 200) in libvarpd_overlay_cache_walk_fill()
476 *countp * sizeof (overlay_targ_cache_entry_t); in libvarpd_overlay_cache_walk_fill()
483 iter->otci_count = *countp; in libvarpd_overlay_cache_walk_fill()
493 *countp = iter->otci_count; in libvarpd_overlay_cache_walk_fill()
495 *countp * sizeof (overlay_targ_cache_entry_t)); in libvarpd_overlay_cache_walk_fill()
/illumos-gate/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 …]
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_diff.c66 char *compnodep, int *countp, mde_cookie_t **nodespp);
381 mde_cookie_t start, char *compnodep, int *countp, mde_cookie_t **nodespp) in mdd_scan_for_nodes() argument
394 *countp = md_scan_dag(mdp, start, cname, aname, NULL); in mdd_scan_for_nodes()
395 if (*countp == 0) { in mdd_scan_for_nodes()
401 *nodespp = mdip->allocp(sizeof (mde_cookie_t) * (*countp)); in mdd_scan_for_nodes()
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c178 int *countp; /* Total number of list and stat structures */ member
594 lstat.countp = &nstat; in config_stat()
605 assert(*lstat.countp == num_ap_ids); in config_stat()
631 lstat.countp = &nstat; in config_list()
704 lstat.countp = &nstat; in config_list_ext()
2328 assert(*lstatp->countp >= 0); in realloc_data_ext()
2330 if (*lstatp->countp == 0) { in realloc_data_ext()
2339 if ((cldp = config_calloc_check(*lstatp->countp, in realloc_data_ext()
2350 if (i >= *lstatp->countp) { in realloc_data_ext()
2363 if (i + alp->nelem > *lstatp->countp) { in realloc_data_ext()
[all …]
/illumos-gate/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 …]
/illumos-gate/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 …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/
H A Ddma_engine.c377 i_dmae_get_chan_stat(dev_info_t *dip, int chnl, ulong_t *addressp, int *countp) in i_dmae_get_chan_stat() argument
384 d37A_get_chan_stat(chnl, addressp, countp); in i_dmae_get_chan_stat()
H A Di8237A.c526 d37A_get_chan_stat(int chnl, ulong_t *addressp, int *countp) in d37A_get_chan_stat() argument
537 if (countp) in d37A_get_chan_stat()
538 *countp = tcount; in d37A_get_chan_stat()
H A Decpp.c5689 cheerio_dma_stop(struct ecppunit *pp, size_t *countp) in cheerio_dma_stop() argument
5702 if (countp) { in cheerio_dma_stop()
5703 *countp = cheerio_getcnt(pp); in cheerio_dma_stop()
5987 dma8237_dma_stop(struct ecppunit *pp, size_t *countp) in dma8237_dma_stop() argument
6003 if (countp) { in dma8237_dma_stop()
6004 *countp = dma8237_getcnt(pp); in dma8237_dma_stop()
6005 if (pp->dma_dir == DDI_DMA_READ && *countp > 0) { in dma8237_dma_stop()
6006 (*countp)++; /* need correction for reverse xfers */ in dma8237_dma_stop()
6033 x86_dma_stop(struct ecppunit *pp, size_t *countp) in x86_dma_stop() argument
6045 if (countp) { in x86_dma_stop()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_ev.c84 __inout unsigned int *countp,
350 __inout unsigned int *countp, in efx_ev_qpoll() argument
374 siena_ev_qpoll(eep, countp, eecp, arg); in efx_ev_qpoll()
1041 __inout unsigned int *countp, in siena_ev_qpoll() argument
1052 EFSYS_ASSERT(countp != NULL); in siena_ev_qpoll()
1055 count = *countp; in siena_ev_qpoll()
1168 *countp = count; in siena_ev_qpoll()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libproc/i386/
H A DPisadep.c123 argcount_ctf(struct ps_prochandle *P, long pc, uint_t *countp) in argcount_ctf() argument
139 *countp = finfo.ctc_argc; in argcount_ctf()
/illumos-gate/usr/src/uts/common/sys/
H A Ddma_engine.h122 ulong_t *addressp, int *countp);
/illumos-gate/usr/src/boot/common/
H A Dload_elf_obj.c68 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp);
424 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) in __elfN()
445 *countp = (*stopp - *startp) / sizeof(Elf_Addr); in __elfN()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/
H A Dpsvcplugin.c109 static int32_t count_records(FILE *fp, char *end, uint32_t *countp) in count_records() argument
130 *countp = count; in count_records()
/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-common.c464 uint_t *countp = arg; in ctftest_check_member_count() local
465 *countp = *countp + 1; in ctftest_check_member_count()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libdemangle/common/
H A Drust-v0.c162 const char *restrict sep, boolean_t bval, size_t *restrict countp) in rustv0_parse_opt_list() argument
170 if (countp != NULL) in rustv0_parse_opt_list()
171 *countp += count; in rustv0_parse_opt_list()
/illumos-gate/usr/src/cmd/mdb/intel/modules/xhci/
H A Dxhci.c708 int *countp = arg; in xhci_mdb_endpoint_count() local
710 *countp += 1; in xhci_mdb_endpoint_count()
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c163 argcount_ctf(struct ps_prochandle *P, uint32_t pc, uint_t *countp) in argcount_ctf() argument
179 *countp = finfo.ctc_argc; in argcount_ctf()
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_link.c147 uint_t *countp) in i_dls_link_subchain() argument
217 *countp = npacket; in i_dls_link_subchain()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_common.c5891 uint32_t *countp = &csmp->chsm_outstanding[CACHE_SCRUBBER_INFO_D]; local
5904 outstanding = *countp;
5908 } while (atomic_add_32_nv(countp, -outstanding));
5965 uint32_t *countp = &csmp->chsm_outstanding[CACHE_SCRUBBER_INFO_I]; local
5979 outstanding = *countp;
5983 } while (atomic_add_32_nv(countp, -outstanding));
6044 uint32_t *countp = &csmp->chsm_outstanding[CACHE_SCRUBBER_INFO_E]; local
6058 outstanding = *countp;
6062 } while (atomic_add_32_nv(countp, -outstanding));

12