Searched refs:cs_cur (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/avs/sdbc/ |
H A D | sd_trace.c | 57 extern _sd_stats_t *cs_cur; 174 if (cs_cur->st_shared[i].sh_alloc) in higher() 186 if (SDBC_IOCTL(SDBC_STATS, cs_cur, 0, 0, 0, 0, in is_dirty() 195 if (cs_cur->st_cachesize == 0) in is_dirty() 198 for (i = 0; i < cs_cur->st_count; i++) { in is_dirty() 199 if (cs_cur->st_shared[i].sh_alloc) in is_dirty() 200 dirty += cs_cur->st_shared[i].sh_numdirty; in is_dirty() 212 if (SDBC_IOCTL(SDBC_STATS, cs_cur, 0, 0, 0, 0, &ustats) == in display_cache() 234 if (SDBC_IOCTL(SDBC_STATS, cs_cur, 0, 0, 0, 0, &ustats) == in total_display() 310 if (cs_cur->st_shared[i].sh_alloc) { in set_on_off() [all …]
|
H A D | scmadm.c | 717 static _sd_stats_t *cs_cur = NULL; in cd_to_device() local 720 if (cs_cur == NULL) { in cd_to_device() 721 cs_cur = malloc(sizeof (_sd_stats_t) + in cd_to_device() 724 if (cs_cur == NULL) { in cd_to_device() 731 if (SDBC_IOCTL(SDBC_STATS, cs_cur, 0, 0, 0, 0, in cd_to_device() 738 if (cs_cur->st_cachesize == 0 || cd >= cs_cur->st_count) in cd_to_device() 741 return (cs_cur->st_shared[cd].sh_filename); in cd_to_device() 1780 static _sd_stats_t *cs_cur; local 1790 cs_cur = malloc(sizeof (_sd_stats_t) + 1792 if (cs_cur == NULL) { [all …]
|
H A D | sd_stats.c | 127 _sd_stats_t *cs_cur; variable 176 cs_cur = malloc(sizeof (_sd_stats_t) + in sd_stats_lintmain() 185 !rate_prev || !cs_cur || !cs_prev || !cs_persec || !range) { in sd_stats_lintmain()
|