Lines Matching refs:_ptp
112 #define PT_GET(_ptp) \ argument
113 (pmap_valid_entry(*(_ptp)) ? xpmap_mtop(*(_ptp)) : (0))
117 #define PT_SET_VA(_ptp,_npte,sync) do { \ argument
118 PMAP_REF((_ptp), xpmap_ptom(_npte)); \
120 *(_ptp) = xpmap_ptom((_npte)); \
122 #define PT_SET_VA_MA(_ptp,_npte,sync) do { \ argument
123 PMAP_REF((_ptp), (_npte)); \
125 *(_ptp) = (_npte); \
127 #define PT_CLEAR_VA(_ptp, sync) do { \ argument
128 PMAP_REF((pt_entry_t *)(_ptp), 0); \
130 *(_ptp) = 0; \
133 #define PD_SET_VA(_pmap, _ptp, _npte, sync) do { \ argument
134 PMAP_REF((_ptp), xpmap_ptom(_npte)); \
135 pd_set((_pmap),(_ptp),(_npte), SH_PD_SET_VA); \
138 #define PD_SET_VA_MA(_pmap, _ptp, _npte, sync) do { \ argument
139 PMAP_REF((_ptp), (_npte)); \
140 pd_set((_pmap),(_ptp),(_npte), SH_PD_SET_VA_MA); \
143 #define PD_CLEAR_VA(_pmap, _ptp, sync) do { \ argument
144 PMAP_REF((pt_entry_t *)(_ptp), 0); \
145 pd_set((_pmap),(_ptp), 0, SH_PD_SET_VA_CLEAR); \
151 #define PT_SET_VA(_ptp,_npte,sync) do { \ argument
152 PMAP_REF((_ptp), xpmap_ptom(_npte)); \
153 xen_queue_pt_update(vtomach(_ptp), \
157 #define PT_SET_VA_MA(_ptp,_npte,sync) do { \ argument
158 PMAP_REF((_ptp), (_npte)); \
159 xen_queue_pt_update(vtomach(_ptp), _npte); \
162 #define PT_CLEAR_VA(_ptp, sync) do { \ argument
163 PMAP_REF((pt_entry_t *)(_ptp), 0); \
164 xen_queue_pt_update(vtomach(_ptp), 0); \
170 PMAP_REF((_ptp), xpmap_ptom(_npte)); \
175 PMAP_REF((_ptp), (_npte)); \
180 PMAP_REF((pt_entry_t *)(_ptp), 0); \