Searched refs:gap (Results 1 – 12 of 12) sorted by relevance
71 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local73 if (gap < MIN_GAP) in mmap_base()74 gap = MIN_GAP; in mmap_base()75 else if (gap > MAX_GAP) in mmap_base()76 gap = MAX_GAP; in mmap_base()78 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
34 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local40 if (gap < MIN_GAP) in mmap_base()41 gap = MIN_GAP; in mmap_base()42 else if (gap > MAX_GAP) in mmap_base()43 gap = MAX_GAP; in mmap_base()45 return PAGE_ALIGN(TASK_SIZE - gap - random_factor); in mmap_base()
66 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local68 if (gap < MIN_GAP) in mmap_base()69 gap = MIN_GAP; in mmap_base()70 else if (gap > MAX_GAP) in mmap_base()71 gap = MAX_GAP; in mmap_base()73 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
86 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local88 if (gap < MIN_GAP) in mmap_base()89 gap = MIN_GAP; in mmap_base()90 else if (gap > MAX_GAP) in mmap_base()91 gap = MAX_GAP; in mmap_base()93 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
38 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local40 if (gap < MIN_GAP) in mmap_base()41 gap = MIN_GAP; in mmap_base()42 else if (gap > MAX_GAP) in mmap_base()43 gap = MAX_GAP; in mmap_base()45 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
72 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local74 if (gap < MIN_GAP) in mmap_base()75 gap = MIN_GAP; in mmap_base()76 else if (gap > MAX_GAP) in mmap_base()77 gap = MAX_GAP; in mmap_base()78 gap &= PAGE_MASK; in mmap_base()79 return STACK_TOP - stack_maxrandom_size() - rnd - gap; in mmap_base()
35 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local37 if (gap < MIN_GAP) in mmap_base()38 gap = MIN_GAP; in mmap_base()39 else if (gap > MAX_GAP) in mmap_base()40 gap = MAX_GAP; in mmap_base()42 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
279 unsigned long gap; in arch_pick_mmap_layout() local285 gap = rlimit(RLIMIT_STACK); in arch_pick_mmap_layout()288 gap == RLIM_INFINITY || in arch_pick_mmap_layout()296 if (gap < 128 * 1024 * 1024) in arch_pick_mmap_layout()297 gap = 128 * 1024 * 1024; in arch_pick_mmap_layout()298 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout()299 gap = (task_size / 6 * 5); in arch_pick_mmap_layout()301 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
567 unsigned long gap = in main() local570 if (gap > 65536) { in main()573 gap); in main()578 gap); in main()580 while (gap) { in main()583 (gap > in main()585 obuf : gap)); in main()592 gap -= count; in main()
88 ! measure the gap size104 ! D1.6 stores the gap size in bits107 ! D0.6 stores the complement of the gap size114 ! D1Re0 << gap-size
324 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local349 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset()351 skip = pad + gap; in bts_buffer_reset()
604 unsigned long gap = last - end; in e820_search_gap() local606 if (gap >= *gapsize) { in e820_search_gap()607 *gapsize = gap; in e820_search_gap()