| /linux/arch/powerpc/include/asm/ |
| H A 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
|
| H A D | task_size_64.h | 47 #define TASK_SIZE (is_32bit_task() ? TASK_SIZE_USER32 : TASK_SIZE_USER64) macro 67 #define DEFAULT_MAP_WINDOW TASK_SIZE 76 (((addr) > DEFAULT_MAP_WINDOW) ? (base) + TASK_SIZE - DEFAULT_MAP_WINDOW : (base)) 80 (((flags) & MAP_FIXED) && ((addr) + (len) > DEFAULT_MAP_WINDOW)) ? TASK_SIZE : \
|
| /linux/arch/arm/mm/ |
| H A D | mmap.c | 57 if (len > TASK_SIZE) in arch_get_unmapped_area() 67 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/arch/arc/include/asm/ |
| H A D | processor.h | 85 #define TASK_SIZE 0x60000000 macro 94 #define USER_KERNEL_GUTTER (VMALLOC_START - TASK_SIZE) 96 #define STACK_TOP TASK_SIZE 102 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
|
| /linux/arch/sh/mm/ |
| H A D | mmap.c | 73 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area() 87 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 94 info.high_limit = TASK_SIZE; in arch_get_unmapped_area() 121 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area_topdown() 136 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_topdown() 159 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
|
| /linux/arch/loongarch/include/asm/ |
| H A D | processor.h | 22 #define TASK_SIZE 0x80000000UL macro 23 #define TASK_SIZE_MIN TASK_SIZE 24 #define STACK_TOP_MAX TASK_SIZE 35 #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) macro 55 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
| /linux/arch/mips/mm/ |
| H A 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() 96 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_common()
|
| /linux/arch/nios2/include/asm/ |
| H A 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/arch/hexagon/include/asm/ |
| H A 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/arch/openrisc/include/asm/ |
| H A 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/arch/csky/include/asm/ |
| H A D | processor.h | 29 #define TASK_SIZE (PAGE_OFFSET - (PAGE_SIZE * 8)) macro 32 #define STACK_TOP TASK_SIZE 39 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
|
| /linux/arch/loongarch/mm/ |
| H A D | mmap.c | 31 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area_common() 36 if (TASK_SIZE - len < addr) in arch_get_unmapped_area_common() 61 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_common() 91 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_common()
|
| /linux/arch/csky/abiv1/ |
| H A D | mmap.c | 35 .high_limit = TASK_SIZE, in arch_get_unmapped_area() 55 if (len > TASK_SIZE) in arch_get_unmapped_area() 65 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area()
|
| /linux/arch/microblaze/include/asm/ |
| H A D | processor.h | 38 # define TASK_SIZE (CONFIG_KERNEL_START) macro 44 # define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) 84 # define STACK_TOP TASK_SIZE
|
| /linux/arch/arc/mm/ |
| H A D | mmap.c | 43 if (len > TASK_SIZE) in arch_get_unmapped_area() 50 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area() 57 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
|
| /linux/arch/sh/include/asm/ |
| H A D | processor_32.h | 28 #define TASK_SIZE 0x7c000000UL macro 30 #define STACK_TOP TASK_SIZE 36 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
| /linux/arch/xtensa/include/asm/ |
| H A D | processor.h | 34 #define TASK_SIZE __XTENSA_UL_CONST(0x40000000) macro 36 #define TASK_SIZE __XTENSA_UL_CONST(0xffffffff) macro 39 #define STACK_TOP TASK_SIZE 168 #define TASK_UNMAPPED_BASE (TASK_SIZE / 2)
|
| /linux/arch/arm64/include/asm/ |
| H A D | processor.h | 69 #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \ macro 76 #define TASK_SIZE TASK_SIZE_64 macro 82 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4)) 98 (((addr) > DEFAULT_MAP_WINDOW) ? TASK_SIZE : DEFAULT_MAP_WINDOW) 101 base + TASK_SIZE - DEFAULT_MAP_WINDOW :\ 363 return addr < TASK_SIZE; in is_ttbr0_addr()
|
| /linux/kernel/trace/ |
| H A D | trace_probe_kernel.h | 28 if (addr < TASK_SIZE) in fetch_store_strlen() 82 if ((unsigned long)addr < TASK_SIZE) in fetch_store_string() 113 if ((unsigned long)src < TASK_SIZE) in probe_mem_read()
|
| /linux/arch/mips/include/asm/ |
| H A D | processor.h | 39 #define TASK_SIZE 0x80000000UL macro 41 #define STACK_TOP_MAX TASK_SIZE 61 #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) macro 80 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
| /linux/drivers/misc/lkdtm/ |
| H A D | usercopy.c | 84 if (user_addr >= TASK_SIZE) { in do_usercopy_stack() 152 if (user_addr >= TASK_SIZE) { in do_usercopy_slab_size() 228 if (user_alloc >= TASK_SIZE) { in do_usercopy_slab_whitelist() 318 if (user_addr >= TASK_SIZE) { in lkdtm_USERCOPY_KERNEL() 357 if (uaddr >= TASK_SIZE) { in do_usercopy_page_span()
|
| /linux/arch/alpha/include/asm/ |
| H A D | processor.h | 14 #define TASK_SIZE (0x40000000000UL) macro 23 #define TASK_UNMAPPED_BASE (TASK_SIZE / 2)
|
| /linux/arch/riscv/include/asm/ |
| H A D | processor.h | 34 #define DEFAULT_MAP_WINDOW TASK_SIZE 35 #define STACK_TOP_MAX TASK_SIZE 54 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
|
| /linux/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-adv.c | 101 if ((data & ~0x7UL) >= TASK_SIZE) in ptrace_set_debugreg() 154 if (bp_info->addr >= TASK_SIZE) in set_instruction_bp() 159 if (bp_info->addr2 >= TASK_SIZE) in set_instruction_bp() 296 if (bp_info->addr >= TASK_SIZE) in set_dac() 401 if (bp_info->addr >= TASK_SIZE) in set_dac_range() 408 if (~((unsigned long)bp_info->addr2) >= TASK_SIZE) in set_dac_range() 414 if (bp_info->addr2 >= TASK_SIZE) in set_dac_range()
|
| /linux/arch/um/include/asm/ |
| H A D | processor-generic.h | 53 #define TASK_SIZE (task_size) macro 61 #define STACK_TOP (TASK_SIZE - 2 * PAGE_SIZE)
|