/arch/mips/include/asm/ |
D | processor.h | 41 #define TASK_SIZE 0x7fff8000UL macro 42 #define STACK_TOP TASK_SIZE 48 #define TASK_UNMAPPED_BASE ((TASK_SIZE / 3) & ~(PAGE_SIZE)) 60 #define TASK_SIZE 0x10000000000UL macro 62 (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE) 70 PAGE_ALIGN(TASK_SIZE32 / 3) : PAGE_ALIGN(TASK_SIZE / 3)) 72 (test_tsk_thread_flag(tsk, TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE) 76 #define STACK_TOP_MAX TASK_SIZE
|
/arch/s390/mm/ |
D | mmap.c | 95 len >= TASK_SIZE && TASK_SIZE < (1UL << 53)) in s390_mmap_check() 112 !test_thread_flag(TIF_31BIT) && TASK_SIZE < (1UL << 53)) { in s390_get_unmapped_area() 135 !test_thread_flag(TIF_31BIT) && TASK_SIZE < (1UL << 53)) { in s390_get_unmapped_area_topdown()
|
/arch/m68k/include/asm/ |
D | processor_mm.h | 39 #define TASK_SIZE (0xF0000000UL) macro 41 #define TASK_SIZE (0x0E000000UL) macro 45 #define STACK_TOP TASK_SIZE
|
/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/arm/include/asm/ |
D | memory.h | 35 #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(0x01000000)) macro 50 #if TASK_SIZE > MODULES_VADDR 74 #ifndef TASK_SIZE 75 #define TASK_SIZE (CONFIG_DRAM_SIZE) macro
|
D | processor.h | 27 TASK_SIZE : TASK_SIZE_26) 28 #define STACK_TOP_MAX TASK_SIZE
|
/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/powerpc/mm/ |
D | mmap.c | 35 #define MAX_GAP (TASK_SIZE/6*5) 46 return TASK_SIZE - (gap & PAGE_MASK); in mmap_base()
|
/arch/cris/include/asm/ |
D | processor.h | 20 #define STACK_TOP TASK_SIZE 26 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
|
/arch/xtensa/include/asm/ |
D | processor.h | 36 #define TASK_SIZE __XTENSA_UL_CONST(0x40000000) macro 37 #define STACK_TOP TASK_SIZE 121 #define TASK_UNMAPPED_BASE (TASK_SIZE / 2)
|
D | uaccess.h | 122 movi \at, __XTENSA_UL_CONST(TASK_SIZE) 181 #define __user_ok(addr,size) (((size) <= TASK_SIZE)&&((addr) <= TASK_SIZE-(size))) 466 #define strlen_user(str) strnlen_user((str), TASK_SIZE - 1) 475 unsigned long top = __kernel_ok ? ~0UL : TASK_SIZE - 1; in strnlen_user()
|
/arch/sh/mm/ |
D | mmap.c | 45 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area() 59 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 79 if (unlikely(TASK_SIZE - len < addr)) { in arch_get_unmapped_area()
|
/arch/sh/include/asm/ |
D | processor_32.h | 36 #define TASK_SIZE 0x7c000000UL macro 38 #define STACK_TOP TASK_SIZE 44 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
|
D | processor_64.h | 43 #define TASK_SIZE 0x7ffff000UL macro 45 #define STACK_TOP TASK_SIZE 51 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
|
/arch/arm/mm/ |
D | mmap.c | 62 if (len > TASK_SIZE) in arch_get_unmapped_area() 72 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 91 if (TASK_SIZE - len < addr) { in arch_get_unmapped_area()
|
/arch/powerpc/include/asm/ |
D | processor.h | 91 #error User TASK_SIZE overlaps with KERNEL_START address 93 #define TASK_SIZE (CONFIG_TASK_SIZE) macro 98 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) 113 #define TASK_SIZE TASK_SIZE_OF(current) macro 138 #define STACK_TOP TASK_SIZE
|
D | uaccess.h | 34 #define USER_DS MAKE_MM_SEG(TASK_SIZE - 1) 339 if ((unsigned long)from < TASK_SIZE) { in copy_from_user() 340 over = (unsigned long)from + n - TASK_SIZE; in copy_from_user() 354 if ((unsigned long)to < TASK_SIZE) { in copy_to_user() 355 over = (unsigned long)to + n - TASK_SIZE; in copy_to_user() 449 if ((unsigned long)addr < TASK_SIZE) { in clear_user() 450 unsigned long over = (unsigned long)addr + size - TASK_SIZE; in clear_user()
|
/arch/avr32/include/asm/ |
D | processor.h | 14 #define TASK_SIZE 0x80000000 macro 17 #define STACK_TOP TASK_SIZE 97 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
|
/arch/alpha/include/asm/ |
D | processor.h | 21 #define TASK_SIZE (0x40000000000UL) macro 32 ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
|
/arch/x86/mm/ |
D | mmap.c | 39 #define MAX_GAP (TASK_SIZE/6*5) 93 return PAGE_ALIGN(TASK_SIZE - gap - mmap_rnd()); in mmap_base()
|
/arch/um/include/shared/ |
D | um_uaccess.h | 14 (((unsigned long) (addr) < TASK_SIZE) && \ 15 (((unsigned long) (addr) + (size)) < TASK_SIZE))
|
/arch/h8300/include/asm/ |
D | processor.h | 40 #define TASK_SIZE (0xFFFFFFFFUL) macro 43 #define STACK_TOP TASK_SIZE
|
/arch/um/include/asm/ |
D | processor-generic.h | 96 #define TASK_SIZE (task_size) macro 104 #define STACK_TOP (TASK_SIZE - 2 * PAGE_SIZE)
|
/arch/mips/kernel/ |
D | binfmt_elfn32.c | 119 #undef TASK_SIZE 120 #define TASK_SIZE TASK_SIZE32 macro
|