Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dkstat.h43 } kstat_t; typedef
82 extern kstat_t *kstat_create(const char *, int,
84 extern void kstat_install(kstat_t *);
85 extern void kstat_delete(kstat_t *);
86 extern void kstat_set_raw_ops(kstat_t *ksp,
89 void *(*addr)(kstat_t *ksp, off_t index));
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_kstat.c51 __kstat_set_raw_ops(kstat_t *ksp, in __kstat_set_raw_ops()
54 void *(*addr)(kstat_t *ksp, loff_t index)) in __kstat_set_raw_ops()
62 __kstat_set_seq_raw_ops(kstat_t *ksp, in __kstat_set_seq_raw_ops()
65 void *(*addr)(kstat_t *ksp, loff_t index)) in __kstat_set_seq_raw_ops()
73 kstat_default_update(kstat_t *ksp, int rw) in kstat_default_update()
84 kstat_resize_raw(kstat_t *ksp) in kstat_resize_raw()
97 kstat_raw_default_addr(kstat_t *ksp, loff_t n) in kstat_raw_default_addr()
107 kstat_t *ksp = arg1; in kstat_sysctl()
124 kstat_t *ksp = arg1; in kstat_sysctl_string()
143 kstat_t *ksp = arg1; in kstat_sysctl_dataset()
[all …]
H A Dspl_procfs_list.c49 procfs_list_update(kstat_t *ksp, int rw) in procfs_list_update()
77 procfs_list_addr(kstat_t *ksp, loff_t n) in procfs_list_addr()
109 kstat_t *procfs_kstat; in procfs_list_install()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dkstat.h84 typedef struct kstat_s kstat_t; typedef
108 void *(*addr)(kstat_t *ksp, loff_t index);
197 extern void __kstat_set_raw_ops(kstat_t *ksp,
200 void* (*addr)(kstat_t *ksp, loff_t index));
202 extern void __kstat_set_seq_raw_ops(kstat_t *ksp,
205 void* (*addr)(kstat_t *ksp, loff_t index));
208 extern kstat_t *__kstat_create(const char *ks_module, int ks_instance,
212 extern void __kstat_install(kstat_t *ksp);
213 extern void __kstat_delete(kstat_t *ksp);
226 #define kstat_create(m, i, n, c, t, s, f) ((kstat_t *)0)
/freebsd/sys/contrib/openzfs/lib/libspl/
H A Dkstat.c36 kstat_t *
46 kstat_install(kstat_t *ksp) in kstat_install()
52 kstat_delete(kstat_t *ksp) in kstat_delete()
58 kstat_set_raw_ops(kstat_t *ksp, in kstat_set_raw_ops()
61 void *(*addr)(kstat_t *ksp, off_t index)) in kstat_set_raw_ops()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kstat.c47 kstat_resize_raw(kstat_t *ksp) in kstat_resize_raw()
62 kstat_t *ksp = (kstat_t *)f->private; in kstat_seq_show_headers()
231 kstat_t *ksp = (kstat_t *)f->private; in kstat_seq_show()
272 kstat_default_update(kstat_t *ksp, int rw) in kstat_default_update()
283 kstat_seq_data_addr(kstat_t *ksp, loff_t n) in kstat_seq_data_addr()
317 kstat_t *ksp = (kstat_t *)f->private; in kstat_seq_start()
345 kstat_t *ksp = (kstat_t *)f->private; in kstat_seq_next()
358 kstat_t *ksp = (kstat_t *)f->private; in kstat_seq_stop()
480 kstat_t *ksp = f->private; in proc_kstat_write()
513 __kstat_set_raw_ops(kstat_t *ksp, in __kstat_set_raw_ops()
[all …]
H A Dspl-taskq.c1247 taskq_kstats_update(kstat_t *ksp, int rw) in taskq_kstats_update()
1311 kstat_t *ksp = kstat_create("taskq", 0, name, "misc", in taskq_kstats_init()
1575 static kstat_t *taskq_summary_ksp = NULL;
1644 kstat_t *ksp = kstat_create("taskq", 0, "summary", "misc", in spl_taskq_kstat_init()
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkstat.h87 typedef struct kstat_s kstat_t; typedef
104 void *(*addr)(kstat_t *ksp, loff_t index);
199 extern void __kstat_set_raw_ops(kstat_t *ksp,
202 void* (*addr)(kstat_t *ksp, loff_t index));
204 extern kstat_t *__kstat_create(const char *ks_module, int ks_instance,
214 extern void __kstat_install(kstat_t *ksp);
215 extern void __kstat_delete(kstat_t *ksp);
H A Dtaskq.h142 kstat_t *tq_ksp;
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dkstat.h59 } kstat_t; typedef
77 kstat_t *kstat_create(char *module, int instance, char *name, char *cls,
79 void kstat_install(kstat_t *ksp);
80 void kstat_delete(kstat_t *ksp);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_stats.c464 spa_tx_assign_update(kstat_t *ksp, int rw) in spa_tx_assign_update()
491 kstat_t *ksp; in spa_tx_assign_init()
530 kstat_t *ksp; in spa_tx_assign_destroy()
775 spa_state_addr(kstat_t *ksp, loff_t n) in spa_state_addr()
802 kstat_t *ksp; in spa_state_init()
836 kstat_t *ksp; in spa_guid_init()
862 kstat_t *ksp = shk->kstat; in spa_health_destroy()
873 kstat_t *ksp = shk->kstat; in spa_guid_destroy()
919 kstat_t *ksp = shk->kstat; in spa_iostats_trim_add()
955 kstat_t *ksp = shk->kstat; in spa_iostats_read_add()
[all …]
H A Ddbuf_stats.c39 kstat_t *kstat;
169 dbuf_stats_hash_table_addr(kstat_t *ksp, loff_t n) in dbuf_stats_hash_table_addr()
187 kstat_t *ksp; in dbuf_stats_hash_table_init()
210 kstat_t *ksp; in dbuf_stats_hash_table_destroy()
H A Ddataset_kstats.c67 dataset_kstats_update(kstat_t *ksp, int rw) in dataset_kstats_update()
148 kstat_t *kstat = kstat_create(kstat_module_name, 0, kstat_name, in dataset_kstats_create()
H A Dzfs_chksum.c57 static kstat_t *chksum_kstat = NULL;
133 chksum_kstat_addr(kstat_t *ksp, loff_t n) in chksum_kstat_addr()
H A Dvdev_raidz_math.c100 static kstat_t *raidz_math_kstat = NULL;
349 raidz_math_kstat_addr(kstat_t *ksp, loff_t n) in raidz_math_kstat_addr()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_debug.c41 static kstat_t *zfs_dbgmsg_kstat;
77 zfs_dbgmsg_addr(kstat_t *ksp, loff_t n) in zfs_dbgmsg_addr()
111 zfs_dbgmsg_update(kstat_t *ksp, int rw) in zfs_dbgmsg_update()
H A Dabd_os.c108 static kstat_t *abd_ksp;
286 abd_kstats_update(kstat_t *ksp, int rw) in abd_kstats_update()
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddataset_kstats.h70 kstat_t *dk_kstats;
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dqat.c47 static kstat_t *qat_ksp = NULL;
/freebsd/contrib/sendmail/libsm/
H A Dmemstat.c92 static kstat_t *kst;
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dsimd_stat.c34 kstat_t *simd_stat_kstat;
H A Dzfs_fletcher.c220 static kstat_t *fletcher_4_kstat;
667 fletcher_4_kstat_addr(kstat_t *ksp, loff_t n) in fletcher_4_kstat_addr()
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c112 kstat_t *ksp; in fake_up_certain_popular_kernel_symbols()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp390 typedef struct kernel_stat kstat_t; typedef
392 typedef struct kernel_stat64 kstat_t; typedef
411 static void kernel_stat_to_stat(kstat_t *in, struct stat *out) { in kernel_stat_to_stat()
459 kstat_t buf64; in internal_stat()
498 kstat_t buf64; in internal_lstat()
522 kstat_t kbuf; in internal_fstat()
528 kstat_t kbuf; in internal_fstat()
/freebsd/sys/contrib/openzfs/module/zstd/
H A Dzfs_zstd.c64 static kstat_t *zstd_ksp = NULL;
117 kstat_zstd_update(kstat_t *ksp, int rw) in kstat_zstd_update()

12