TASK_SIZE 48 arch/alpha/include/asm/pgtable.h #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) TASK_SIZE 27 arch/alpha/include/asm/processor.h ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2) TASK_SIZE 328 arch/alpha/include/asm/uaccess.h (uaccess_kernel() ? ~0UL : TASK_SIZE) TASK_SIZE 1309 arch/alpha/kernel/osf_sys.c limit = TASK_SIZE; TASK_SIZE 751 arch/alpha/kernel/traps.c if ((unsigned long)va >= TASK_SIZE) TASK_SIZE 956 arch/alpha/kernel/traps.c if ((unsigned long)va >= TASK_SIZE) TASK_SIZE 114 arch/alpha/mm/fault.c if (address >= TASK_SIZE) TASK_SIZE 50 arch/arc/include/asm/elf.h #define ELF_ET_DYN_BASE (2UL * TASK_SIZE / 3) TASK_SIZE 228 arch/arc/include/asm/pgtable.h #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) TASK_SIZE 123 arch/arc/include/asm/processor.h #define USER_KERNEL_GUTTER (VMALLOC_START - TASK_SIZE) TASK_SIZE 141 arch/arc/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 149 arch/arc/include/asm/processor.h #define TASK_UNMAPPED_BASE (TASK_SIZE / 3) TASK_SIZE 16 arch/arc/include/asm/segment.h #define USER_DS MAKE_MM_SEG(TASK_SIZE) TASK_SIZE 50 arch/arc/include/asm/uaccess.h #define __user_ok(addr, sz) (((sz) <= TASK_SIZE) && \ TASK_SIZE 942 arch/arc/mm/cache.c WARN(kstart < TASK_SIZE, "%s() can't handle user vaddr", __func__); TASK_SIZE 54 arch/arc/mm/mmap.c if (len > TASK_SIZE) TASK_SIZE 64 arch/arc/mm/mmap.c if (TASK_SIZE - len >= addr && TASK_SIZE 72 arch/arc/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 32 arch/arm/include/asm/memory.h #define TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_16M) TASK_SIZE 50 arch/arm/include/asm/memory.h #if TASK_SIZE > MODULES_VADDR TASK_SIZE 104 arch/arm/include/asm/pgtable-2level.h #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) TASK_SIZE 259 arch/arm/include/asm/pgtable-3level.h BUG_ON(addr >= TASK_SIZE); TASK_SIZE 70 arch/arm/include/asm/pgtable.h #define USER_PGTABLES_CEILING TASK_SIZE TASK_SIZE 260 arch/arm/include/asm/pgtable.h if (addr < TASK_SIZE && pte_valid_user(pteval)) { TASK_SIZE 20 arch/arm/include/asm/processor.h TASK_SIZE : TASK_SIZE_26) TASK_SIZE 21 arch/arm/include/asm/processor.h #define STACK_TOP_MAX TASK_SIZE TASK_SIZE 88 arch/arm/include/asm/uaccess-asm.h mov \tmp2, #TASK_SIZE TASK_SIZE 62 arch/arm/include/asm/uaccess.h #define USER_DS TASK_SIZE TASK_SIZE 106 arch/arm/kernel/elf.c *start_stack = TASK_SIZE - SZ_16M; TASK_SIZE 456 arch/arm/kernel/hw_breakpoint.c return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE); TASK_SIZE 380 arch/arm/kernel/process.c last = TASK_SIZE - (npages << PAGE_SHIFT); TASK_SIZE 140 arch/arm/mm/fault.c if (addr > TASK_SIZE) TASK_SIZE 414 arch/arm/mm/fault.c if (addr < TASK_SIZE) TASK_SIZE 496 arch/arm/mm/init.c BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); TASK_SIZE 497 arch/arm/mm/init.c BUG_ON(TASK_SIZE > MODULES_VADDR); TASK_SIZE 56 arch/arm/mm/mmap.c if (len > TASK_SIZE) TASK_SIZE 66 arch/arm/mm/mmap.c if (TASK_SIZE - len >= addr && TASK_SIZE 74 arch/arm/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 100 arch/arm/mm/mmap.c if (len > TASK_SIZE) TASK_SIZE 117 arch/arm/mm/mmap.c if (TASK_SIZE - len >= addr && TASK_SIZE 140 arch/arm/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 959 arch/arm/mm/mmu.c if (md->virtual != vectors_base() && md->virtual < TASK_SIZE) { TASK_SIZE 70 arch/arm64/include/asm/processor.h #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4)) TASK_SIZE 85 arch/arm64/include/asm/processor.h #define arch_get_mmap_end(addr) ((addr > DEFAULT_MAP_WINDOW) ? TASK_SIZE :\ TASK_SIZE 89 arch/arm64/include/asm/processor.h base + TASK_SIZE - DEFAULT_MAP_WINDOW :\ TASK_SIZE 343 arch/arm64/kernel/hw_breakpoint.c return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE); TASK_SIZE 107 arch/arm64/mm/fault.c return addr < TASK_SIZE; TASK_SIZE 49 arch/csky/abiv1/mmap.c if (len > TASK_SIZE) TASK_SIZE 59 arch/csky/abiv1/mmap.c if (TASK_SIZE - len >= addr && TASK_SIZE 67 arch/csky/abiv1/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 34 arch/csky/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 41 arch/csky/include/asm/processor.h #define TASK_UNMAPPED_BASE (TASK_SIZE / 3) TASK_SIZE 41 arch/h8300/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 44 arch/hexagon/include/asm/mem-layout.h #define STACK_TOP TASK_SIZE TASK_SIZE 45 arch/hexagon/include/asm/mem-layout.h #define STACK_TOP_MAX TASK_SIZE TASK_SIZE 54 arch/hexagon/include/asm/processor.h #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE/3)) TASK_SIZE 12 arch/ia64/include/asm/kexec.h #define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE TASK_SIZE 49 arch/ia64/include/asm/uaccess.h #define USER_DS ((mm_segment_t) { TASK_SIZE-1 }) /* cf. access_ok() */ TASK_SIZE 52 arch/ia64/kernel/sys_ia64.c if (map_shared && (TASK_SIZE > 0xfffffffful)) TASK_SIZE 64 arch/ia64/kernel/sys_ia64.c info.high_limit = TASK_SIZE; TASK_SIZE 1806 arch/ia64/kernel/unwind.c || s[val] < TASK_SIZE) TASK_SIZE 1840 arch/ia64/kernel/unwind.c if ((info->ip & (local_cpu_data->unimpl_va_mask | 0xf)) || info->ip < TASK_SIZE) { TASK_SIZE 71 arch/m68k/include/asm/pgtable_mm.h #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) TASK_SIZE 58 arch/m68k/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 49 arch/m68k/include/asm/segment.h #define USER_DS MAKE_MM_SEG(TASK_SIZE) TASK_SIZE 124 arch/m68k/include/asm/tlbflush.h for(addr = 0x00000000; addr < TASK_SIZE; addr += SUN3_PMEG_SIZE) { TASK_SIZE 154 arch/m68k/include/asm/tlbflush.h for(i = 0; i < TASK_SIZE; i += SUN3_PMEG_SIZE) { TASK_SIZE 381 arch/m68k/include/asm/uaccess_mm.h (uaccess_kernel() ? ~0UL : TASK_SIZE) TASK_SIZE 143 arch/m68k/mm/mcfmmu.c if ((mmuar < TASK_UNMAPPED_BASE) || (mmuar >= TASK_SIZE)) TASK_SIZE 159 arch/microblaze/include/asm/pgtable.h #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) TASK_SIZE 83 arch/microblaze/include/asm/processor.h # define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) TASK_SIZE 131 arch/microblaze/include/asm/processor.h # define STACK_TOP TASK_SIZE TASK_SIZE 42 arch/microblaze/include/asm/uaccess.h # define USER_DS MAKE_MM_SEG(TASK_SIZE - 1) TASK_SIZE 100 arch/microblaze/mm/fault.c if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { TASK_SIZE 222 arch/microblaze/mm/pgtable.c if (addr < TASK_SIZE) TASK_SIZE 469 arch/mips/include/asm/elf.h #define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2) TASK_SIZE 44 arch/mips/include/asm/processor.h #define STACK_TOP_MAX TASK_SIZE TASK_SIZE 83 arch/mips/include/asm/processor.h #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) TASK_SIZE 651 arch/mips/kernel/process.c unsigned long top = TASK_SIZE & PAGE_MASK; TASK_SIZE 39 arch/mips/mm/mmap.c if (unlikely(len > TASK_SIZE)) TASK_SIZE 44 arch/mips/mm/mmap.c if (TASK_SIZE - len < addr) TASK_SIZE 69 arch/mips/mm/mmap.c if (TASK_SIZE - len >= addr && TASK_SIZE 97 arch/mips/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 137 arch/nds32/include/asm/elf.h #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) TASK_SIZE 23 arch/nds32/include/asm/memory.h #define TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_32M) TASK_SIZE 43 arch/nds32/include/asm/memory.h #if TASK_SIZE > MODULES_VADDR TASK_SIZE 80 arch/nds32/include/asm/pgtable.h #define USER_PTRS_PER_PGD ((TASK_SIZE/PGDIR_SIZE) + FIRST_USER_PGD_NR) TASK_SIZE 14 arch/nds32/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 15 arch/nds32/include/asm/processor.h #define STACK_TOP_MAX TASK_SIZE TASK_SIZE 38 arch/nds32/include/asm/uaccess.h #define USER_DS ((mm_segment_t) {TASK_SIZE - 1}) TASK_SIZE 1207 arch/nds32/kernel/perf_event_cpu.c ((unsigned long)frame->fp >= TASK_SIZE)) { TASK_SIZE 31 arch/nds32/kernel/stacktrace.c && (fpn >= (unsigned long *)TASK_SIZE)) { TASK_SIZE 119 arch/nds32/kernel/traps.c ((unsigned long)base_reg >= TASK_SIZE)) { TASK_SIZE 101 arch/nds32/kernel/vdso.c if (end >= TASK_SIZE) TASK_SIZE 102 arch/nds32/kernel/vdso.c end = TASK_SIZE; TASK_SIZE 94 arch/nds32/mm/fault.c if (addr >= TASK_SIZE) { TASK_SIZE 98 arch/nds32/mm/fault.c if (addr >= TASK_SIZE && addr < VMALLOC_END TASK_SIZE 51 arch/nds32/mm/mmap.c if (len > TASK_SIZE) TASK_SIZE 61 arch/nds32/mm/mmap.c if (TASK_SIZE - len >= addr && TASK_SIZE 69 arch/nds32/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 31 arch/nios2/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 42 arch/nios2/include/asm/processor.h # define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3)) TASK_SIZE 44 arch/nios2/include/asm/uaccess.h #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE) TASK_SIZE 73 arch/nios2/mm/fault.c if (unlikely(address >= TASK_SIZE)) TASK_SIZE 76 arch/openrisc/include/asm/pgtable.h #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) TASK_SIZE 22 arch/openrisc/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 40 arch/openrisc/include/asm/processor.h #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) TASK_SIZE 42 arch/openrisc/include/asm/uaccess.h #define USER_DS (TASK_SIZE) TASK_SIZE 262 arch/openrisc/include/asm/uaccess.h (uaccess_kernel() ? ~0UL : TASK_SIZE) TASK_SIZE 60 arch/openrisc/kernel/asm-offsets.c DEFINE(NUM_USER_SEGMENTS, TASK_SIZE >> 28); TASK_SIZE 45 arch/parisc/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 87 arch/parisc/kernel/sys_parisc.c unsigned long task_size = TASK_SIZE; TASK_SIZE 147 arch/parisc/kernel/sys_parisc.c if (len > TASK_SIZE) TASK_SIZE 171 arch/parisc/kernel/sys_parisc.c if (TASK_SIZE - len >= addr && TASK_SIZE 33 arch/parisc/mm/hugetlbpage.c if (len > TASK_SIZE) TASK_SIZE 116 arch/powerpc/include/asm/book3s/32/kup.h if (!addr || addr >= TASK_SIZE || !size) TASK_SIZE 119 arch/powerpc/include/asm/book3s/32/kup.h end = min(addr + size, TASK_SIZE); TASK_SIZE 128 arch/powerpc/include/asm/book3s/32/kup.h u32 end = min(addr + size, TASK_SIZE); TASK_SIZE 134 arch/powerpc/include/asm/book3s/32/kup.h if (!addr || addr >= TASK_SIZE || !size) TASK_SIZE 136 arch/powerpc/include/asm/book3s/32/pgtable.h #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) TASK_SIZE 35 arch/powerpc/include/asm/kexec.h #define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE TASK_SIZE 56 arch/powerpc/include/asm/nohash/32/pgtable.h #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) TASK_SIZE 15 arch/powerpc/include/asm/task_size_32.h #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) TASK_SIZE 17 arch/powerpc/include/asm/task_size_32.h #define DEFAULT_MAP_WINDOW TASK_SIZE TASK_SIZE 18 arch/powerpc/include/asm/task_size_32.h #define STACK_TOP TASK_SIZE TASK_SIZE 71 arch/powerpc/include/asm/task_size_64.h #define DEFAULT_MAP_WINDOW TASK_SIZE TASK_SIZE 29 arch/powerpc/include/asm/uaccess.h #define USER_DS MAKE_MM_SEG(TASK_SIZE - 1) TASK_SIZE 374 arch/powerpc/kernel/asm-offsets.c DEFINE(TASK_SIZE, TASK_SIZE); TASK_SIZE 375 arch/powerpc/kernel/asm-offsets.c DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28); TASK_SIZE 2407 arch/powerpc/kernel/ptrace.c if ((data & ~0x7UL) >= TASK_SIZE) TASK_SIZE 2541 arch/powerpc/kernel/ptrace.c if (bp_info->addr >= TASK_SIZE) TASK_SIZE 2547 arch/powerpc/kernel/ptrace.c if (bp_info->addr2 >= TASK_SIZE) TASK_SIZE 2682 arch/powerpc/kernel/ptrace.c if (bp_info->addr >= TASK_SIZE) TASK_SIZE 2786 arch/powerpc/kernel/ptrace.c if (bp_info->addr >= TASK_SIZE) TASK_SIZE 2793 arch/powerpc/kernel/ptrace.c if (~((unsigned long)bp_info->addr2) >= TASK_SIZE) TASK_SIZE 2799 arch/powerpc/kernel/ptrace.c if (bp_info->addr2 >= TASK_SIZE) TASK_SIZE 2880 arch/powerpc/kernel/ptrace.c if ((unsigned long)bp_info->addr >= TASK_SIZE) TASK_SIZE 216 arch/powerpc/mm/book3s32/mmu.c for (i = TASK_SIZE >> 28; i < 16; i++) { TASK_SIZE 330 arch/powerpc/mm/book3s32/mmu.c if (!pte_young(*ptep) || address >= TASK_SIZE) TASK_SIZE 147 arch/powerpc/mm/book3s32/tlb.c mm = (vmaddr < TASK_SIZE)? vma->vm_mm: &init_mm; TASK_SIZE 1626 arch/powerpc/mm/book3s64/hash_utils.c if (!pte_young(*ptep) || address >= TASK_SIZE) TASK_SIZE 59 arch/powerpc/mm/book3s64/radix_hugetlbpage.c high_limit = TASK_SIZE; TASK_SIZE 211 arch/powerpc/mm/fault.c address >= TASK_SIZE ? "exec-protected" : "user", TASK_SIZE 219 arch/powerpc/mm/fault.c if (!is_exec && address < TASK_SIZE && (error_code & DSISR_PROTFAULT) && TASK_SIZE 227 arch/powerpc/mm/fault.c if (address >= TASK_SIZE) TASK_SIZE 356 arch/powerpc/mm/fault.c if (is_user && address >= TASK_SIZE) { TASK_SIZE 26 arch/powerpc/mm/mmap.c #define MAX_GAP (TASK_SIZE/6*5) TASK_SIZE 102 arch/powerpc/mm/mmap.c high_limit = TASK_SIZE; TASK_SIZE 146 arch/powerpc/mm/mmap.c high_limit = TASK_SIZE; TASK_SIZE 34 arch/powerpc/mm/ptdump/segment_regs.c for (i = 0; i < TASK_SIZE >> 28; i++) TASK_SIZE 446 arch/powerpc/mm/slice.c high_limit = TASK_SIZE; TASK_SIZE 154 arch/powerpc/perf/callchain.c if ((unsigned long)ptr > TASK_SIZE - sizeof(unsigned long) || TASK_SIZE 170 arch/powerpc/perf/callchain.c if ((unsigned long)ptr > TASK_SIZE - sizeof(unsigned int) || TASK_SIZE 186 arch/powerpc/perf/callchain.c if (!sp || (sp & 7) || sp > (is_64 ? TASK_SIZE : 0x100000000UL) - 32) TASK_SIZE 308 arch/powerpc/perf/callchain.c if ((unsigned long)ptr > TASK_SIZE - sizeof(unsigned int) || TASK_SIZE 331 arch/powerpc/perf/callchain.c if (!sp || (sp & 7) || sp > TASK_SIZE - 32) TASK_SIZE 42 arch/riscv/include/asm/elf.h #define ELF_ET_DYN_BASE ((TASK_SIZE / 3) * 2) TASK_SIZE 34 arch/riscv/include/asm/pgtable.h #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) TASK_SIZE 17 arch/riscv/include/asm/processor.h #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) TASK_SIZE 19 arch/riscv/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 37 arch/riscv/include/asm/uaccess.h #define USER_DS MAKE_MM_SEG(TASK_SIZE) TASK_SIZE 2550 arch/s390/mm/gmap.c walk_page_range(mm, 0, TASK_SIZE, &zap_zero_walk_ops, NULL); TASK_SIZE 2619 arch/s390/mm/gmap.c walk_page_range(mm, 0, TASK_SIZE, &enable_skey_walk_ops, NULL); TASK_SIZE 2644 arch/s390/mm/gmap.c walk_page_range(mm, 0, TASK_SIZE, &reset_cmma_walk_ops, NULL); TASK_SIZE 287 arch/s390/mm/hugetlbpage.c info.high_limit = TASK_SIZE; TASK_SIZE 319 arch/s390/mm/hugetlbpage.c info.high_limit = TASK_SIZE; TASK_SIZE 336 arch/s390/mm/hugetlbpage.c if (len > TASK_SIZE - mmap_min_addr) TASK_SIZE 348 arch/s390/mm/hugetlbpage.c if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && TASK_SIZE 364 arch/s390/mm/hugetlbpage.c addr + len <= TASK_SIZE) { TASK_SIZE 84 arch/s390/mm/mmap.c if (len > TASK_SIZE - mmap_min_addr) TASK_SIZE 93 arch/s390/mm/mmap.c if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && TASK_SIZE 101 arch/s390/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 113 arch/s390/mm/mmap.c addr + len <= TASK_SIZE) { TASK_SIZE 134 arch/s390/mm/mmap.c if (len > TASK_SIZE - mmap_min_addr) TASK_SIZE 144 arch/s390/mm/mmap.c if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && TASK_SIZE 170 arch/s390/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 178 arch/s390/mm/mmap.c addr + len <= TASK_SIZE) { TASK_SIZE 115 arch/sh/include/asm/elf.h #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) TASK_SIZE 24 arch/sh/include/asm/kexec.h #define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE TASK_SIZE 23 arch/sh/include/asm/pgtable-2level.h #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) TASK_SIZE 31 arch/sh/include/asm/processor_32.h #define STACK_TOP TASK_SIZE TASK_SIZE 37 arch/sh/include/asm/processor_32.h #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) TASK_SIZE 26 arch/sh/include/asm/processor_64.h #define STACK_TOP TASK_SIZE TASK_SIZE 32 arch/sh/include/asm/processor_64.h #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3) TASK_SIZE 132 arch/sh/kernel/hw_breakpoint.c return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE); TASK_SIZE 122 arch/sh/kernel/traps_64.c if (addr >= TASK_SIZE) TASK_SIZE 366 arch/sh/mm/fault.c return address >= TASK_SIZE; TASK_SIZE 52 arch/sh/mm/mmap.c if (unlikely(len > TASK_SIZE)) TASK_SIZE 66 arch/sh/mm/mmap.c if (TASK_SIZE - len >= addr && TASK_SIZE 74 arch/sh/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 101 arch/sh/mm/mmap.c if (unlikely(len > TASK_SIZE)) TASK_SIZE 116 arch/sh/mm/mmap.c if (TASK_SIZE - len >= addr && TASK_SIZE 139 arch/sh/mm/mmap.c info.high_limit = TASK_SIZE; TASK_SIZE 39 arch/sh/mm/tlbex_32.c if (unlikely(address >= TASK_SIZE || !current->mm)) TASK_SIZE 55 arch/sh/mm/tlbex_64.c if (unlikely(address >= TASK_SIZE || !current->mm)) TASK_SIZE 11 arch/sparc/include/asm/uaccess.h (uaccess_kernel() ? ~0UL : TASK_SIZE) TASK_SIZE 1794 arch/sparc/kernel/perf_event.c return (__range_not_ok(fp, size, TASK_SIZE) == 0); TASK_SIZE 57 arch/sparc/kernel/sys_sparc_32.c if (len > TASK_SIZE - PAGE_SIZE) TASK_SIZE 65 arch/sparc/kernel/sys_sparc_32.c info.high_limit = TASK_SIZE; TASK_SIZE 93 arch/sparc/kernel/sys_sparc_32.c if (len > TASK_SIZE - PAGE_SIZE || addr + len > TASK_SIZE - PAGE_SIZE) TASK_SIZE 94 arch/sparc/kernel/sys_sparc_64.c unsigned long task_size = TASK_SIZE; TASK_SIZE 186 arch/sparc/mm/fault_32.c if (address >= TASK_SIZE) TASK_SIZE 34 arch/sparc/mm/hugetlbpage.c unsigned long task_size = TASK_SIZE; TASK_SIZE 104 arch/sparc/mm/hugetlbpage.c unsigned long task_size = TASK_SIZE; TASK_SIZE 51 arch/um/include/asm/fixmap.h #define FIXADDR_TOP (TASK_SIZE - 2 * PAGE_SIZE) TASK_SIZE 25 arch/um/include/asm/pgtable-2level.h #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) TASK_SIZE 44 arch/um/include/asm/pgtable-3level.h #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE) TASK_SIZE 79 arch/um/include/asm/processor-generic.h #define STACK_TOP (TASK_SIZE - 2 * PAGE_SIZE) TASK_SIZE 13 arch/um/include/asm/uaccess.h (((unsigned long) (addr) < TASK_SIZE) && \ TASK_SIZE 14 arch/um/include/asm/uaccess.h (((unsigned long) (addr) + (size)) < TASK_SIZE)) TASK_SIZE 229 arch/um/kernel/trap.c else if (!is_user && address > PAGE_SIZE && address < TASK_SIZE) { TASK_SIZE 303 arch/um/kernel/um_arch.c max_physmem = TASK_SIZE - uml_physmem - iomem_size - MIN_VMALLOC; TASK_SIZE 72 arch/unicore32/include/asm/elf.h #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) TASK_SIZE 33 arch/unicore32/include/asm/memory.h #if TASK_SIZE > MODULES_VADDR TASK_SIZE 65 arch/unicore32/include/asm/pgtable.h #define USER_PTRS_PER_PGD ((TASK_SIZE/PGDIR_SIZE) - FIRST_USER_PGD_NR) TASK_SIZE 19 arch/unicore32/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 20 arch/unicore32/include/asm/processor.h #define STACK_TOP_MAX TASK_SIZE TASK_SIZE 19 arch/unicore32/include/asm/uaccess.h #define __user_ok(addr, size) (((size) <= TASK_SIZE) \ TASK_SIZE 20 arch/unicore32/include/asm/uaccess.h && ((addr) <= TASK_SIZE - (size))) TASK_SIZE 342 arch/unicore32/mm/fault.c if (addr < TASK_SIZE) TASK_SIZE 275 arch/unicore32/mm/init.c BUILD_BUG_ON(TASK_SIZE > MODULES_VADDR); TASK_SIZE 276 arch/unicore32/mm/init.c BUG_ON(TASK_SIZE > MODULES_VADDR); TASK_SIZE 209 arch/unicore32/mm/mmu.c if (md->virtual != vectors_base() && md->virtual < TASK_SIZE) { TASK_SIZE 2394 arch/x86/events/core.c return (__range_not_ok(fp, size, TASK_SIZE) == 0); TASK_SIZE 45 arch/x86/include/asm/kexec.h # define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE TASK_SIZE 835 arch/x86/include/asm/processor.h #define TASK_SIZE_LOW TASK_SIZE TASK_SIZE 836 arch/x86/include/asm/processor.h #define TASK_SIZE_MAX TASK_SIZE TASK_SIZE 837 arch/x86/include/asm/processor.h #define DEFAULT_MAP_WINDOW TASK_SIZE TASK_SIZE 838 arch/x86/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 103 arch/x86/kernel/stacktrace.c if (__range_not_ok(fp, sizeof(*frame), TASK_SIZE)) TASK_SIZE 188 arch/x86/kernel/sys_x86_64.c if (len > TASK_SIZE) TASK_SIZE 21 arch/x86/lib/usercopy.c if (__range_not_ok(from, n, TASK_SIZE)) TASK_SIZE 158 arch/x86/mm/hugetlbpage.c if (len > TASK_SIZE) TASK_SIZE 726 arch/x86/mm/init.c (TASK_SIZE - TASK_UNMAPPED_BASE - 3 * PAGE_SIZE); TASK_SIZE 211 arch/x86/mm/mmap.c if (TASK_SIZE - len < addr) TASK_SIZE 210 arch/x86/um/asm/elf.h #define ELF_ET_DYN_BASE (TASK_SIZE / 3 * 2) TASK_SIZE 17 arch/x86/um/asm/segment.h #define USER_DS MAKE_MM_SEG(TASK_SIZE) TASK_SIZE 818 arch/x86/xen/mmu_pv.c xen_pin_page(mm, pgd_page(pgd[pgd_index(TASK_SIZE)]), TASK_SIZE 942 arch/x86/xen/mmu_pv.c xen_unpin_page(mm, pgd_page(pgd[pgd_index(TASK_SIZE)]), TASK_SIZE 120 arch/xtensa/include/asm/asm-uaccess.h movi \at, __XTENSA_UL_CONST(TASK_SIZE) TASK_SIZE 121 arch/xtensa/include/asm/elf.h #define ELF_ET_DYN_BASE (2 * TASK_SIZE / 3) TASK_SIZE 62 arch/xtensa/include/asm/pgtable.h #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) TASK_SIZE 47 arch/xtensa/include/asm/processor.h #define STACK_TOP TASK_SIZE TASK_SIZE 163 arch/xtensa/include/asm/processor.h #define TASK_UNMAPPED_BASE (TASK_SIZE / 2) TASK_SIZE 42 arch/xtensa/include/asm/uaccess.h (((size) <= TASK_SIZE)&&((addr) <= TASK_SIZE-(size))) TASK_SIZE 46 arch/xtensa/include/asm/uaccess.h #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE) TASK_SIZE 313 arch/xtensa/include/asm/uaccess.h unsigned long top = __kernel_ok ? ~0UL : TASK_SIZE - 1; TASK_SIZE 44 arch/xtensa/kernel/hw_breakpoint.c return (va >= TASK_SIZE) && ((va + len - 1) >= TASK_SIZE); TASK_SIZE 206 arch/xtensa/kernel/signal.c && ((regs->lbeg > TASK_SIZE) || (regs->lend > TASK_SIZE)) ) TASK_SIZE 44 arch/xtensa/kernel/stacktrace.c if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) TASK_SIZE 82 arch/xtensa/kernel/stacktrace.c if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) TASK_SIZE 109 arch/xtensa/kernel/stacktrace.c if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) TASK_SIZE 76 arch/xtensa/kernel/syscall.c if (len > TASK_SIZE) TASK_SIZE 88 arch/xtensa/kernel/syscall.c if (TASK_SIZE - len < addr) TASK_SIZE 53 arch/xtensa/mm/fault.c if (address >= TASK_SIZE && !user_mode(regs)) TASK_SIZE 152 arch/xtensa/mm/tlb.c if (end > start && start >= TASK_SIZE && end <= PAGE_OFFSET && TASK_SIZE 228 arch/xtensa/mm/tlb.c if (tlb_asid > 0 && ((vpn < TASK_SIZE) == kernel)) { TASK_SIZE 35 drivers/firmware/efi/libstub/arm-stub.c # define EFI_RT_VIRTUAL_LIMIT TASK_SIZE TASK_SIZE 1619 drivers/infiniband/hw/mlx5/odp.c mlx5_imr_ksm_entries = BIT_ULL(get_order(TASK_SIZE) - TASK_SIZE 159 drivers/misc/lkdtm/perms.c if (user_addr >= TASK_SIZE) { TASK_SIZE 180 drivers/misc/lkdtm/perms.c if (user_addr >= TASK_SIZE) { TASK_SIZE 72 drivers/misc/lkdtm/usercopy.c if (user_addr >= TASK_SIZE) { TASK_SIZE 140 drivers/misc/lkdtm/usercopy.c if (user_addr >= TASK_SIZE) { TASK_SIZE 214 drivers/misc/lkdtm/usercopy.c if (user_alloc >= TASK_SIZE) { TASK_SIZE 302 drivers/misc/lkdtm/usercopy.c if (user_addr >= TASK_SIZE) { TASK_SIZE 43 fs/binfmt_aout.c #define BAD_ADDR(x) ((unsigned long)(x) >= TASK_SIZE) TASK_SIZE 100 fs/binfmt_elf.c #define BAD_ADDR(x) ((unsigned long)(x) >= TASK_SIZE) TASK_SIZE 613 fs/binfmt_elf.c eppnt->p_memsz > TASK_SIZE || TASK_SIZE 614 fs/binfmt_elf.c TASK_SIZE - eppnt->p_memsz < k) { TASK_SIZE 1013 fs/binfmt_elf.c elf_ppnt->p_memsz > TASK_SIZE || TASK_SIZE 1014 fs/binfmt_elf.c TASK_SIZE - elf_ppnt->p_memsz < k) { TASK_SIZE 1384 fs/exec.c current->mm->task_size = TASK_SIZE; TASK_SIZE 209 fs/hugetlbfs/inode.c if (len > TASK_SIZE) TASK_SIZE 221 fs/hugetlbfs/inode.c if (TASK_SIZE - len >= addr && TASK_SIZE 229 fs/hugetlbfs/inode.c info.high_limit = TASK_SIZE; TASK_SIZE 3028 fs/namespace.c size = TASK_SIZE - (unsigned long)untagged_addr(data); TASK_SIZE 307 include/asm-generic/tlb.h tlb->start = TASK_SIZE; TASK_SIZE 77 include/asm-generic/uaccess.h #define USER_DS MAKE_MM_SEG(TASK_SIZE - 1) TASK_SIZE 1857 include/linux/sched.h #define TASK_SIZE_OF(tsk) TASK_SIZE TASK_SIZE 6102 kernel/events/core.c if (!addr || addr >= TASK_SIZE) TASK_SIZE 6105 kernel/events/core.c return TASK_SIZE - addr; TASK_SIZE 6532 kernel/events/core.c if (virt >= TASK_SIZE) { TASK_SIZE 1463 kernel/events/uprobes.c area->vaddr = get_unmapped_area(NULL, TASK_SIZE - PAGE_SIZE, TASK_SIZE 129 kernel/rseq.c if (ptr >= TASK_SIZE) TASK_SIZE 135 kernel/rseq.c if (rseq_cs->start_ip >= TASK_SIZE || TASK_SIZE 136 kernel/rseq.c rseq_cs->start_ip + rseq_cs->post_commit_offset >= TASK_SIZE || TASK_SIZE 137 kernel/rseq.c rseq_cs->abort_ip >= TASK_SIZE || TASK_SIZE 1882 kernel/sys.c unsigned long mmap_max_addr = TASK_SIZE; TASK_SIZE 2115 kernel/sys.c if (addr >= TASK_SIZE || addr < mmap_min_addr) TASK_SIZE 201 lib/test_user_copy.c if (user_addr >= (unsigned long)(TASK_SIZE)) { TASK_SIZE 583 mm/gup.c if (address > TASK_SIZE) TASK_SIZE 100 mm/kasan/generic_report.c else if ((unsigned long)info->access_addr < TASK_SIZE) TASK_SIZE 2607 mm/mempolicy.c pvma.vm_end = TASK_SIZE; /* policy covers entire file */ TASK_SIZE 823 mm/mlock.c mm_populate(0, TASK_SIZE); TASK_SIZE 2081 mm/mmap.c #define arch_get_mmap_end(addr) (TASK_SIZE) TASK_SIZE 2202 mm/mmap.c if (len > TASK_SIZE) TASK_SIZE 2223 mm/mmap.c if (addr > TASK_SIZE - len) TASK_SIZE 2351 mm/mmap.c if (address >= (TASK_SIZE & PAGE_MASK)) TASK_SIZE 2359 mm/mmap.c if (gap_addr < address || gap_addr > TASK_SIZE) TASK_SIZE 2360 mm/mmap.c gap_addr = TASK_SIZE; TASK_SIZE 2740 mm/mmap.c if ((offset_in_page(start)) || start > TASK_SIZE || len > TASK_SIZE-start) TASK_SIZE 513 mm/mremap.c if (new_len > TASK_SIZE || new_addr > TASK_SIZE - new_len) TASK_SIZE 808 mm/nommu.c if (!rlen || rlen > TASK_SIZE) TASK_SIZE 2085 mm/shmem.c if (len > TASK_SIZE) TASK_SIZE 2097 mm/shmem.c if (addr > TASK_SIZE - len) TASK_SIZE 2141 mm/shmem.c if (inflated_len > TASK_SIZE) TASK_SIZE 2157 mm/shmem.c if (inflated_addr > TASK_SIZE - len)