Home
last modified time | relevance | path

Searched refs:sdbc_global_io_kstat (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bcache.h885 if (sdbc_global_io_kstat) {\
886 KSTAT_IO_PTR(sdbc_global_io_kstat)->reads++;\
887 KSTAT_IO_PTR(sdbc_global_io_kstat)->nread += (bytes);\
896 if (sdbc_global_io_kstat) {\
897 KSTAT_IO_PTR(sdbc_global_io_kstat)->writes++;\
898 KSTAT_IO_PTR(sdbc_global_io_kstat)->nwritten += (bytes);\
910 if (sdbc_global_io_kstat) {\
911 mutex_enter(sdbc_global_io_kstat->ks_lock);\
912 kstat_runq_enter(KSTAT_IO_PTR(sdbc_global_io_kstat));\
913 mutex_exit(sdbc_global_io_kstat->ks_lock);\
[all …]
H A Dsd_bcache.c111 static kstat_t *sdbc_global_io_kstat; variable
587 if (sdbc_global_io_kstat) { in _sdbc_stats_deconfigure()
588 kstat_delete(sdbc_global_io_kstat); in _sdbc_stats_deconfigure()
590 sdbc_global_io_kstat = NULL; in _sdbc_stats_deconfigure()
660 sdbc_global_io_kstat = kstat_create(SDBC_KSTAT_MODULE, 0, in _sdbc_stats_configure()
663 if (sdbc_global_io_kstat) { in _sdbc_stats_configure()
666 sdbc_global_io_kstat->ks_lock = in _sdbc_stats_configure()
668 kstat_install(sdbc_global_io_kstat); in _sdbc_stats_configure()