Searched refs:_sd_cache_stats (Results 1 – 5 of 5) sorted by relevance
853 _sd_cache_stats->st_shared[(cd)].sh_cache_read += (blks)856 _sd_cache_stats->st_shared[(cd)].sh_disk_read += (blks)859 _sd_cache_stats->st_shared[(cd)].sh_cache_write += (blks)862 _sd_cache_stats->st_shared[(cd)].sh_disk_write += (blks)863 #define CACHE_READ_HIT _sd_cache_stats->st_rdhits++864 #define CACHE_READ_MISS _sd_cache_stats->st_rdmiss++865 #define CACHE_WRITE_HIT _sd_cache_stats->st_wrhits++866 #define CACHE_WRITE_MISS _sd_cache_stats->st_wrmiss++870 _sd_cache_stats->st_shared[(cd)].sh_wrcancelns++;\871 _sd_cache_stats->st_wrcancelns++;\[all …]
295 _sd_stats_t *_sd_cache_stats; variable613 if (_sd_cache_stats) { in _sdbc_stats_deconfigure()614 kmem_free(_sd_cache_stats, in _sdbc_stats_deconfigure()617 _sd_cache_stats = NULL; in _sdbc_stats_deconfigure()632 _sd_cache_stats = kmem_zalloc(sizeof (_sd_stats_t) + in _sdbc_stats_configure()634 _sd_cache_stats->st_blksize = (int)BLK_SIZE(1); in _sdbc_stats_configure()635 _sd_cache_stats->st_cachesize = cblocks * BLK_SIZE(1); in _sdbc_stats_configure()636 _sd_cache_stats->st_numblocks = cblocks; in _sdbc_stats_configure()637 _sd_cache_stats->st_wrcancelns = 0; in _sdbc_stats_configure()638 _sd_cache_stats->st_destaged = 0; in _sdbc_stats_configure()[all …]
1294 if (_sd_cache_stats == NULL) in _sd_zap_stats()1297 _sd_cache_stats->st_rdhits = 0; in _sd_zap_stats()1298 _sd_cache_stats->st_rdmiss = 0; in _sd_zap_stats()1299 _sd_cache_stats->st_wrhits = 0; in _sd_zap_stats()1300 _sd_cache_stats->st_wrmiss = 0; in _sd_zap_stats()1305 _sd_cache_stats->st_shared[i].sh_cache_read = 0; in _sd_zap_stats()1306 _sd_cache_stats->st_shared[i].sh_cache_write = 0; in _sd_zap_stats()1307 _sd_cache_stats->st_shared[i].sh_disk_read = 0; in _sd_zap_stats()1308 _sd_cache_stats->st_shared[i].sh_disk_write = 0; in _sd_zap_stats()
1891 for (; (cnt < _sd_cache_stats->st_loc_count) && in _sd_flush_thread()
204 _sd_stats_t *_sd_cache_stats; /* local memory */ in sdbc_stats() local223 _sd_cache_stats = mdb_zalloc(statssize, UM_SLEEP); in sdbc_stats()236 if (mdb_vread(_sd_cache_stats, statssize, _sd_cache_statsp) == -1) { in sdbc_stats()244 i = _sd_cache_stats->st_blksize; in sdbc_stats()248 sdbc_hit_percent(_sd_cache_stats->st_rdhits, _sd_cache_stats->st_rdmiss, in sdbc_stats()250 sdbc_hit_percent(_sd_cache_stats->st_wrhits, _sd_cache_stats->st_wrmiss, in sdbc_stats()258 sh = &_sd_cache_stats->st_shared[i]; in sdbc_stats()271 mdb_free(_sd_cache_stats, statssize); in sdbc_stats()