Searched refs:UPPER_ALIGN_TO_PAGE (Results 1 – 3 of 3) sorted by relevance
20 #define UPPER_ALIGN_TO_PAGE(x) ALIGN_TO_PAGE((x)+(sysconf(_SC_PAGE_SIZE)-1)) macro65 length_mapped = UPPER_ALIGN_TO_PAGE(length + offset - offset_mapped); in mapping()
26 #define UPPER_ALIGN_TO_PAGE(x) ALIGN_TO_PAGE((x)+(getpagesize()-1)) macro
188 length_to_map = UPPER_ALIGN_TO_PAGE(length); in open_and_mmap_file()