Home
last modified time | relevance | path

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

12345

/arch/mips/include/asm/
Dprocessor.h41 #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/
Dmmap.c95 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/
Dprocessor_mm.h39 #define TASK_SIZE (0xF0000000UL) macro
41 #define TASK_SIZE (0x0E000000UL) macro
45 #define STACK_TOP TASK_SIZE
/arch/cris/include/arch-v32/arch/
Dprocessor.h27 #define TASK_SIZE (0xB0000000UL) macro
29 #define TASK_SIZE (0xA0000000UL) macro
/arch/cris/include/arch-v10/arch/
Dprocessor.h32 #define TASK_SIZE (0x50000000UL) /* 1.25 GB */ macro
34 #define TASK_SIZE (0xA0000000UL) /* 2.56 GB */ macro
/arch/arm/include/asm/
Dmemory.h35 #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
Dprocessor.h27 TASK_SIZE : TASK_SIZE_26)
28 #define STACK_TOP_MAX TASK_SIZE
/arch/frv/mm/
Delf-fdpic.c65 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/
Dmmap.c35 #define MAX_GAP (TASK_SIZE/6*5)
46 return TASK_SIZE - (gap & PAGE_MASK); in mmap_base()
/arch/cris/include/asm/
Dprocessor.h20 #define STACK_TOP TASK_SIZE
26 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
/arch/xtensa/include/asm/
Dprocessor.h36 #define TASK_SIZE __XTENSA_UL_CONST(0x40000000) macro
37 #define STACK_TOP TASK_SIZE
121 #define TASK_UNMAPPED_BASE (TASK_SIZE / 2)
Duaccess.h122 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/
Dmmap.c45 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/
Dprocessor_32.h36 #define TASK_SIZE 0x7c000000UL macro
38 #define STACK_TOP TASK_SIZE
44 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
Dprocessor_64.h43 #define TASK_SIZE 0x7ffff000UL macro
45 #define STACK_TOP TASK_SIZE
51 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
/arch/arm/mm/
Dmmap.c62 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/
Dprocessor.h91 #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
Duaccess.h34 #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/
Dprocessor.h14 #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/
Dprocessor.h21 #define TASK_SIZE (0x40000000000UL) macro
32 ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
/arch/x86/mm/
Dmmap.c39 #define MAX_GAP (TASK_SIZE/6*5)
93 return PAGE_ALIGN(TASK_SIZE - gap - mmap_rnd()); in mmap_base()
/arch/um/include/shared/
Dum_uaccess.h14 (((unsigned long) (addr) < TASK_SIZE) && \
15 (((unsigned long) (addr) + (size)) < TASK_SIZE))
/arch/h8300/include/asm/
Dprocessor.h40 #define TASK_SIZE (0xFFFFFFFFUL) macro
43 #define STACK_TOP TASK_SIZE
/arch/um/include/asm/
Dprocessor-generic.h96 #define TASK_SIZE (task_size) macro
104 #define STACK_TOP (TASK_SIZE - 2 * PAGE_SIZE)
/arch/mips/kernel/
Dbinfmt_elfn32.c119 #undef TASK_SIZE
120 #define TASK_SIZE TASK_SIZE32 macro

12345