/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | kstat.h | 82 void *ks_data; /* kstat type-specific data */ member 499 #define KSTAT_NAMED_PTR(kptr) ((kstat_named_t *)(kptr)->ks_data) 543 #define KSTAT_INTR_PTR(kptr) ((kstat_intr_t *)(kptr)->ks_data) 648 #define KSTAT_IO_PTR(kptr) ((kstat_io_t *)(kptr)->ks_data) 668 #define KSTAT_TIMER_PTR(kptr) ((kstat_timer_t *)(kptr)->ks_data)
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_kstat.c | 95 return (ksp->ks_data); in kstat_raw_default_addr() 106 ksent = ksp->ks_data; in kstat_sysctl() 120 kstat_named_t *ksent = ksp->ks_data; in kstat_sysctl_string() 145 ksent_ds = ksent = ksp->ks_data; in kstat_sysctl_dataset() 167 kstat_named_t *ksent = ksp->ks_data; in kstat_sysctl_dataset_string() 189 kstat_io_t *kip = ksp->ks_data; in kstat_sysctl_io() 271 sbuf_hexdump(&sb, ksp->ks_data, in kstat_sysctl_raw() 344 ksp->ks_data = NULL; in __kstat_create() 346 ksp->ks_data = kmem_zalloc(ksp->ks_data_size, KM_SLEEP); in __kstat_create() 428 ksent = ksp->ks_data; in kstat_install_named() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dataset_kstats.c | 68 dataset_kstat_values_t *dkv = ksp->ks_data; in dataset_kstats_update() 69 ASSERT3P(dk->dk_kstats->ks_data, ==, dkv); in dataset_kstats_update() 164 kstat->ks_data = dk_kstats; in dataset_kstats_create() 188 dataset_kstat_values_t *dkv = dk->dk_kstats->ks_data; in dataset_kstats_destroy() 210 dataset_kstat_values_t *dkv = dk->dk_kstats->ks_data; in dataset_kstats_rename()
|
H A D | spa_stats.c | 515 ksp->ks_data = shk->priv; in spa_tx_assign_init() 812 ksp->ks_data = NULL; in spa_state_init() 847 ksp->ks_data = NULL; in spa_guid_init() 924 iostats = ksp->ks_data; in spa_iostats_trim_add() 958 spa_iostats_t *iostats = ksp->ks_data; in spa_iostats_read_add() 977 spa_iostats_t *iostats = ksp->ks_data; in spa_iostats_write_add() 991 memcpy(ksp->ks_data, &spa_iostats_template, in spa_iostats_update() 1016 ksp->ks_data = kmem_alloc(size, KM_SLEEP); in spa_iostats_init() 1017 memcpy(ksp->ks_data, &spa_iostats_template, size); in spa_iostats_init() 1030 kmem_free(ksp->ks_data, sizeof (spa_iostats_t)); in spa_iostats_destroy()
|
H A D | dmu_zfetch.c | 117 zfetch_stats_t *zs = ksp->ks_data; in zfetch_kstats_update() 157 zfetch_ksp->ks_data = &zfetch_stats;
|
H A D | zfs_chksum.c | 351 chksum_kstat->ks_data = NULL; in chksum_init()
|
H A D | ddt.c | 345 &((ddt_kstats_t *)(ddt)->ddt_ksp->ks_data)->stat.value.ui64 1555 ddt->ddt_ksp->ks_data = dds; in ddt_table_alloc_kstats() 1591 kmem_free(ddt->ddt_ksp->ks_data, sizeof (ddt_kstats_t)); in ddt_table_free() 1592 ddt->ddt_ksp->ks_data = NULL; in ddt_table_free()
|
H A D | vdev_raidz_math.c | 532 raidz_math_kstat->ks_data = NULL; in vdev_raidz_math_init()
|
H A D | brt.c | 939 brt_stats_t *bs = ksp->ks_data; in brt_kstats_update() 986 brt_ksp->ks_data = &brt_stats; in brt_stat_init()
|
H A D | vdev_mirror.c | 87 mirror_ksp->ks_data = &mirror_stats; in vdev_mirror_stat_init()
|
H A D | fm.c | 1327 fm_ksp->ks_data = &erpt_kstat_data; in fm_init()
|
H A D | dmu_tx.c | 1547 dmu_tx_ksp->ks_data = &dmu_tx_stats; in dmu_tx_init()
|
H A D | dnode.c | 241 dnode_stats_t *ds = ksp->ks_data; in dnode_kstats_update() 345 dnode_ksp->ks_data = &dnode_stats; in dnode_init()
|
H A D | zil.c | 229 zil_kstat_values_t *zs = ksp->ks_data; in zil_kstats_global_update() 3822 zil_kstats_global->ks_data = &zil_stats; in zil_init()
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-kstat.c | 243 rc = kstat_seq_show_raw(f, ksp->ks_data, in kstat_seq_show() 287 rc = ksp->ks_data; in kstat_seq_data_addr() 290 rc = ksp->ks_data + n * sizeof (kstat_named_t); in kstat_seq_data_addr() 293 rc = ksp->ks_data + n * sizeof (kstat_intr_t); in kstat_seq_data_addr() 296 rc = ksp->ks_data + n * sizeof (kstat_io_t); in kstat_seq_data_addr() 299 rc = ksp->ks_data + n * sizeof (kstat_timer_t); in kstat_seq_data_addr() 556 ksp->ks_data = NULL; in __kstat_create() 558 ksp->ks_data = kmem_zalloc(ksp->ks_data_size, KM_SLEEP); in __kstat_create() 559 if (ksp->ks_data == NULL) { in __kstat_create() 694 kmem_free(ksp->ks_data, ksp->ks_data_size); in __kstat_delete()
|
H A D | spl-taskq.c | 1234 taskq_kstats_t *tqks = ksp->ks_data; in taskq_kstats_update() 1301 ksp->ks_data = kmem_alloc(sizeof (taskq_kstats_t), KM_SLEEP); in taskq_kstats_init() 1302 memcpy(ksp->ks_data, &taskq_kstats_template, sizeof (taskq_kstats_t)); in taskq_kstats_init() 1314 kmem_free(tq->tq_ksp->ks_data, sizeof (taskq_kstats_t)); in taskq_kstats_fini() 1589 taskq_kstats_t *tqks = tq->tq_ksp->ks_data; in spl_taskq_kstat_data() 1631 ksp->ks_data = (void *)(uintptr_t)1; in spl_taskq_kstat_init()
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | kstat.h | 51 void *ks_data; member
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | qat.c | 73 qat_ksp->ks_data = &qat_stats; in qat_init()
|
H A D | abd_os.c | 597 abd_stats_t *as = ksp->ks_data; in abd_kstats_update() 658 abd_ksp->ks_data = &abd_stats; in abd_init()
|
/freebsd/sys/contrib/openzfs/module/zcommon/ |
H A D | simd_stat.c | 174 simd_stat_kstat->ks_data = (void*)(uintptr_t)1; in simd_stat_init()
|
H A D | zfs_fletcher.c | 798 fletcher_4_kstat->ks_data = NULL; in fletcher_4_init()
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | kstat.h | 117 void *ks_data; /* kstat type-specific data */ member
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | kstat.h | 121 void *ks_data; /* kstat type-specific data */ member
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | abd_os.c | 287 abd_stats_t *as = ksp->ks_data; in abd_kstats_update() 322 abd_ksp->ks_data = &abd_stats; in abd_init()
|
/freebsd/sys/contrib/openzfs/module/zstd/ |
H A D | zfs_zstd.c | 965 zstd_ksp->ks_data = &zstd_stats; in zstd_init()
|