Lines Matching refs:app_sc
231 struct hv_vss_dev_sc app_sc; member
376 SEARCH_REMOVE_REQ_LOCKED(reqp, &sc->app_sc.to_notify_queue, in hv_vss_drain_req_queue_locked()
379 SEARCH_REMOVE_REQ_LOCKED(reqp, &sc->app_sc.to_ack_queue, slink, in hv_vss_drain_req_queue_locked()
414 &dev_sc->sc->app_sc == dev_sc ? "app" : "daemon"); in hv_vss_notify()
458 hv_vss_notify(&dev_sc->sc->app_sc, reqp); in hv_vss_daemon_acked()
741 !STAILQ_EMPTY(&sc->app_sc.to_notify_queue) || in hv_vss_get_new_req_locked()
742 !STAILQ_EMPTY(&sc->app_sc.to_ack_queue)) { in hv_vss_get_new_req_locked()
776 hv_vss_notify(&sc->app_sc, reqp); in hv_vss_start_notify()
918 STAILQ_INIT(&sc->app_sc.to_notify_queue); in hv_vss_init_send_receive_queue()
919 STAILQ_INIT(&sc->app_sc.to_ack_queue); in hv_vss_init_send_receive_queue()
954 while (!STAILQ_EMPTY(&sc->app_sc.to_notify_queue)) { in hv_vss_destroy_send_receive_queue()
955 reqp = STAILQ_FIRST(&sc->app_sc.to_notify_queue); in hv_vss_destroy_send_receive_queue()
956 STAILQ_REMOVE_HEAD(&sc->app_sc.to_notify_queue, slink); in hv_vss_destroy_send_receive_queue()
960 while (!STAILQ_EMPTY(&sc->app_sc.to_ack_queue)) { in hv_vss_destroy_send_receive_queue()
961 reqp = STAILQ_FIRST(&sc->app_sc.to_ack_queue); in hv_vss_destroy_send_receive_queue()
962 STAILQ_REMOVE_HEAD(&sc->app_sc.to_ack_queue, slink); in hv_vss_destroy_send_receive_queue()
1018 sc->hv_appvss_dev->si_drv1 = &sc->app_sc; in hv_vss_attach()
1019 sc->app_sc.sc = sc; in hv_vss_attach()
1034 if (sc->app_sc.proc_task != NULL) { in hv_vss_detach()
1035 PROC_LOCK(sc->app_sc.proc_task); in hv_vss_detach()
1036 kern_psignal(sc->app_sc.proc_task, SIGKILL); in hv_vss_detach()
1037 PROC_UNLOCK(sc->app_sc.proc_task); in hv_vss_detach()