Searched refs:nstat (Results 1 - 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/cmd/ndmpstat/
H A Dndmpstat_main.c68 static ndmp_stat_t *nstat; variable
126 if ((nstat = malloc(sizeof (ndmp_stat_t))) == NULL) {
132 if (ndmp_get_stats(nstat) != 0) {
133 free(nstat);
137 dostats(old, nstat);
142 old = nstat;
143 if ((nstat = malloc(sizeof (ndmp_stat_t))) == NULL) {
148 if (ndmp_get_stats(nstat) != 0) {
150 free(nstat);
153 dostats(old, nstat);
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_mon.c130 int nstat; local
143 for (id = 0, nstat = 0; id < EFX_MON_NSTATS; id++) {
146 nstat++;
152 nstat+3, 0)) == NULL) {
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dnfs4ops.c378 nfs4lookup(struct nfs_file *dir, char *name, int *nstat) argument
393 return (nfs4lookupp(dir, nstat, NULL));
395 *nstat = (int)NFS4_OK;
454 *nstat = (int)lookupres.lr_lookup_status;
467 *nstat = (int)lookupres.lr_attr_status;
498 nfs4lookupp(struct nfs_file *dir, int *nstat, uint64_t *fileid) argument
508 *nstat = (int)NFS4_OK;
558 *nstat = (int)lookupres.lr_lookup_status;
568 *nstat = (int)lookupres.lr_attr_status;
H A Dnfs2ops.c309 nfslookup(struct nfs_file *dir, char *name, int *nstat) argument
316 *nstat = (int)NFS_OK;
330 *nstat = (int)res_lookup.status;
H A Dnfs3ops.c349 nfs3lookup(struct nfs_file *dir, char *name, int *nstat) argument
357 *nstat = (int)NFS3_OK;
375 *nstat = (int)res_lookup.status;
/illumos-gate/usr/src/cmd/bnu/
H A Duucpdefs.c69 GLOBAL struct nstat Nstat;
H A Duucp.h473 struct nstat { struct
518 EXTERN struct nstat Nstat;
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_cpu.c634 int nstat = req->num_records; local
646 stat_len = sizeof (dr_cpu_stat_t) * nstat;
650 for (idx = 0; idx < nstat; idx++) {
666 resp->num_records = nstat;
677 for (idx = 0; idx < nstat; idx++) {
H A Ddr_mem.c660 int nstat = req->msg_arg; local
669 stat_len = sizeof (dr_mem_stat_t) * nstat;
673 for (idx = 0; idx < nstat; idx++) {
687 resp->msg_arg = nstat;
698 for (idx = 0; idx < nstat; idx++) {
/illumos-gate/usr/src/cmd/ttymon/
H A Duucp.h410 struct nstat { struct
455 EXTERN struct nstat Nstat;
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr.c2114 int nstat, mode, ncm, sz, pbsz, pnstat; local
2211 * increment the plugin's nstat count.
2249 dstatp->s_nstat = nstat = 0;
2262 if ((nstat = dr_cpu_status(hp, devset, devstatp)) > 0) {
2263 dstatp->s_nstat += nstat;
2264 devstatp += nstat;
2268 if ((nstat = dr_mem_status(hp, devset, devstatp)) > 0) {
2269 dstatp->s_nstat += nstat;
2270 devstatp += nstat;
2274 if ((nstat
[all...]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c2146 int nstat, mode, ncm, sz, pbsz, pnstat; local
2243 * increment the plugin's nstat count.
2281 dstatp->s_nstat = nstat = 0;
2294 if ((nstat = dr_cpu_status(hp, devset, devstatp)) > 0) {
2295 dstatp->s_nstat += nstat;
2296 devstatp += nstat;
2300 if ((nstat = dr_mem_status(hp, devset, devstatp)) > 0) {
2301 dstatp->s_nstat += nstat;
2302 devstatp += nstat;
2306 if ((nstat
[all...]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c5326 net_stat_t *nstat; local
5335 nstat = kmem_zalloc(sizeof (net_stat_t), KM_NOSLEEP);
5336 if (nstat == NULL) {
5341 nstat->ns_name = flent->fe_flow_name;
5346 nstat->ns_ibytes += mac_rx_stat->mrs_intrbytes +
5348 nstat->ns_ipackets += mac_rx_stat->mrs_intrcnt +
5350 nstat->ns_oerrors += mac_rx_stat->mrs_ierrors;
5357 nstat->ns_obytes = mac_tx_stat->mts_obytes;
5358 nstat->ns_opackets = mac_tx_stat->mts_opackets;
5359 nstat
5410 net_stat_t *nstat; local
[all...]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Duucp.h367 struct nstat { struct
/illumos-gate/usr/src/uts/common/xen/io/
H A Dblk_common.c276 int nstat = sizeof (blk_stats) / sizeof (blk_stats[0]); local
282 KSTAT_TYPE_NAMED, nstat, 0);
291 while (nstat > 0) {
295 nstat--;
H A Dxdb.c197 int nstat = sizeof (xdb_stats) / sizeof (xdb_stats[0]); local
204 nstat, 0)) == NULL)
211 while (nstat > 0) {
215 nstat--;
H A Dxnb.c204 int nstat = sizeof (aux_statistics) / local
214 KSTAT_TYPE_NAMED, nstat, 0);
222 while (nstat > 0) {
227 nstat--;
H A Dxnf.c2544 int nstat = sizeof (xnf_aux_statistics) / local
2555 nstat, 0)) == NULL)
2562 while (nstat > 0) {
2567 nstat--;
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h153 struct nstat { struct
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c569 int nstat, n, i; local
587 nstat = n = 0;
588 lstat.countp = &nstat;
616 int nstat; local
624 nstat = 0;
625 lstat.countp = &nstat;
672 int nstat, list, prefilter; local
697 nstat = 0;
698 lstat.countp = &nstat;
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dinit.c1507 int i,nstat = STAT_SUBSHELL+1; local
1508 struct Stats *sp = newof(0,struct Stats,1,nstat*NV_MINSZ);
1510 sp->numnodes = nstat;
1512 shp->stats = (int*)calloc(sizeof(int*),nstat);
1514 for(i=0; i < nstat; i++)
1523 sp->hdr.dsize = sizeof(struct Stats) + nstat*(sizeof(int)+NV_MINSZ);
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd.c4294 int nstat, mode, ncm, sz, cksz; local
4453 if ((nstat = sbd_cpu_flags(hp, devset, devstatp)) > 0) {
4454 dstatp->s_nstat += nstat;
4455 devstatp += nstat;
4459 if ((nstat = sbd_mem_status(hp, devset, devstatp)) > 0) {
4460 dstatp->s_nstat += nstat;
4461 devstatp += nstat;
4465 if ((nstat = sbd_io_status(hp, devset, devstatp)) > 0) {
4466 dstatp->s_nstat += nstat;
4467 devstatp += nstat;
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c473 int nstat, i; local
476 nstat = sizeof (state->sa_kstats) / sizeof (kstat_named_t);
478 for (i = 0; i < nstat; i++, knt++) {
497 KSTAT_TYPE_NAMED, nstat, KSTAT_FLAG_VIRTUAL);
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c403 kstat_setup(kstat_named_t *knt, const char **names, int nstat, argument
410 for (i = 0; i < nstat; i++) {
416 KSTAT_TYPE_NAMED, nstat, KSTAT_FLAG_VIRTUAL);
/illumos-gate/usr/src/uts/common/ipp/
H A Dippconf.c1604 int nstat,
1624 if (name == NULL || nstat <= 0 || update == NULL)
1662 KSTAT_TYPE_NAMED, nstat, KSTAT_FLAG_WRITABLE)) == NULL) {
1697 sip->ippsi_limit = nstat;
1601 ipp_stat_create( ipp_action_id_t aid, const char *name, int nstat, int (*update)(ipp_stat_t *, void *, int), void *arg, ipp_stat_t **spp) argument

Completed in 189 milliseconds

12