Lines Matching refs:xhat
43 struct xhat;
47 struct xhat *(*xhat_alloc)(void *);
48 void (*xhat_free)(struct xhat *);
49 void (*xhat_free_start)(struct xhat *);
50 void (*xhat_free_end)(struct xhat *);
51 int (*xhat_dup)(struct xhat *, struct xhat *, caddr_t,
53 void (*xhat_swapin)(struct xhat *);
54 void (*xhat_swapout)(struct xhat *);
55 void (*xhat_memload)(struct xhat *, caddr_t, struct page *,
57 void (*xhat_memload_array)(struct xhat *, caddr_t, size_t,
59 void (*xhat_devload)(struct xhat *, caddr_t, size_t, pfn_t,
61 void (*xhat_unload)(struct xhat *, caddr_t, size_t, uint_t);
62 void (*xhat_unload_callback)(struct xhat *, caddr_t, size_t,
64 void (*xhat_setattr)(struct xhat *, caddr_t, size_t, uint_t);
65 void (*xhat_clrattr)(struct xhat *, caddr_t, size_t, uint_t);
66 void (*xhat_chgattr)(struct xhat *, caddr_t, size_t, uint_t);
67 void (*xhat_unshare)(struct xhat *, caddr_t, size_t);
68 void (*xhat_chgprot)(struct xhat *, caddr_t, size_t, uint_t);
69 int (*xhat_pageunload)(struct xhat *, struct page *, uint_t,
75 #define XHAT_PROPS(_h) XHAT_POPS(((struct xhat *)(_h))->xhat_provider)
83 XHAT_HOPS(a, xhat_free_start, ((struct xhat *)(a)))
85 XHAT_HOPS(a, xhat_free_end, ((struct xhat *)(a)))
88 XHAT_PROPS(a)->xhat_dup((struct xhat *)(a), \
89 (struct xhat *)(b), c, d, e))
91 XHAT_HOPS(a, xhat_swapin, ((struct xhat *)(a)))
93 XHAT_HOPS(a, xhat_swapout, ((struct xhat *)(a)))
95 XHAT_HOPS(a, xhat_memload, ((struct xhat *)(a), b, c, d, e))
97 XHAT_HOPS(a, xhat_memload_array, ((struct xhat *)(a), b, c, d, e, f))
99 XHAT_HOPS(a, xhat_devload, ((struct xhat *)(a), b, c, d, e, f))
101 XHAT_HOPS(a, xhat_unload, ((struct xhat *)(a), b, c, d))
103 XHAT_HOPS(a, xhat_unload_callback, ((struct xhat *)(a), b, c, d, e))
105 XHAT_HOPS(a, xhat_setattr, ((struct xhat *)(a), b, c, d))
107 XHAT_HOPS(a, xhat_clrattr, ((struct xhat *)(a), b, c, d))
109 XHAT_HOPS(a, xhat_chgattr, ((struct xhat *)(a), b, c, d))
111 XHAT_HOPS(a, xhat_unshare, ((struct xhat *)(a), b, c))
113 XHAT_HOPS(a, xhat_chgprot, ((struct xhat *)(a), b, c, d))
116 XHAT_PROPS(a)->xhat_pageunload((struct xhat *)(a), b, c, d))
158 struct xhat { struct
162 struct xhat *prev; argument
163 struct xhat *next; argument
180 int xhat_attach_xhat(xhat_provider_t *, struct as *, struct xhat **, argument
183 pfn_t xhat_insert_xhatblk(page_t *, struct xhat *, void **);
185 void xhat_hat_hold(struct xhat *);
186 void xhat_hat_rele(struct xhat *);
187 int xhat_hat_holders(struct xhat *);