Lines Matching defs:xhat
34 #include <vm/xhat.h>
69 /* Allocate kmem_cache which will manage xhat blocks */
137 struct xhat **xhatp, void *arg)
139 struct xhat *xh;
175 xh->next = (struct xhat *)as->a_xhat;
188 struct xhat *xh;
193 for (xh = (struct xhat *)as->a_xhat; xh != NULL; xh = xh->next)
255 xhat_hat_hold(struct xhat *xhat)
257 mutex_enter(&xhat->xhat_lock);
258 xhat->xhat_refcnt++;
259 mutex_exit(&xhat->xhat_lock);
263 xhat_hat_rele(struct xhat *xhat)
265 mutex_enter(&xhat->xhat_lock);
266 xhat->xhat_refcnt--;
267 ASSERT(xhat->xhat_refcnt >= 0);
268 mutex_exit(&xhat->xhat_lock);
273 xhat_hat_holders(struct xhat *xhat)
275 return (xhat->xhat_refcnt);
286 struct xhat *xh, *xh_nxt;
292 xh = (struct xhat *)as->a_xhat;
339 struct xhat *xh, *xh_nxt;
344 xh = (struct xhat *)as->a_xhat;
385 struct xhat *xh, *xh_nxt;
391 xh = (struct xhat *)as->a_xhat;
458 struct xhat *xh, *xh_nxt;
461 xh = (struct xhat *)as->a_xhat;