Lines Matching refs:psize
188 const struct slice_mask *mask, int psize)
191 /* Write the new slice psize bits */
197 slice_dbg("slice_convert(mm=%p, psize=%d)\n", mm, psize);
200 psize_mask = slice_mask_for_size(&mm->context, psize);
223 (((unsigned long)psize) << (mask_index * 4));
242 (((unsigned long)psize) << (mask_index * 4));
281 int psize, unsigned long high_limit)
283 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT);
327 int psize, unsigned long high_limit)
329 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT);
380 return slice_find_area_bottomup(mm, len, available, psize, high_limit);
385 const struct slice_mask *mask, int psize,
389 return slice_find_area_topdown(mm, len, mask, psize, high_limit);
391 return slice_find_area_bottomup(mm, len, mask, psize, high_limit);
430 unsigned long flags, unsigned int psize,
438 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT);
475 slice_dbg("slice_get_unmapped_area(mm=%p, psize=%d...\n", mm, psize);
492 maskp = slice_mask_for_size(&mm->context, psize);
518 if (IS_ENABLED(CONFIG_PPC_64K_PAGES) && psize == MMU_PAGE_64K) {
547 psize, topdown, high_limit);
583 psize, topdown, high_limit);
594 psize, topdown, high_limit);
597 psize == MMU_PAGE_64K) {
601 psize, topdown, high_limit);
627 slice_convert(mm, &potential_mask, psize);
628 if (psize > MMU_PAGE_BASE)
685 unsigned int psize = mmu_virtual_psize;
695 mm_ctx_set_user_psize(&mm->context, psize);
701 memset(lpsizes, (psize << 4) | psize, SLICE_NUM_LOW >> 1);
704 memset(hpsizes, (psize << 4) | psize, SLICE_NUM_HIGH >> 1);
709 mask = slice_mask_for_size(&mm->context, psize);
730 unsigned long len, unsigned int psize)
737 slice_convert(mm, &mask, psize);
764 unsigned int psize = mm_ctx_user_psize(&mm->context);
768 maskp = slice_mask_for_size(&mm->context, psize);
771 if (IS_ENABLED(CONFIG_PPC_64K_PAGES) && psize == MMU_PAGE_64K) {