Lines Matching refs:znotify
206 struct znotify { struct
6033 do_callback(struct znotify *zevtchan, sysevent_t *ev) in do_callback()
6082 struct znotify *zevtchan = p; in zn_cb()
6147 struct znotify *zevtchan = h; in zonecfg_notify_critical_enter()
6157 struct znotify *zevtchan = h; in zonecfg_notify_critical_exit()
6191 struct znotify *zevtchan = h; in zonecfg_notify_critical_abort()
6207 struct znotify *zevtchan; in zonecfg_notify_bind()
6211 zevtchan = malloc(sizeof (struct znotify)); in zonecfg_notify_bind()
6275 (void) sysevent_evc_unbind(((struct znotify *)handle)->zn_eventchan); in zonecfg_notify_unbind()
6280 ret = pthread_mutex_trylock(&((struct znotify *)handle)->zn_mutex); in zonecfg_notify_unbind()
6285 (void) pthread_mutex_unlock(&((struct znotify *)handle)->zn_mutex); in zonecfg_notify_unbind()
6286 (void) pthread_mutex_destroy(&((struct znotify *)handle)->zn_mutex); in zonecfg_notify_unbind()
6287 (void) pthread_cond_destroy(&((struct znotify *)handle)->zn_cond); in zonecfg_notify_unbind()
6288 (void) pthread_mutex_destroy(&((struct znotify *)handle)->zn_bigmutex); in zonecfg_notify_unbind()