/arch/tile/include/asm/ |
D | kexec.h | 23 #define KEXEC_SOURCE_MEMORY_LIMIT TASK_SIZE 25 #define KEXEC_DESTINATION_MEMORY_LIMIT TASK_SIZE 27 #define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE
|
/arch/hexagon/include/asm/ |
D | mem-layout.h | 45 #define TASK_SIZE (PAGE_OFFSET) macro 48 #define STACK_TOP TASK_SIZE 49 #define STACK_TOP_MAX TASK_SIZE
|
/arch/score/include/asm/ |
D | processor.h | 35 #define TASK_SIZE 0x7fff8000UL macro 41 #define TASK_UNMAPPED_BASE ((TASK_SIZE / 3) & ~(PAGE_SIZE)) 44 #define STACK_TOP TASK_SIZE 45 #define STACK_TOP_MAX TASK_SIZE
|
/arch/frv/include/asm/ |
D | mem-layout.h | 74 #define TASK_SIZE (PAGE_OFFSET) macro 76 #define TASK_SIZE __UL(0xFFFFFFFFUL) macro 83 #define TASK_UNMAPPED_BASE __UL(TASK_SIZE / 3)
|
/arch/m32r/include/asm/ |
D | processor.h | 58 #define TASK_SIZE (0x80000000UL) macro 60 #define TASK_SIZE (0x00400000UL) macro 64 #define STACK_TOP TASK_SIZE 71 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
/arch/m68k/include/asm/ |
D | processor.h | 52 #define TASK_SIZE (0xC0000000UL) macro 54 #define TASK_SIZE (0x0E000000UL) macro 56 #define TASK_SIZE (0xF0000000UL) macro 59 #define TASK_SIZE (0xFFFFFFFFUL) macro 63 #define STACK_TOP TASK_SIZE
|
/arch/microblaze/include/asm/ |
D | processor.h | 47 # define TASK_SIZE (0x81000000 - 0x80000000) macro 96 # define TASK_SIZE (CONFIG_KERNEL_START) macro 102 # define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) 167 # define STACK_TOP TASK_SIZE
|
/arch/openrisc/include/asm/ |
D | processor.h | 26 #define STACK_TOP TASK_SIZE 44 #define TASK_SIZE (0x80000000UL) macro 49 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
|
D | uaccess.h | 51 #define USER_DS (TASK_SIZE) 280 if ((unsigned long)from < TASK_SIZE) { in copy_from_user() 281 over = (unsigned long)from + n - TASK_SIZE; in copy_from_user() 294 if ((unsigned long)to < TASK_SIZE) { in copy_to_user() 295 over = (unsigned long)to + n - TASK_SIZE; in copy_to_user() 309 if ((unsigned long)addr < TASK_SIZE) { in clear_user() 310 unsigned long over = (unsigned long)addr + size - TASK_SIZE; in clear_user() 352 #define strlen_user(str) strnlen_user(str, TASK_SIZE-1)
|
/arch/mips/include/asm/ |
D | processor.h | 51 #define TASK_SIZE 0x7fff8000UL macro 54 #define STACK_TOP_MAX TASK_SIZE 71 #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) macro 85 #define STACK_TOP ((TASK_SIZE & PAGE_MASK) - SPECIAL_PAGES_SIZE) 91 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
/arch/xtensa/include/asm/ |
D | processor.h | 39 #define TASK_SIZE __XTENSA_UL_CONST(0x40000000) macro 41 #define TASK_SIZE (PLATFORM_DEFAULT_MEM_START + PLATFORM_DEFAULT_MEM_SIZE) macro 44 #define STACK_TOP TASK_SIZE 128 #define TASK_UNMAPPED_BASE (TASK_SIZE / 2)
|
/arch/arm/mm/ |
D | mmap.c | 32 #define MAX_GAP ((TASK_SIZE)/6*5) 54 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base() 93 if (len > TASK_SIZE) in arch_get_unmapped_area() 103 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 122 if (TASK_SIZE - len < addr) { in arch_get_unmapped_area() 168 if (len > TASK_SIZE) in arch_get_unmapped_area_topdown() 185 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_topdown()
|
/arch/s390/mm/ |
D | mmap.c | 111 len >= TASK_SIZE && TASK_SIZE < (1UL << 53)) { in s390_mmap_check() 131 if (area == -ENOMEM && !is_compat_task() && TASK_SIZE < (1UL << 53)) { in s390_get_unmapped_area() 154 if (area == -ENOMEM && !is_compat_task() && TASK_SIZE < (1UL << 53)) { in s390_get_unmapped_area_topdown()
|
/arch/cris/include/arch-v32/arch/ |
D | processor.h | 27 #define TASK_SIZE (0xB0000000UL) macro 29 #define TASK_SIZE (0xA0000000UL) macro
|
/arch/cris/include/arch-v10/arch/ |
D | processor.h | 32 #define TASK_SIZE (0x50000000UL) /* 1.25 GB */ macro 34 #define TASK_SIZE (0xA0000000UL) /* 2.56 GB */ macro
|
/arch/mips/mm/ |
D | mmap.c | 23 #define MAX_GAP ((TASK_SIZE)/6*5) 45 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base() 75 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area_common() 80 if (TASK_SIZE - len < addr) in arch_get_unmapped_area_common() 105 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_common() 119 if (TASK_SIZE - len < addr) in arch_get_unmapped_area_common()
|
/arch/arm/include/asm/ |
D | memory.h | 39 #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(0x01000000)) macro 58 #if TASK_SIZE > MODULES_VADDR 93 #ifndef TASK_SIZE 94 #define TASK_SIZE (CONFIG_DRAM_SIZE) macro
|
/arch/sh/include/asm/ |
D | processor_32.h | 34 #define TASK_SIZE 0x7c000000UL macro 36 #define STACK_TOP TASK_SIZE 42 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
|
D | processor_64.h | 42 #define TASK_SIZE 0x7ffff000UL macro 44 #define STACK_TOP TASK_SIZE 50 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
|
/arch/tile/mm/ |
D | mmap.c | 30 #define MAX_GAP (TASK_SIZE/6*5) 45 return PAGE_ALIGN(TASK_SIZE - gap - random_factor); in mmap_base()
|
/arch/unicore32/include/asm/ |
D | uaccess.h | 27 #define __user_ok(addr, size) (((size) <= TASK_SIZE) \ 28 && ((addr) <= TASK_SIZE - (size)))
|
/arch/cris/include/asm/ |
D | processor.h | 20 #define STACK_TOP TASK_SIZE 26 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
|
/arch/frv/mm/ |
D | elf-fdpic.c | 65 if (len > TASK_SIZE) in arch_get_unmapped_area() 76 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 101 limit = TASK_SIZE - len; in arch_get_unmapped_area()
|
/arch/sh/mm/ |
D | mmap.c | 63 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area() 77 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 97 if (unlikely(TASK_SIZE - len < addr)) { in arch_get_unmapped_area() 145 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area_topdown() 160 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_topdown()
|
/arch/powerpc/mm/ |
D | mmap_64.c | 43 #define MAX_GAP (TASK_SIZE/6*5) 79 return PAGE_ALIGN(TASK_SIZE - gap - mmap_rnd()); in mmap_base()
|