Searched refs:gap (Results 1 – 16 of 16) sorted by relevance
/arch/arm64/mm/ |
D | mmap.c | 67 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local 71 if (gap + pad > gap) in mmap_base() 72 gap += pad; in mmap_base() 74 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() 79 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
/arch/tile/mm/ |
D | mmap.c | 35 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local 41 if (gap < MIN_GAP) in mmap_base() 42 gap = MIN_GAP; in mmap_base() 43 else if (gap > MAX_GAP) in mmap_base() 44 gap = MAX_GAP; in mmap_base() 46 return PAGE_ALIGN(TASK_SIZE - gap - random_factor); in mmap_base()
|
/arch/x86/mm/ |
D | mmap.c | 93 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local 98 if (gap + pad > gap) in mmap_base() 99 gap += pad; in mmap_base() 108 if (gap < gap_min) in mmap_base() 109 gap = gap_min; in mmap_base() 110 else if (gap > gap_max) in mmap_base() 111 gap = gap_max; in mmap_base() 113 return PAGE_ALIGN(task_size - gap - rnd); in mmap_base()
|
/arch/powerpc/mm/ |
D | mmap.c | 81 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local 85 if (gap + pad > gap) in mmap_base() 86 gap += pad; in mmap_base() 88 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(DEFAULT_MAP_WINDOW - gap - rnd); in mmap_base()
|
D | pgtable-radix.c | 226 unsigned long gap, previous_size; in create_physical_mapping() local 229 gap = end - addr; in create_physical_mapping() 234 if (IS_ALIGNED(addr, PUD_SIZE) && gap >= PUD_SIZE && in create_physical_mapping() 238 else if (IS_ALIGNED(addr, PMD_SIZE) && gap >= PMD_SIZE && in create_physical_mapping()
|
/arch/s390/mm/ |
D | mmap.c | 75 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local 77 if (gap < MIN_GAP) in mmap_base() 78 gap = MIN_GAP; in mmap_base() 79 else if (gap > MAX_GAP) in mmap_base() 80 gap = MAX_GAP; in mmap_base() 81 gap &= PAGE_MASK; in mmap_base() 82 return STACK_TOP - stack_maxrandom_size() - rnd - gap; in mmap_base()
|
/arch/mips/mm/ |
D | mmap.c | 40 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local 42 if (gap < MIN_GAP) in mmap_base() 43 gap = MIN_GAP; in mmap_base() 44 else if (gap > MAX_GAP) in mmap_base() 45 gap = MAX_GAP; in mmap_base() 47 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
|
/arch/arm/mm/ |
D | mmap.c | 37 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local 39 if (gap < MIN_GAP) in mmap_base() 40 gap = MIN_GAP; in mmap_base() 41 else if (gap > MAX_GAP) in mmap_base() 42 gap = MAX_GAP; in mmap_base() 44 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
|
/arch/sparc/kernel/ |
D | sys_sparc_64.c | 282 unsigned long gap; in arch_pick_mmap_layout() local 288 gap = rlimit(RLIMIT_STACK); in arch_pick_mmap_layout() 291 gap == RLIM_INFINITY || in arch_pick_mmap_layout() 299 if (gap < 128 * 1024 * 1024) in arch_pick_mmap_layout() 300 gap = 128 * 1024 * 1024; in arch_pick_mmap_layout() 301 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout() 302 gap = (task_size / 6 * 5); in arch_pick_mmap_layout() 304 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
|
/arch/mips/boot/ |
D | elf2ecoff.c | 567 unsigned long gap = in main() local 570 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()
|
/arch/metag/lib/ |
D | memmove.S | 89 ! measure the gap size 105 ! D1.6 stores the gap size in bits 108 ! D0.6 stores the complement of the gap size 115 ! D1Re0 << gap-size
|
/arch/x86/events/intel/ |
D | bts.c | 377 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local 400 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset() 402 skip = pad + gap; in bts_buffer_reset()
|
/arch/x86/kernel/ |
D | e820.c | 606 unsigned long gap = last - end; in e820_search_gap() local 608 if (gap >= *gapsize) { in e820_search_gap() 609 *gapsize = gap; in e820_search_gap()
|
/arch/powerpc/ |
D | Kconfig | 29 # 32T of address space (2^45), which should ensure a reasonable gap
|
/arch/arm64/crypto/ |
D | sha512-core.S_shipped | 38 // and the gap is only 40-90%.
|
D | sha256-core.S_shipped | 38 // and the gap is only 40-90%.
|