Home
last modified time | relevance | path

Searched refs:kstat_t (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/titanic_41/usr/src/cmd/avs/dsstat/
H A Dii_stats.h59 kstat_t *pre_set;
60 kstat_t *pre_mst;
61 kstat_t *pre_shd;
62 kstat_t *pre_bmp;
63 kstat_t *pre_ovr;
64 kstat_t *cur_set;
65 kstat_t *cur_mst;
66 kstat_t *cur_shd;
67 kstat_t *cur_bmp;
68 kstat_t *cur_ovr;
H A Dcommon.h34 void *kstat_value(kstat_t *, char *);
35 kstat_t *kstat_retrieve(kstat_ctl_t *, kstat_t *);
36 void kstat_free(kstat_t *);
37 uint32_t kstat_delta(kstat_t *, kstat_t *, char *);
H A Dsndr_stats.h51 kstat_t *pre_set;
52 kstat_t *pre_bmp;
53 kstat_t *pre_sec;
54 kstat_t *cur_set;
55 kstat_t *cur_bmp;
56 kstat_t *cur_sec;
H A Dcommon.c69 kstat_t *
70 kstat_retrieve(kstat_ctl_t *kc, kstat_t *ksp) in kstat_retrieve()
73 kstat_t *rval; in kstat_retrieve()
86 rval = (kstat_t *)calloc(1, sizeof (*ksp)); in kstat_retrieve()
134 kstat_value(kstat_t *ksp, char *name) in kstat_value()
169 kstat_free(kstat_t *ksp) in kstat_free()
179 kstat_delta(kstat_t *pksp, kstat_t *cksp, char *name) in kstat_delta()
H A Dsdbc_stats.h50 kstat_t *pre_set;
51 kstat_t *pre_io;
52 kstat_t *cur_set;
53 kstat_t *cur_io;
79 extern kstat_t *sdbc_global;
H A Dsndr_stats.c53 int sndr_validate(kstat_t *);
55 int sndr_vol_selected(kstat_t *);
57 void getType(kstat_t *, char *);
58 void getStat(kstat_t *, char *);
59 void getQueue(kstat_t *, char *);
60 void printQueueStats(int, kstat_t *);
61 float getSyncNeeded(kstat_t *);
80 kstat_t *ksp; in sndr_discover()
92 kstat_t *bmp_ksp; in sndr_discover()
93 kstat_t *sec_ksp; in sndr_discover()
[all …]
/titanic_41/usr/src/cmd/stat/kstat/
H A Dkstat.h217 static void save_cpu_stat(kstat_t *, ks_instance_t *);
218 static void save_var(kstat_t *, ks_instance_t *);
219 static void save_ncstats(kstat_t *, ks_instance_t *);
220 static void save_sysinfo(kstat_t *, ks_instance_t *);
221 static void save_vminfo(kstat_t *, ks_instance_t *);
222 static void save_nfs(kstat_t *, ks_instance_t *);
224 static void save_sfmmu_global_stat(kstat_t *, ks_instance_t *);
225 static void save_sfmmu_tsbsize_stat(kstat_t *, ks_instance_t *);
226 static void save_simmstat(kstat_t *, ks_instance_t *);
229 static void save_temperature(kstat_t *, ks_instance_t *);
[all …]
/titanic_41/usr/src/cmd/stat/common/
H A Dstatcommon.h100 kstat_t cs_vm;
101 kstat_t cs_sys;
125 kstat_t ss_agg_vm;
126 kstat_t ss_agg_sys;
181 kstat_t is_errors;
191 kstat_t *is_ksp;
244 int kstat_copy(const kstat_t *src, kstat_t *dst);
250 uint64_t kstat_delta(kstat_t *old, kstat_t *new, char *name);
260 int kstat_add(const kstat_t *src, kstat_t *dst);
269 uint64_t cpu_ticks_delta(kstat_t *old, kstat_t *new);
H A Dacquire.c51 static kstat_t *
55 kstat_t *ksp = kstat_lookup(kc, module, instance, name); in kstat_lookup_read()
80 kstat_t *ksp; in acquire_cpus()
186 kstat_t *ksp; in acquire_intrs()
188 kstat_t *sys_misc; in acquire_intrs()
247 kstat_t *ksp; in acquire_sys()
437 kstat_delta(kstat_t *old, kstat_t *new, char *name) in kstat_delta()
448 kstat_copy(const kstat_t *src, kstat_t *dst) in kstat_copy()
464 kstat_add(const kstat_t *src, kstat_t *dst) in kstat_add()
489 cpu_ticks_delta(kstat_t *old, kstat_t *new) in cpu_ticks_delta()
/titanic_41/usr/src/cmd/sa/
H A Dsadc.c71 static kstat_t **cpu_stat_list = NULL;
72 static kstat_t **ocpu_stat_list = NULL;
74 static kstat_t **kmem_cache_list = NULL;
76 static kstat_t *sysinfo_ksp, *vminfo_ksp, *var_ksp;
77 static kstat_t *system_misc_ksp, *ufs_inode_ksp, *kmem_oversize_ksp;
78 static kstat_t *file_cache_ksp;
95 static kid_t safe_kstat_read(kstat_ctl_t *, kstat_t *, void *);
96 static kstat_t *safe_kstat_lookup(kstat_ctl_t *, char *, int, char *);
97 static void *safe_kstat_data_lookup(kstat_t *, char *);
98 static int safe_kstat_data_index(kstat_t *, char *);
[all …]
/titanic_41/usr/src/cmd/fs.d/cachefs/common/
H A Dstats_stats.c43 static kstat_t *
46 kstat_t *stat; in stats_read_stat()
66 kstat_t *ks; in stats_hits()
84 kstat_t *ks; in stats_misses()
102 kstat_t *ks; in stats_passes()
120 kstat_t *ks; in stats_fails()
138 kstat_t *ks; in stats_modifies()
156 kstat_t *ks; in stats_gc_count()
174 kstat_t *ks; in stats_gc_time()
192 kstat_t *ks; in stats_gc_before()
[all …]
/titanic_41/usr/src/lib/libkstat/
H A Dkstat.h44 kstat_t *kc_chain; /* pointer to kstat chain */
51 extern kid_t kstat_read(kstat_ctl_t *, kstat_t *, void *);
52 extern kid_t kstat_write(kstat_ctl_t *, kstat_t *, void *);
54 extern kstat_t *kstat_lookup(kstat_ctl_t *, char *, int, char *);
55 extern void *kstat_data_lookup(kstat_t *, char *);
62 extern kstat_t *kstat_lookup();
/titanic_41/usr/src/uts/common/sys/
H A Dkstat.h93 } kstat_t; typedef
793 extern kstat_t *kstat_create(const char *, int, const char *, const char *,
795 extern kstat_t *kstat_create_zone(const char *, int, const char *,
797 extern void kstat_install(kstat_t *);
798 extern void kstat_delete(kstat_t *);
814 extern void kstat_zone_add(kstat_t *, zoneid_t);
815 extern void kstat_zone_remove(kstat_t *, zoneid_t);
816 extern int kstat_zone_find(kstat_t *, zoneid_t);
818 extern kstat_t *kstat_hold_bykid(kid_t kid, zoneid_t);
819 extern kstat_t *kstat_hold_byname(const char *, int, const char *, zoneid_t);
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c71 static kstat_t *rpc_clts_client_kstat, *rpc_clts_server_kstat;
72 static kstat_t *rpc_cots_client_kstat, *rpc_cots_server_kstat;
73 static kstat_t *rpc_rdma_client_kstat, *rpc_rdma_server_kstat;
74 static kstat_t *nfs_client_kstat, *nfs_server_v2_kstat, *nfs_server_v3_kstat;
75 static kstat_t *nfs4_client_kstat, *nfs_server_v4_kstat;
76 static kstat_t *rfsproccnt_v2_kstat, *rfsproccnt_v3_kstat, *rfsproccnt_v4_kstat;
77 static kstat_t *rfsreqcnt_v2_kstat, *rfsreqcnt_v3_kstat, *rfsreqcnt_v4_kstat;
78 static kstat_t *aclproccnt_v2_kstat, *aclproccnt_v3_kstat;
79 static kstat_t *aclreqcnt_v2_kstat, *aclreqcnt_v3_kstat;
80 static kstat_t *ksum_kstat;
[all …]
/titanic_41/usr/src/uts/sun4u/sys/pci/
H A Dpci_counters.h49 kstat_t *pic_name_ksp[NUM_OF_PICS];
65 extern kstat_t *pci_create_cntr_kstat(pci_t *, char *, int,
66 int (*update)(kstat_t *, int), void *);
68 extern int pci_cntr_kstat_update(kstat_t *, int);
69 extern int pci_cntr_kstat_pa_update(kstat_t *, int);
/titanic_41/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_counters.h48 kstat_t *pic_name_ksp[NUM_OF_PICS]; /* kstat names */
66 extern kstat_t *pcmu_create_cntr_kstat(pcmu_t *, char *, int,
67 int (*update)(kstat_t *, int), void *);
68 extern int pcmu_cntr_kstat_update(kstat_t *, int);
69 extern int pcmu_cntr_kstat_pa_update(kstat_t *, int);
/titanic_41/usr/src/uts/sun4u/javelin/sys/
H A Denvctrltwo.h56 kstat_t *psksp;
57 kstat_t *fanksp;
58 kstat_t *enclksp;
59 kstat_t *tempksp;
60 kstat_t *diskksp;
/titanic_41/usr/src/uts/sun4u/lw8/sys/
H A Dsgenv_impl.h133 kstat_t *keyswitch_ksp;
134 kstat_t *env_info_ksp;
135 kstat_t *board_info_ksp;
181 static int sgenv_keyswitch_kstat_update(kstat_t *ksp, int rw);
185 static int sgenv_env_info_kstat_update(kstat_t *ksp, int rw);
186 static int sgenv_env_info_kstat_snapshot(kstat_t *ksp, void *buf, int rw);
198 static void sgenv_update_env_kstat_size(kstat_t *ksp);
202 static int sgenv_board_info_kstat_update(kstat_t *ksp, int rw);
203 static int sgenv_board_info_kstat_snapshot(kstat_t *ksp,
/titanic_41/usr/src/lib/libfakekernel/common/
H A Dkstat.c21 kstat_t *
30 kstat_t *
39 kstat_install(kstat_t *ksp) in kstat_install()
44 kstat_delete(kstat_t *ksp) in kstat_delete()
/titanic_41/usr/src/cmd/power/
H A Dsysstat.c51 static kstat_t **cpu_stats_list = NULL;
52 static kstat_t old_cpu_stats, new_cpu_stats;
54 static kstat_t *load_ave_ksp;
57 static kstat_t *conskbd_ksp, *consms_ksp;
58 static kstat_t *nfs_client2_kstat, *nfs_client3_kstat;
59 static kstat_t *nfs_server2_kstat, *nfs_server3_kstat;
79 kstat_t *ks;
113 static void *safe_kstat_data_lookup(kstat_t *, char *);
114 static int kscmp(kstat_t *, kstat_t *);
118 static void kstat_copy(kstat_t *, kstat_t *, int);
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dkstat_fr.c118 kstat_t e_ks; /* the kstat itself */
142 extern int segmap_kstat_update(kstat_t *, int);
224 static int header_kstat_update(kstat_t *, int);
225 static int header_kstat_snapshot(kstat_t *, void *, int);
226 static int system_misc_kstat_update(kstat_t *, int);
227 static int system_pages_kstat_update(kstat_t *, int);
243 kstat_zone_find(kstat_t *k, zoneid_t zoneid) in kstat_zone_find()
259 kstat_zone_remove(kstat_t *k, zoneid_t zoneid) in kstat_zone_remove()
288 kstat_zone_add(kstat_t *k, zoneid_t zoneid) in kstat_zone_add()
335 const kstat_t *k1 = a1; in kstat_compare_bykid()
[all …]
/titanic_41/usr/src/cmd/pools/poolstat/
H A Dsa_kstat.c52 kstat_t sd_oks; /* old kstat */
53 kstat_t sd_nks; /* new kstat */
114 safe_kstat_data_lookup(kstat_t *ksp, char *name) in safe_kstat_data_lookup()
131 delta(kstat_t *new_ksp, kstat_t *old_ksp, char *name, int oz) in delta()
149 kstat_clone(kstat_t *src, kstat_t *dst, int fr) in kstat_clone()
167 kstat_erase(kstat_t *src) in kstat_erase()
178 sdata_new(kstat_t *ksp) in sdata_new()
208 kstat_t *ksp; in update_sdata_list()
/titanic_41/usr/src/cmd/stat/mpstat/
H A Dmpstat.c222 kstat_t *old_vm = NULL; in print_cpu()
223 kstat_t *old_sys = NULL; in print_cpu()
305 agg_stat(kstat_t *k1, kstat_t *k2, char *name) in agg_stat()
312 static kstat_t *
313 agg_vm(struct pset_snapshot *p, kstat_t *ks) in agg_vm()
332 static kstat_t *
333 agg_sys(struct pset_snapshot *p, kstat_t *ks) in agg_sys()
366 kstat_t *old = NULL; in get_nr_ticks()
367 kstat_t *new = NULL; in get_nr_ticks()
400 kstat_t old_vm; in print_pset()
[all …]
/titanic_41/usr/src/uts/sun4v/io/n2piupc/
H A Dn2piupc_kstats.c39 static void n2piupc_delete_name_kstats(kstat_t **name_kstats_pp,
41 static kstat_t *n2piupc_create_cntr_kstat(char *name, int dev_inst,
42 int (*update)(kstat_t *, int), n2piu_ksinfo_t *ksinfop, int num_pics);
43 static int n2piupc_kstat_update(kstat_t *ksp, int rw);
44 static kstat_t *n2piupc_create_picN_kstat(char *mod_name, int pic,
71 sizeof (kstat_t)), KM_SLEEP); in n2piupc_kstat_init()
173 static kstat_t *
179 kstat_t *picN_ksp = NULL; in n2piupc_create_picN_kstat()
226 static kstat_t *
228 int (*update)(kstat_t *, int), n2piu_ksinfo_t *ksinfop, int num_pics) in n2piupc_create_cntr_kstat() argument
[all …]
/titanic_41/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_counters.c37 static kstat_t *pcmu_create_picN_kstat(char *, int, int, int,
86 static kstat_t *
94 kstat_t *picN_ksp = NULL; in pcmu_create_picN_kstat()
141 kstat_t *pcmu_create_cntr_kstat(pcmu_t *pcmu_p, char *name, in pcmu_create_cntr_kstat()
142 int num_pics, int (*update)(kstat_t *, int), in pcmu_create_cntr_kstat() argument
192 pcmu_cntr_kstat_update(kstat_t *ksp, int rw) in pcmu_cntr_kstat_update()
218 pcmu_cntr_kstat_pa_update(kstat_t *ksp, int rw) in pcmu_cntr_kstat_pa_update()

12345678910>>...18