Home
last modified time | relevance | path

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

12

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

12