Lines Matching refs:szc

67 #define	PLCNT_INCR(pp, mnode, mtype, szc, flags)			\  argument
68 plcnt_inc_dec(pp, mtype, szc, 1l << PAGE_BSZS_SHIFT(szc), flags)
69 #define PLCNT_DECR(pp, mnode, mtype, szc, flags) \ argument
70 plcnt_inc_dec(pp, mtype, szc, -1l << PAGE_BSZS_SHIFT(szc), flags)
117 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ argument
118 (*(page_freelists[mtype][szc] + (color)))
148 #define MEM_NODE_ITERATOR_INIT(pfn, mnode, szc, it) argument
193 #define PAGE_GET_COLOR_SHIFT(szc, nszc) \ argument
194 (hw_page_array[(nszc)].hp_shift - hw_page_array[(szc)].hp_shift)
196 #define PAGE_CONVERT_COLOR(ncolor, szc, nszc) \ argument
197 ((ncolor) << PAGE_GET_COLOR_SHIFT((szc), (nszc)))
199 #define PFN_2_COLOR(pfn, szc, it) \ argument
201 (hw_page_array[szc].hp_shift - hw_page_array[0].hp_shift))
203 #define PNUM_SIZE(szc) \ argument
204 (hw_page_array[(szc)].hp_pgcnt)
205 #define PNUM_SHIFT(szc) \ argument
206 (hw_page_array[(szc)].hp_shift - hw_page_array[0].hp_shift)
207 #define PAGE_GET_SHIFT(szc) \ argument
208 (hw_page_array[(szc)].hp_shift)
209 #define PAGE_GET_PAGECOLORS(szc) \ argument
210 (hw_page_array[(szc)].hp_colors)
216 #define PAGE_NEXT_PFN_FOR_COLOR(pfn, szc, color, ceq_mask, color_mask, it) \ argument
218 uint_t pfn_shift = PAGE_BSZS_SHIFT(szc); \
232 #define PAGE_GET_NSZ_MASK(szc, mask) \ argument
233 ((mask) >> (PAGE_GET_SHIFT((szc) + 1) - PAGE_GET_SHIFT(szc)))
236 #define PAGE_GET_NSZ_COLOR(szc, color) \ argument
237 ((color) >> (PAGE_GET_SHIFT((szc) + 1) - PAGE_GET_SHIFT(szc)))
240 #define PP_2_BIN_SZC(pp, szc) (PFN_2_COLOR(pp->p_pagenum, szc, NULL)) argument
248 #define SZCPAGES(szc) (1 << PAGE_BSZS_SHIFT(szc)) argument
249 #define PFN_BASE(pfnum, szc) (pfnum & ~(SZCPAGES(szc) - 1)) argument
272 void page_list_walk_init(uchar_t szc, uint_t flags, uint_t bin,
275 uint_t page_list_walk_next_bin(uchar_t szc, uint_t bin,
325 #define CHK_LPG(pp, szc) chk_lpg(pp, szc) argument
328 #define CHK_LPG(pp, szc) argument
335 #define PP_GROUPLEADER(pp, szc) \ argument
336 (&(pp)[-(int)((pp)->p_pagenum & (SZCPAGES(szc)-1))])
369 #define SZC_2_USERSZC(szc) (szc) argument
391 #define PAGE_BSZS_SHIFT(szc) (LEVEL_SHIFT(szc) - MMU_PAGESHIFT) argument
438 #define AS_2_BIN(as, seg, vp, addr, bin, szc) \ argument
441 (hw_page_array[szc].hp_shift - hw_page_array[0].hp_shift))