Searched refs:last_mmap (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/arch/parisc/kernel/ |
H A D | sys_parisc.c | 46 static int get_offset(unsigned int last_mmap) get_offset() argument 48 return (last_mmap & (SHM_COLOUR-1)) >> PAGE_SHIFT; get_offset() 51 static unsigned long shared_align_offset(unsigned int last_mmap, shared_align_offset() argument 54 return (get_offset(last_mmap) + pgoff) << PAGE_SHIFT; shared_align_offset() 58 unsigned int last_mmap, unsigned long pgoff) COLOR_ALIGN() 62 (shared_align_offset(last_mmap, pgoff) << PAGE_SHIFT); COLOR_ALIGN() 93 int do_color_align, last_mmap; arch_get_unmapped_area() local 102 last_mmap = GET_LAST_MMAP(filp); arch_get_unmapped_area() 105 if ((flags & MAP_SHARED) && last_mmap && arch_get_unmapped_area() 106 (addr - shared_align_offset(last_mmap, pgoff)) arch_get_unmapped_area() 113 if (do_color_align && last_mmap) arch_get_unmapped_area() 114 addr = COLOR_ALIGN(addr, last_mmap, pgoff); arch_get_unmapped_area() 128 info.align_mask = last_mmap ? (PAGE_MASK & (SHM_COLOUR - 1)) : 0; arch_get_unmapped_area() 129 info.align_offset = shared_align_offset(last_mmap, pgoff); arch_get_unmapped_area() 133 if (do_color_align && !last_mmap && !(addr & ~PAGE_MASK)) arch_get_unmapped_area() 147 int do_color_align, last_mmap; arch_get_unmapped_area_topdown() local 162 last_mmap = GET_LAST_MMAP(filp); arch_get_unmapped_area_topdown() 165 if ((flags & MAP_SHARED) && last_mmap && arch_get_unmapped_area_topdown() 166 (addr - shared_align_offset(last_mmap, pgoff)) arch_get_unmapped_area_topdown() 174 if (do_color_align && last_mmap) arch_get_unmapped_area_topdown() 175 addr = COLOR_ALIGN(addr, last_mmap, pgoff); arch_get_unmapped_area_topdown() 188 info.align_mask = last_mmap ? (PAGE_MASK & (SHM_COLOUR - 1)) : 0; arch_get_unmapped_area_topdown() 189 info.align_offset = shared_align_offset(last_mmap, pgoff); arch_get_unmapped_area_topdown() 204 if (do_color_align && !last_mmap && !(addr & ~PAGE_MASK)) arch_get_unmapped_area_topdown() 57 COLOR_ALIGN(unsigned long addr, unsigned int last_mmap, unsigned long pgoff) COLOR_ALIGN() argument
|
Completed in 64 milliseconds