| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | task_size_32.h | 6 #error User TASK_SIZE overlaps with KERNEL_START address 9 #define TASK_SIZE (CONFIG_TASK_SIZE) macro 15 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) 17 #define DEFAULT_MAP_WINDOW TASK_SIZE 18 #define STACK_TOP TASK_SIZE
|
| /Linux-v5.4/arch/s390/mm/ |
| D | mmap.c | 84 if (len > TASK_SIZE - mmap_min_addr) in arch_get_unmapped_area() 93 if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && in arch_get_unmapped_area() 101 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 113 addr + len <= TASK_SIZE) { in arch_get_unmapped_area() 134 if (len > TASK_SIZE - mmap_min_addr) in arch_get_unmapped_area_topdown() 144 if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && in arch_get_unmapped_area_topdown() 170 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown() 178 addr + len <= TASK_SIZE) { in arch_get_unmapped_area_topdown()
|
| /Linux-v5.4/arch/m68k/include/asm/ |
| D | processor.h | 47 #define TASK_SIZE (0xC0000000UL) macro 49 #define TASK_SIZE (0x0E000000UL) macro 51 #define TASK_SIZE (0xF0000000UL) macro 54 #define TASK_SIZE (0xFFFFFFFFUL) macro 58 #define STACK_TOP TASK_SIZE
|
| /Linux-v5.4/arch/sh/mm/ |
| D | mmap.c | 52 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area() 66 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 74 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 101 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area_topdown() 116 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_topdown() 139 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
| /Linux-v5.4/arch/arm/mm/ |
| D | mmap.c | 56 if (len > TASK_SIZE) in arch_get_unmapped_area() 66 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 74 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 100 if (len > TASK_SIZE) in arch_get_unmapped_area_topdown() 117 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_topdown() 140 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
| /Linux-v5.4/arch/arc/include/asm/ |
| D | processor.h | 114 #define TASK_SIZE 0x60000000 macro 123 #define USER_KERNEL_GUTTER (VMALLOC_START - TASK_SIZE) 141 #define STACK_TOP TASK_SIZE 149 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
|
| /Linux-v5.4/arch/microblaze/include/asm/ |
| D | processor.h | 46 # define TASK_SIZE (0x81000000 - 0x80000000) macro 77 # define TASK_SIZE (CONFIG_KERNEL_START) macro 83 # define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) 131 # define STACK_TOP TASK_SIZE
|
| /Linux-v5.4/arch/openrisc/include/asm/ |
| D | processor.h | 22 #define STACK_TOP TASK_SIZE 35 #define TASK_SIZE (0x80000000UL) macro 40 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
|
| /Linux-v5.4/arch/mips/mm/ |
| D | mmap.c | 39 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area_common() 44 if (TASK_SIZE - len < addr) in arch_get_unmapped_area_common() 69 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_common() 97 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_common()
|
| /Linux-v5.4/arch/nios2/include/asm/ |
| D | processor.h | 31 #define STACK_TOP TASK_SIZE 41 # define TASK_SIZE 0x7FFF0000UL macro 42 # define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
|
| /Linux-v5.4/arch/hexagon/include/asm/ |
| D | mem-layout.h | 41 #define TASK_SIZE (PAGE_OFFSET) macro 44 #define STACK_TOP TASK_SIZE 45 #define STACK_TOP_MAX TASK_SIZE
|
| /Linux-v5.4/arch/csky/abiv1/ |
| D | mmap.c | 49 if (len > TASK_SIZE) in arch_get_unmapped_area() 59 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 67 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
|
| /Linux-v5.4/arch/arc/mm/ |
| D | mmap.c | 54 if (len > TASK_SIZE) in arch_get_unmapped_area() 64 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 72 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
|
| /Linux-v5.4/arch/nds32/include/asm/ |
| D | memory.h | 22 #define TASK_SIZE ((CONFIG_PAGE_OFFSET) - (SZ_32M)) macro 23 #define TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_32M) 43 #if TASK_SIZE > MODULES_VADDR
|
| /Linux-v5.4/arch/nds32/mm/ |
| D | mmap.c | 51 if (len > TASK_SIZE) in arch_get_unmapped_area() 61 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 69 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
|
| /Linux-v5.4/arch/csky/include/asm/ |
| D | processor.h | 31 #define TASK_SIZE 0x7fff8000UL macro 34 #define STACK_TOP TASK_SIZE 41 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | processor.h | 35 #define TASK_SIZE 0x3fff8000UL macro 41 #define TASK_SIZE 0x80000000UL macro 44 #define STACK_TOP_MAX TASK_SIZE 64 #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) macro 83 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
| /Linux-v5.4/arch/arm64/include/asm/ |
| D | processor.h | 57 #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \ macro 64 #define TASK_SIZE TASK_SIZE_64 macro 70 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4)) 85 #define arch_get_mmap_end(addr) ((addr > DEFAULT_MAP_WINDOW) ? TASK_SIZE :\ 89 base + TASK_SIZE - DEFAULT_MAP_WINDOW :\
|
| /Linux-v5.4/arch/xtensa/include/asm/ |
| D | processor.h | 42 #define TASK_SIZE __XTENSA_UL_CONST(0x40000000) macro 44 #define TASK_SIZE __XTENSA_UL_CONST(0xffffffff) macro 47 #define STACK_TOP TASK_SIZE 163 #define TASK_UNMAPPED_BASE (TASK_SIZE / 2)
|
| /Linux-v5.4/arch/sh/include/asm/ |
| D | processor_32.h | 29 #define TASK_SIZE 0x7c000000UL macro 31 #define STACK_TOP TASK_SIZE 37 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
| D | processor_64.h | 24 #define TASK_SIZE 0x7ffff000UL macro 26 #define STACK_TOP TASK_SIZE 32 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
| /Linux-v5.4/arch/sparc/kernel/ |
| D | sys_sparc_32.c | 57 if (len > TASK_SIZE - PAGE_SIZE) in arch_get_unmapped_area() 65 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 93 if (len > TASK_SIZE - PAGE_SIZE || addr + len > TASK_SIZE - PAGE_SIZE) in sparc_mmap_check()
|
| /Linux-v5.4/arch/powerpc/include/asm/book3s/32/ |
| D | kup.h | 114 if (!addr || addr >= TASK_SIZE || !size) 117 end = min(addr + size, TASK_SIZE); 125 u32 end = min(addr + size, TASK_SIZE); 127 if (!addr || addr >= TASK_SIZE || !size)
|
| /Linux-v5.4/arch/arm/include/asm/ |
| D | memory.h | 31 #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(SZ_16M)) macro 32 #define TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_16M) 50 #if TASK_SIZE > MODULES_VADDR 93 #define TASK_SIZE UL(0xffffffff) macro
|
| /Linux-v5.4/arch/unicore32/include/asm/ |
| D | uaccess.h | 19 #define __user_ok(addr, size) (((size) <= TASK_SIZE) \ 20 && ((addr) <= TASK_SIZE - (size)))
|