Lines Matching refs:xhat
137 struct xhat **xhatp, void *arg) in xhat_attach_xhat()
139 struct xhat *xh; in xhat_attach_xhat()
175 xh->next = (struct xhat *)as->a_xhat; in xhat_attach_xhat()
188 struct xhat *xh; in xhat_detach_xhat()
193 for (xh = (struct xhat *)as->a_xhat; xh != NULL; xh = xh->next) in xhat_detach_xhat()
255 xhat_hat_hold(struct xhat *xhat) in xhat_hat_hold() argument
257 mutex_enter(&xhat->xhat_lock); in xhat_hat_hold()
258 xhat->xhat_refcnt++; in xhat_hat_hold()
259 mutex_exit(&xhat->xhat_lock); in xhat_hat_hold()
263 xhat_hat_rele(struct xhat *xhat) in xhat_hat_rele() argument
265 mutex_enter(&xhat->xhat_lock); in xhat_hat_rele()
266 xhat->xhat_refcnt--; in xhat_hat_rele()
267 ASSERT(xhat->xhat_refcnt >= 0); in xhat_hat_rele()
268 mutex_exit(&xhat->xhat_lock); in xhat_hat_rele()
273 xhat_hat_holders(struct xhat *xhat) in xhat_hat_holders() argument
275 return (xhat->xhat_refcnt); in xhat_hat_holders()
286 struct xhat *xh, *xh_nxt; in xhat_free_start_all()
292 xh = (struct xhat *)as->a_xhat; in xhat_free_start_all()
339 struct xhat *xh, *xh_nxt; in xhat_free_end_all()
344 xh = (struct xhat *)as->a_xhat; in xhat_free_end_all()
385 struct xhat *xh, *xh_nxt; in xhat_swapout_all()
391 xh = (struct xhat *)as->a_xhat; in xhat_swapout_all()
458 struct xhat *xh, *xh_nxt; in xhat_op_all()
461 xh = (struct xhat *)as->a_xhat; in xhat_op_all()