Lines Matching refs:PAGE_OFF
76 #define PAGE_OFF(addr) ((addr) & ~PAGE_MASK) macro
332 if (PAGE_OFF(start)) in mmap_subpage()
333 copy_to_user((void *) PAGE_START(start), page, PAGE_OFF(start)); in mmap_subpage()
334 if (PAGE_OFF(end)) in mmap_subpage()
335 copy_to_user((void *) end, page + PAGE_OFF(end), in mmap_subpage()
336 PAGE_SIZE - PAGE_OFF(end)); in mmap_subpage()
391 (off + len) - PAGE_OFF(end)); in emulate_mmap()
408 start = pstart + PAGE_OFF(off); /* make start congruent with off */ in emulate_mmap()
415 is_congruent = (flags & MAP_ANONYMOUS) || (PAGE_OFF(poff) == 0); in emulate_mmap()
649 if (PAGE_OFF(start)) { in sys32_mprotect()
660 if (PAGE_OFF(end)) { in sys32_mprotect()