Searched defs:kstat (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/kstat/
H A DKstatException.java29 package com.sun.solaris.service.kstat;
32 * Abstract base class from which kstat-related exceptions are
H A DKstatReadException.java29 package com.sun.solaris.service.kstat;
H A DKstatTypeNotSupportedException.java29 package com.sun.solaris.service.kstat;
33 * kstat whose structure is not understood.
H A DKstatChainUpdateException.java29 package com.sun.solaris.service.kstat;
H A DKstat.java29 package com.sun.solaris.service.kstat;
35 * <code>/usr/include/sys/kstat.h</code> for details.
55 * Returns the kstat's <code>ks_snaptime</code> field.
60 * Returns the kstat's <code>ks_crtime</code> field.
65 * Returns the named value -- the value of the named kstat, or
66 * field in a raw kstat, as applicable, and available. Returns
67 * <i>null</i> if no such named kstat or field is available.
69 * @throws KstatTypeNotSupportedException if the raw kstat is not
76 * Invokes <code>kstat_read(3kstat)</code> for tho underlying kstat
[all...]
H A DKstatCtl.java29 package com.sun.solaris.service.kstat;
32 * <code>kstat</code> controlling object. Allows kstats to be looked up
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_stats.c53 * The PF's kstat is called 'pfstats' so as not to collide with other system
54 * provided kstats. Thus, for instance 0, usually the first PF, the full kstat
57 * The kstat for each VSI is called vsi_%instance. So for the first PF, which is
59 * the full kstat would be i40e:0:vsi_0:.
61 * The kstat for each queue is trqpair_tx_%queue and trqpair_rx_%queue. Note
65 * the kstat tuple.
82 * For every kstat we have based on this, we have a corresponding uint64_t that
85 * the previously stored value and the current one, and updating the kstat with
105 i40e_stat_get_uint48(i40e_t *i40e, uintptr_t reg, kstat_named_t *kstat, argument
131 kstat
136 i40e_stat_get_uint32(i40e_t *i40e, uintptr_t reg, kstat_named_t *kstat, uint64_t *base, boolean_t init) argument
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dcap_util.c180 * When the time between two kstat reads for the same CPU is less than
182 * for the CPU. This helps reduce cross-calls when kstat consumers read data
220 * by the capacity/utilization framework, a kstat is created for that CPU and
228 * cu_cpu_id CPU ID for this kstat
230 * cu_pg_id PG ID for this kstat
233 * offline or online. Two kstat snapshots for the same
237 * cu_pg_id PG ID for the relationship described by this kstat
252 * cu_cpu_relationship Name of sharing relationship for the PG in this kstat
1311 * Canonify PG name to conform to kstat name rules
1342 struct cu_cpu_kstat *kstat local
[all...]
H A Dproject.c30 #include <sys/kstat.h>
309 * The kstat stores the project's zone name, as zoneid's may change
1145 project_kstat_delete_common(kstat_t **kstat) argument
1149 if (*kstat != NULL) {
1150 data = (*kstat)->ks_data;
1151 kstat_delete(*kstat);
1153 *kstat = NULL;
/illumos-gate/usr/src/uts/common/sys/
H A Dkstat.h32 * Definition of general kernel statistics structures and /dev/kstat ioctls
42 typedef int kid_t; /* unique kstat id */
45 * Kernel statistics driver (/dev/kstat) ioctls
55 * /dev/kstat ioctl usage (kd denotes /dev/kstat descriptor):
65 * The generic kstat header
68 typedef struct kstat { struct
73 struct kstat *ks_next; /* kstat chain linkage */
74 kid_t ks_kid; /* unique kstat I
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dllc1.c53 #include <sys/kstat.h>
890 /* remove any kstat counters */
2861 kstat_named_t *kstat; local
2867 kstat = (kstat_named_t *)(ksp->ks_data);
2871 kstat[LLCS_NOBUFFER].value.ul = stats->llcs_nobuffer;
2872 kstat[LLCS_MULTIXMT].value.ul = stats->llcs_multixmt;
2873 kstat[LLCS_MULTIRCV].value.ul = stats->llcs_multircv;
2874 kstat[LLCS_BRDCSTXMT].value.ul = stats->llcs_brdcstxmt;
2875 kstat[LLCS_BRDCSTRCV].value.ul = stats->llcs_brdcstrcv;
2876 kstat[LLCS_BLOCKE
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdf.c81 #include <sys/kstat.h>
689 kstat_t *kstat; local
692 if ((kstat = kstat_create("xdf", ddi_get_instance(dip), NULL, "disk",
700 /* only one kstat can exist at a time */
704 kstat_delete(kstat);
708 vdp->xdf_xdev_iostat = kstat;
713 * Now that we've created a kstat, we need to update the waitq and
714 * runq counts for the kstat to reflect our current state.
744 kstat_t *kstat; local
750 * and the contents of the our kstat
[all...]
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge.h408 #define SFXGE_RX_NSTATS 8 /* note that *esballoc share one kstat */
724 } kstat; member in struct:sfxge_cfg_kstat_s
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c34 #include <kstat.h>
208 /* Summed kstat values from individual cpus in pset */
242 /* Total kstat increases since zonestatd started reading kstats */
1248 * The kstat tracking data is rolled so that the usage since the previous
1544 kstat_t *kstat; local
1556 kstat = kstat_lookup(ctl->zsctl_kstat_ctl, "cpu", cpuid, "sys");
1557 if (kstat == NULL)
1560 kid = kstat_read(ctl->zsctl_kstat_ctl, kstat, NULL);
1564 knp = kstat_data_lookup(kstat, "cpu_nsec_idle");
1570 knp = kstat_data_lookup(kstat, "cpu_nsec_kerne
3247 kstat_t *kstat; local
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h2054 kstat_t *kstat; member in struct:emlxs_hba

Completed in 156 milliseconds