Lines Matching refs:daemon_sc
232 struct hv_vss_dev_sc daemon_sc; member
266 return (!sc->register_done && sc->daemon_sc.proc_task); in hv_vss_is_daemon_killed_after_launch()
278 if (sc->register_done || sc->daemon_sc.proc_task) { in hv_vss_callback()
369 SEARCH_REMOVE_REQ_LOCKED(reqp, &sc->daemon_sc.to_notify_queue, in hv_vss_drain_req_queue_locked()
372 SEARCH_REMOVE_REQ_LOCKED(reqp, &sc->daemon_sc.to_ack_queue, in hv_vss_drain_req_queue_locked()
506 hv_vss_notify(&dev_sc->sc->daemon_sc, reqp); in hv_vss_app_acked()
738 if (!STAILQ_EMPTY(&sc->daemon_sc.to_notify_queue) || in hv_vss_get_new_req_locked()
739 !STAILQ_EMPTY(&sc->daemon_sc.to_ack_queue) || in hv_vss_get_new_req_locked()
777 hv_vss_notify(&sc->daemon_sc, reqp); in hv_vss_start_notify()
782 hv_vss_notify(&sc->daemon_sc, reqp); in hv_vss_start_notify()
915 STAILQ_INIT(&sc->daemon_sc.to_notify_queue); in hv_vss_init_send_receive_queue()
916 STAILQ_INIT(&sc->daemon_sc.to_ack_queue); in hv_vss_init_send_receive_queue()
941 while (!STAILQ_EMPTY(&sc->daemon_sc.to_notify_queue)) { in hv_vss_destroy_send_receive_queue()
942 reqp = STAILQ_FIRST(&sc->daemon_sc.to_notify_queue); in hv_vss_destroy_send_receive_queue()
943 STAILQ_REMOVE_HEAD(&sc->daemon_sc.to_notify_queue, slink); in hv_vss_destroy_send_receive_queue()
947 while (!STAILQ_EMPTY(&sc->daemon_sc.to_ack_queue)) { in hv_vss_destroy_send_receive_queue()
948 reqp = STAILQ_FIRST(&sc->daemon_sc.to_ack_queue); in hv_vss_destroy_send_receive_queue()
949 STAILQ_REMOVE_HEAD(&sc->daemon_sc.to_ack_queue, slink); in hv_vss_destroy_send_receive_queue()
1001 sc->hv_vss_dev->si_drv1 = &sc->daemon_sc; in hv_vss_attach()
1002 sc->daemon_sc.sc = sc; in hv_vss_attach()
1028 if (sc->daemon_sc.proc_task != NULL) { in hv_vss_detach()
1029 PROC_LOCK(sc->daemon_sc.proc_task); in hv_vss_detach()
1030 kern_psignal(sc->daemon_sc.proc_task, SIGKILL); in hv_vss_detach()
1031 PROC_UNLOCK(sc->daemon_sc.proc_task); in hv_vss_detach()