Lines Matching refs:host_priv
590 * KERN_INVALID_ARGUMENT The host_priv is not valid,
596 host_priv_t host_priv,
605 if (host_priv == HOST_PRIV_NULL) {
609 assert(host_priv == &realhost);
629 host_lock(host_priv);
633 old_port[i] = host_priv->exc_actions[i].port;
634 host_priv->exc_actions[i].port =
636 host_priv->exc_actions[i].behavior = new_behavior;
637 host_priv->exc_actions[i].flavor = new_flavor;
645 host_unlock(host_priv);
668 * KERN_INVALID_ARGUMENT Invalid host_priv specified,
675 host_priv_t host_priv,
685 if (host_priv == HOST_PRIV_NULL)
692 assert (host_priv == &realhost);
694 host_lock(host_priv);
705 if (host_priv->exc_actions[i].port == ports[j] &&
706 host_priv->exc_actions[i].behavior == behaviors[j]
707 && host_priv->exc_actions[i].flavor == flavors[j])
716 ipc_port_copy_send(host_priv->exc_actions[i].port);
717 behaviors[j] = host_priv->exc_actions[i].behavior;
718 flavors[j] = host_priv->exc_actions[i].flavor;
726 host_unlock(host_priv);
734 host_priv_t host_priv,
750 if (host_priv == HOST_PRIV_NULL)
771 host_lock(host_priv);
782 if (host_priv->exc_actions[i].port == ports[j] &&
783 host_priv->exc_actions[i].behavior == behaviors[j]
784 && host_priv->exc_actions[i].flavor == flavors[j])
793 ipc_port_copy_send(host_priv->exc_actions[i].port);
794 behaviors[j] = host_priv->exc_actions[i].behavior;
795 flavors[j] = host_priv->exc_actions[i].flavor;
798 old_port[i] = host_priv->exc_actions[i].port;
799 host_priv->exc_actions[i].port =
801 host_priv->exc_actions[i].behavior = new_behavior;
802 host_priv->exc_actions[i].flavor = new_flavor;
809 host_unlock(host_priv);