Searched refs:rdc_sync_event (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_svc.c | 115 mutex_enter(&rdc_sync_event.mutex); in _rdc_sync_event_notify() 117 if (rdc_sync_event.daemon_waiting) { in _rdc_sync_event_notify() 118 rdc_sync_event.daemon_waiting = 0; in _rdc_sync_event_notify() 119 rdc_sync_event.event = operation; in _rdc_sync_event_notify() 120 (void) strncpy(rdc_sync_event.master, volume, NSC_MAXPATH); in _rdc_sync_event_notify() 121 (void) strncpy(rdc_sync_event.group, group, NSC_MAXPATH); in _rdc_sync_event_notify() 123 cv_signal(&rdc_sync_event.cv); in _rdc_sync_event_notify() 125 rdc_sync_event.kernel_waiting = 1; in _rdc_sync_event_notify() 126 time = cv_reltimedwait_sig(&rdc_sync_event.done_cv, in _rdc_sync_event_notify() 127 &rdc_sync_event.mutex, rdc_sync_event_timeout, in _rdc_sync_event_notify() [all …]
|
H A D | rdc.c | 188 rdc_sync_event_t rdc_sync_event; variable 195 mutex_init(&rdc_sync_event.mutex, NULL, MUTEX_DRIVER, NULL); in rdc_sync_event_init() 196 cv_init(&rdc_sync_event.cv, NULL, CV_DRIVER, NULL); in rdc_sync_event_init() 197 cv_init(&rdc_sync_event.done_cv, NULL, CV_DRIVER, NULL); in rdc_sync_event_init() 198 rdc_sync_event.master[0] = 0; in rdc_sync_event_init() 199 rdc_sync_event.lbolt = (clock_t)0; in rdc_sync_event_init() 208 mutex_destroy(&rdc_sync_event.mutex); in rdc_sync_event_destroy() 209 cv_destroy(&rdc_sync_event.cv); in rdc_sync_event_destroy() 210 cv_destroy(&rdc_sync_event.done_cv); in rdc_sync_event_destroy()
|
H A D | rdc_io.h | 735 extern rdc_sync_event_t rdc_sync_event;
|