Home
last modified time | relevance | path

Searched refs:_sd_ft_data (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_ft.h46 #define _SD_MIRROR_CONFIGD (_sd_ft_data.fi_host_state ==\
48 #define _SD_MIRROR_DECONFIGD (_sd_ft_data.fi_host_state == \
50 #define _SD_MIRROR_NOCACHE (_sd_ft_data.fi_host_state == \
74 #define _sd_is_mirror_down() (_sd_ft_data.fi_crashed)
75 #define _sd_mirror_cache_down() (_sd_ft_data.fi_crashed = 1,\
76 _sd_ft_data.fi_host_state = _SD_HOST_NOCACHE)
77 #define _sd_mirror_down() (_sd_ft_data.fi_crashed = 1,\
78 _sd_ft_data.fi_host_state = _SD_HOST_NONE)
79 #define _sd_mirror_up() (_sd_ft_data.fi_crashed = 0)
82 extern _sd_ft_info_t _sd_ft_data;
H A Dsd_ft.c46 _sd_ft_info_t _sd_ft_data; variable
105 mutex_destroy(&_sd_ft_data.fi_lock); in _sdbc_ft_unload()
106 cv_destroy(&_sd_ft_data.fi_rem_sv); in _sdbc_ft_unload()
107 mutex_destroy(&_sd_ft_data.fi_sleep); in _sdbc_ft_unload()
108 bzero(&_sd_ft_data, sizeof (_sd_ft_info_t)); in _sdbc_ft_unload()
121 mutex_init(&_sd_ft_data.fi_lock, NULL, MUTEX_DRIVER, NULL); in _sdbc_ft_load()
122 cv_init(&_sd_ft_data.fi_rem_sv, NULL, CV_DRIVER, NULL); in _sdbc_ft_load()
124 mutex_init(&_sd_ft_data.fi_sleep, NULL, MUTEX_DRIVER, NULL); in _sdbc_ft_load()
143 mutex_enter(&_sd_ft_data.fi_lock); in _sdbc_ft_deconfigure()
145 cv_broadcast(&_sd_ft_data.fi_rem_sv); in _sdbc_ft_deconfigure()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/sdbc/
H A Dsdbc.c93 _sd_ft_info_t _sd_ft_data; in sdbc_config() local
149 if (mdb_readvar(&_sd_ft_data, "_sd_ft_data") == -1) { in sdbc_config()
156 _sd_ft_data.fi_crashed, in sdbc_config()
157 _sd_ft_data.fi_host_state, host_states, in sdbc_config()
158 _sd_ft_data.fi_numio); in sdbc_config()
160 _sd_ft_data.fi_lock._opaque[0], in sdbc_config()
161 _sd_ft_data.fi_rem_sv._opaque, in sdbc_config()
162 _sd_ft_data.fi_sleep._opaque[0]); in sdbc_config()