Home
last modified time | relevance | path

Searched refs:TASK_SIZE (Results 1 – 25 of 196) sorted by relevance

12345678

/linux/arch/powerpc/include/asm/
A Dtask_size_32.h6 #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/arch/x86/include/asm/
A Dpage_32_types.h48 #define TASK_SIZE __PAGE_OFFSET macro
49 #define TASK_SIZE_LOW TASK_SIZE
50 #define TASK_SIZE_MAX TASK_SIZE
51 #define DEFAULT_MAP_WINDOW TASK_SIZE
52 #define STACK_TOP TASK_SIZE
/linux/arch/sh/mm/
A Dmmap.c52 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/arch/arm/mm/
A Dmmap.c56 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()
A Dpgd.c73 init_pgd = pgd_offset_k(TASK_SIZE); in pgd_alloc()
74 init_p4d = p4d_offset(init_pgd, TASK_SIZE); in pgd_alloc()
75 init_pud = pud_offset(init_p4d, TASK_SIZE); in pgd_alloc()
76 init_pmd = pmd_offset(init_pud, TASK_SIZE); in pgd_alloc()
77 new_pmd = pmd_offset(new_pud, TASK_SIZE); in pgd_alloc()
79 (pmd_index(MODULES_VADDR) - pmd_index(TASK_SIZE)) in pgd_alloc()
/linux/arch/m68k/include/asm/
A Dprocessor.h46 #define TASK_SIZE (0xC0000000UL) macro
48 #define TASK_SIZE (0x0E000000UL) macro
50 #define TASK_SIZE (0xF0000000UL) macro
53 #define TASK_SIZE (0xFFFFFFFFUL) macro
57 #define STACK_TOP TASK_SIZE
/linux/arch/s390/mm/
A Dmmap.c82 if (len > TASK_SIZE - mmap_min_addr) in arch_get_unmapped_area()
91 if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && in arch_get_unmapped_area()
99 info.high_limit = TASK_SIZE; in arch_get_unmapped_area()
122 if (len > TASK_SIZE - mmap_min_addr) in arch_get_unmapped_area_topdown()
132 if (TASK_SIZE - len >= addr && addr >= mmap_min_addr && in arch_get_unmapped_area_topdown()
158 info.high_limit = TASK_SIZE; in arch_get_unmapped_area_topdown()
/linux/arch/arc/include/asm/
A Dprocessor.h91 #define TASK_SIZE 0x60000000 macro
100 #define USER_KERNEL_GUTTER (VMALLOC_START - TASK_SIZE)
102 #define STACK_TOP TASK_SIZE
108 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
/linux/arch/mips/mm/
A Dmmap.c39 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/arch/arm64/include/asm/
A Dprocessor.h66 #define TASK_SIZE (test_thread_flag(TIF_32BIT) ? \ macro
73 #define TASK_SIZE TASK_SIZE_64 macro
79 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 4))
94 #define arch_get_mmap_end(addr) ((addr > DEFAULT_MAP_WINDOW) ? TASK_SIZE :\
98 base + TASK_SIZE - DEFAULT_MAP_WINDOW :\
290 return addr < TASK_SIZE; in is_ttbr0_addr()
/linux/arch/openrisc/include/asm/
A Dprocessor.h22 #define STACK_TOP TASK_SIZE
35 #define TASK_SIZE (0x80000000UL) macro
40 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
/linux/arch/hexagon/include/asm/
A Dmem-layout.h41 #define TASK_SIZE (PAGE_OFFSET) macro
44 #define STACK_TOP TASK_SIZE
45 #define STACK_TOP_MAX TASK_SIZE
/linux/arch/nios2/include/asm/
A Dprocessor.h31 #define STACK_TOP TASK_SIZE
41 # define TASK_SIZE 0x7FFF0000UL macro
42 # define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
/linux/arch/arm/include/asm/
A Dmemory.h39 #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(SZ_16M)) macro
41 #define TASK_SIZE (KASAN_SHADOW_START) macro
43 #define TASK_UNMAPPED_BASE ALIGN(TASK_SIZE / 3, SZ_16M)
61 #if TASK_SIZE > MODULES_VADDR
108 #define TASK_SIZE UL(0xffffffff) macro
/linux/arch/csky/include/asm/
A Dprocessor.h30 #define TASK_SIZE (PAGE_OFFSET - (PAGE_SIZE * 8)) macro
33 #define STACK_TOP TASK_SIZE
40 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
/linux/arch/nds32/include/asm/
A Dmemory.h22 #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/arch/microblaze/include/asm/
A Dprocessor.h38 # define TASK_SIZE (CONFIG_KERNEL_START) macro
44 # define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
89 # define STACK_TOP TASK_SIZE
/linux/arch/csky/abiv1/
A Dmmap.c49 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/arch/nds32/mm/
A Dmmap.c51 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/arch/arc/mm/
A Dmmap.c54 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/arch/xtensa/include/asm/
A Dprocessor.h36 #define TASK_SIZE __XTENSA_UL_CONST(0x40000000) macro
38 #define TASK_SIZE __XTENSA_UL_CONST(0xffffffff) macro
41 #define STACK_TOP TASK_SIZE
183 #define TASK_UNMAPPED_BASE (TASK_SIZE / 2)
/linux/arch/sh/include/asm/
A Dprocessor_32.h28 #define TASK_SIZE 0x7c000000UL macro
30 #define STACK_TOP TASK_SIZE
36 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
/linux/arch/sparc/kernel/
A Dsys_sparc_32.c57 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/arch/mips/include/asm/
A Dprocessor.h39 #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/
A Dusercopy.c72 if (user_addr >= TASK_SIZE) { in do_usercopy_stack()
140 if (user_addr >= TASK_SIZE) { in do_usercopy_heap_size()
216 if (user_alloc >= TASK_SIZE) { in do_usercopy_heap_whitelist()
306 if (user_addr >= TASK_SIZE) { in lkdtm_USERCOPY_KERNEL()

Completed in 20 milliseconds

12345678