Searched refs:countp (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/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) argument
386 d37A_get_chan_stat(chnl, addressp, countp);
H A Di8237A.c528 d37A_get_chan_stat(int chnl, ulong_t *addressp, int *countp) argument
539 if (countp)
540 *countp = tcount;
H A Decpp.c5687 cheerio_dma_stop(struct ecppunit *pp, size_t *countp) argument
5700 if (countp) {
5701 *countp = cheerio_getcnt(pp);
5985 dma8237_dma_stop(struct ecppunit *pp, size_t *countp) argument
6001 if (countp) {
6002 *countp = dma8237_getcnt(pp);
6003 if (pp->dma_dir == DDI_DMA_READ && *countp > 0) {
6004 (*countp)++; /* need correction for reverse xfers */
6031 x86_dma_stop(struct ecppunit *pp, size_t *countp) argument
6043 if (countp) {
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Ddma_engine.h122 ulong_t *addressp, int *countp);
/illumos-gate/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)
396 *countp = md_scan_dag(mdp, start, cname, aname, NULL);
397 if (*countp == 0) {
403 *nodespp = mdip->allocp(sizeof (mde_cookie_t) * (*countp));
382 mdd_scan_for_nodes(md_t *mdp, mde_cookie_t start, char *compnodep, int *countp, mde_cookie_t **nodespp) argument
/illumos-gate/usr/src/cmd/cpio/
H A Dutils.c154 get_holes_list(int fd, off_t filesz, size_t *countp) argument
197 if (countp != NULL)
198 *countp = cnt;
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Dpicldiag.c796 int *countp = arg; local
2558 int *countp = arg; local
2560 if (*countp == 0) {
2566 *countp += 1;
2687 int *countp = arg; local
2689 if (*countp == 0) {
2696 *countp += 1;
2822 int *countp = arg; local
2824 if (*countp == 0) {
2831 *countp
2956 int *countp = arg; local
3049 int *countp = arg; local
3126 int *countp = arg; local
3198 logprintf_fru_oper_status(picl_nodehdl_t fruh, int *countp) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/
H A Dlw8.c2536 int *countp = arg; local
2539 if (*countp == 0) {
2545 *countp += 1;
2666 int *countp = arg; local
2668 if (*countp == 0) {
2676 *countp += 1;
2802 int *countp = arg; local
2804 if (*countp == 0) {
2811 *countp += 1;
2936 int *countp local
3029 int *countp = arg; local
3106 int *countp = arg; local
3178 logprintf_fru_oper_status(picl_nodehdl_t fruh, int *countp) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/
H A Dschumacher.c2148 int *countp = arg; local
2151 if (*countp == 0) {
2158 *countp += 1;
2277 int *countp = arg; local
2279 if (*countp == 0) {
2288 *countp += 1;
2412 int *countp = arg; local
2414 if (*countp == 0) {
2422 *countp += 1;
2545 int *countp local
2639 int *countp = arg; local
2717 int *countp = arg; local
2789 logprintf_fru_oper_status(picl_nodehdl_t fruh, int *countp) argument
[all...]
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c174 int *countp; /* Total number of list and stat structures */ member in struct:list_stat
588 lstat.countp = &nstat;
599 assert(*lstat.countp == num_ap_ids);
625 lstat.countp = &nstat;
698 lstat.countp = &nstat;
2322 assert(*lstatp->countp >= 0);
2324 if (*lstatp->countp == 0) {
2333 if ((cldp = config_calloc_check(*lstatp->countp,
2344 if (i >= *lstatp->countp) {
2357 if (i + alp->nelem > *lstatp->countp) {
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_ev.c84 __inout unsigned int *countp,
350 __inout unsigned int *countp,
374 siena_ev_qpoll(eep, countp, eecp, arg);
1041 __inout unsigned int *countp,
1052 EFSYS_ASSERT(countp != NULL);
1055 count = *countp;
1168 *countp = count;
348 efx_ev_qpoll( __in efx_evq_t *eep, __inout unsigned int *countp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument
1039 siena_ev_qpoll( __in efx_evq_t *eep, __inout unsigned int *countp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument
/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) argument
948 *countp = count;
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_miscapi.c92 * . countp: pointer to contain the number of mech names returned
97 * currently available on the system. Sets *countp with the number of
115 crypto_get_mech_list(uint_t *countp, int kmflag) argument
164 *countp = 0;
264 *countp = 0;
272 *countp = count;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/
H A Dpsvcplugin.c111 static int32_t count_records(FILE *fp, char *end, uint32_t *countp) argument
132 *countp = count;
/illumos-gate/usr/src/boot/sys/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)
445 *countp = (*stopp - *startp) / sizeof(Elf_Addr);
423 obj_lookup_set(struct preloaded_file *fp __unused, elf_file_t ef, const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) argument
/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) argument
906 REG_PIO_READ64(handle, offset, countp);
912 hpi_pfc_get_drop_counter(hpi_handle_t handle, uint64_t *countp) argument
917 REG_PIO_READ64(handle, offset, countp);
/illumos-gate/usr/src/uts/common/io/dls/
H A Ddls_link.c137 * The countp argument is set to the number of valid packets in the chain.
143 uint_t *countp)
213 *countp = npacket;
142 i_dls_link_subchain(dls_link_t *dlp, mblk_t *mp, const mac_header_info_t *mhip, uint_t *countp) argument
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_traverse.c153 char *name, long *countp, struct stat64 *attr,
173 if (countp)
174 (*countp)++;
152 fs_populate_dents(void *arg, int namelen, char *name, long *countp, struct stat64 *attr, fs_fhandle_t *fh) argument
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dtree.c1019 struct stats *countp, int justpath)
1041 stats_counter_bump(countp);
1047 stats_counter_bump(countp);
1017 dodecl(enum nodetype t, const char *file, int line, struct node *np, struct node *nvpairs, struct lut **lutpp, struct stats *countp, int justpath) argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio.c435 uint64_t *countp = &zio->io_children[child][wait]; local
440 if (*countp != 0) {
443 zio->io_stall = countp;
454 uint64_t *countp = &pio->io_children[zio->io_child_type][wait]; local
461 ASSERT3U(*countp, >, 0);
463 (*countp)--;
465 if (*countp == 0 && pio->io_stall == countp) {
/illumos-gate/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));
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelKeys.c238 free_attributes(caddr_t p, uint_t *countp) argument
240 if (*countp > 0) {
241 free_object_attributes(p, *countp);
242 *countp = 0;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/
H A Dpsvcplugin.c838 static int32_t count_records(FILE *fp, char *end, uint32_t *countp) argument
859 *countp = count;
/illumos-gate/usr/src/uts/common/disp/
H A Dthread.c814 * tp is a pointer to the head of the deathrow queue, and countp is a
819 thread_zone_cleanup(kthread_t **tp, int *countp, zoneid_t zoneid) argument
831 (*countp)--;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c383 i_psvc_count_records(FILE *fp, char *end, uint32_t *countp) argument
404 *countp = count;
410 i_psvc_count_tables_associations(FILE *fp, uint32_t *countp, char *end) argument
428 *countp = count;
434 i_psvc_count_table_records(FILE *fp, char *end, uint32_t *countp) argument
455 *countp = count;

Completed in 154 milliseconds

12