Searched refs:gap (Results 1 – 11 of 11) sorted by relevance
/arch/x86/mm/ |
D | mmap.c | 83 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 88 if (gap + pad > gap) in mmap_base() 89 gap += pad; in mmap_base() 98 if (gap < gap_min) in mmap_base() 99 gap = gap_min; in mmap_base() 100 else if (gap > gap_max) in mmap_base() 101 gap = gap_max; in mmap_base() 103 return PAGE_ALIGN(task_size - gap - rnd); in mmap_base()
|
/arch/powerpc/mm/ |
D | mmap.c | 68 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 72 if (gap + pad > gap) in mmap_base() 73 gap += pad; in mmap_base() 75 if (gap < MIN_GAP) in mmap_base() 76 gap = MIN_GAP; in mmap_base() 77 else if (gap > MAX_GAP) in mmap_base() 78 gap = MAX_GAP; in mmap_base() 80 return PAGE_ALIGN(DEFAULT_MAP_WINDOW - gap - rnd); in mmap_base()
|
/arch/s390/mm/ |
D | mmap.c | 52 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 57 if (gap + pad > gap) in mmap_base() 58 gap += pad; in mmap_base() 67 if (gap < gap_min) in mmap_base() 68 gap = gap_min; in mmap_base() 69 else if (gap > gap_max) in mmap_base() 70 gap = gap_max; in mmap_base() 72 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
/arch/sparc/kernel/ |
D | sys_sparc_64.c | 283 unsigned long gap; in arch_pick_mmap_layout() local 289 gap = rlim_stack->rlim_cur; in arch_pick_mmap_layout() 292 gap == RLIM_INFINITY || in arch_pick_mmap_layout() 300 if (gap < 128 * 1024 * 1024) in arch_pick_mmap_layout() 301 gap = 128 * 1024 * 1024; in arch_pick_mmap_layout() 302 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout() 303 gap = (task_size / 6 * 5); in arch_pick_mmap_layout() 305 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
|
/arch/mips/boot/ |
D | elf2ecoff.c | 569 uint32_t gap = ph[i].p_vaddr - cur_vma; in main() local 571 if (gap > 65536) { in main() 574 gap); in main() 579 gap); in main() 581 while (gap) { in main() 584 (gap > in main() 586 obuf : gap)); in main() 593 gap -= count; in main()
|
/arch/x86/events/intel/ |
D | bts.c | 371 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local 394 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset() 396 skip = pad + gap; in bts_buffer_reset()
|
/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 264 unsigned long gap, previous_size; in create_physical_mapping() local 267 gap = next_boundary(addr, end) - addr; in create_physical_mapping() 271 if (IS_ALIGNED(addr, PUD_SIZE) && gap >= PUD_SIZE && in create_physical_mapping() 275 } else if (IS_ALIGNED(addr, PMD_SIZE) && gap >= PMD_SIZE && in create_physical_mapping()
|
/arch/x86/kernel/ |
D | e820.c | 621 unsigned long gap = last - end; in e820_search_gap() local 623 if (gap >= *gapsize) { in e820_search_gap() 624 *gapsize = gap; in e820_search_gap()
|
/arch/powerpc/ |
D | Kconfig | 23 # 32T of address space (2^45), which should ensure a reasonable gap
|
/arch/arm64/crypto/ |
D | sha512-core.S_shipped | 46 // and the gap is only 40-90%.
|
D | sha256-core.S_shipped | 46 // and the gap is only 40-90%.
|