Home
last modified time | relevance | path

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

1234567

/linux-2.6.39/arch/tile/include/asm/
Dkexec.h23 #define KEXEC_SOURCE_MEMORY_LIMIT TASK_SIZE
25 #define KEXEC_DESTINATION_MEMORY_LIMIT TASK_SIZE
27 #define KEXEC_CONTROL_MEMORY_LIMIT TASK_SIZE
Dprocessor.h166 #define TASK_SIZE ((current_thread_info()->status & TS_COMPAT) ?\ macro
169 #define TASK_SIZE TASK_SIZE_MAX macro
173 #define VDSO_BASE (TASK_SIZE - PAGE_SIZE)
184 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
/linux-2.6.39/arch/score/include/asm/
Dprocessor.h35 #define TASK_SIZE 0x7fff8000UL macro
41 #define TASK_UNMAPPED_BASE ((TASK_SIZE / 3) & ~(PAGE_SIZE))
44 #define STACK_TOP TASK_SIZE
45 #define STACK_TOP_MAX TASK_SIZE
/linux-2.6.39/arch/m32r/include/asm/
Dprocessor.h58 #define TASK_SIZE (0x80000000UL) macro
60 #define TASK_SIZE (0x00400000UL) macro
64 #define STACK_TOP TASK_SIZE
71 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
/linux-2.6.39/arch/microblaze/include/asm/
Dprocessor.h45 # define TASK_SIZE (0x81000000 - 0x80000000) macro
94 # define TASK_SIZE (CONFIG_KERNEL_START) macro
100 # define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
169 # define STACK_TOP TASK_SIZE
/linux-2.6.39/arch/frv/include/asm/
Dmem-layout.h74 #define TASK_SIZE (PAGE_OFFSET) macro
76 #define TASK_SIZE __UL(0xFFFFFFFFUL) macro
83 #define TASK_UNMAPPED_BASE __UL(TASK_SIZE / 3)
/linux-2.6.39/arch/mips/include/asm/
Dprocessor.h52 #define TASK_SIZE 0x7fff8000UL macro
55 #define STACK_TOP_MAX TASK_SIZE
72 #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) macro
86 #define STACK_TOP ((TASK_SIZE & PAGE_MASK) - SPECIAL_PAGES_SIZE)
92 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
/linux-2.6.39/arch/xtensa/include/asm/
Dprocessor.h39 #define TASK_SIZE __XTENSA_UL_CONST(0x40000000) macro
41 #define TASK_SIZE (PLATFORM_DEFAULT_MEM_START + PLATFORM_DEFAULT_MEM_SIZE) macro
44 #define STACK_TOP TASK_SIZE
128 #define TASK_UNMAPPED_BASE (TASK_SIZE / 2)
/linux-2.6.39/arch/s390/mm/
Dmmap.c109 len >= TASK_SIZE && TASK_SIZE < (1UL << 53)) in s390_mmap_check()
125 if (area == -ENOMEM && !is_compat_task() && TASK_SIZE < (1UL << 53)) { in s390_get_unmapped_area()
147 if (area == -ENOMEM && !is_compat_task() && TASK_SIZE < (1UL << 53)) { in s390_get_unmapped_area_topdown()
/linux-2.6.39/arch/m68k/include/asm/
Dprocessor.h52 #define TASK_SIZE (0xF0000000UL) macro
54 #define TASK_SIZE (0x0E000000UL) macro
57 #define TASK_SIZE (0xFFFFFFFFUL) macro
61 #define STACK_TOP TASK_SIZE
/linux-2.6.39/arch/sh/mm/
Dmmap.c63 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area()
77 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area()
97 if (unlikely(TASK_SIZE - len < addr)) { in arch_get_unmapped_area()
145 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area_topdown()
160 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_topdown()
/linux-2.6.39/arch/arm/include/asm/
Dmemory.h36 #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(0x01000000)) macro
55 #if TASK_SIZE > MODULES_VADDR
99 #ifndef TASK_SIZE
100 #define TASK_SIZE (CONFIG_DRAM_SIZE) macro
/linux-2.6.39/arch/sh/include/asm/
Dprocessor_32.h34 #define TASK_SIZE 0x7c000000UL macro
36 #define STACK_TOP TASK_SIZE
42 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
Dprocessor_64.h42 #define TASK_SIZE 0x7ffff000UL macro
44 #define STACK_TOP TASK_SIZE
50 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
/linux-2.6.39/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()
/linux-2.6.39/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
137 #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()
/linux-2.6.39/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))
/linux-2.6.39/arch/arm/mm/
Dmmap.c65 if (len > TASK_SIZE) in arch_get_unmapped_area()
75 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area()
98 if (TASK_SIZE - len < addr) { in arch_get_unmapped_area()
/linux-2.6.39/arch/cris/include/arch-v32/arch/
Dprocessor.h27 #define TASK_SIZE (0xB0000000UL) macro
29 #define TASK_SIZE (0xA0000000UL) macro
/linux-2.6.39/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
/linux-2.6.39/arch/cris/include/asm/
Dprocessor.h20 #define STACK_TOP TASK_SIZE
26 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
/linux-2.6.39/arch/unicore32/include/asm/
Duaccess.h28 #define __user_ok(addr, size) (((size) <= TASK_SIZE) \
29 && ((addr) <= TASK_SIZE - (size)))
/linux-2.6.39/arch/tile/mm/
Dmmap.c30 #define MAX_GAP (TASK_SIZE/6*5)
45 return PAGE_ALIGN(TASK_SIZE - gap - random_factor); in mmap_base()
/linux-2.6.39/arch/powerpc/mm/
Dmmap_64.c43 #define MAX_GAP (TASK_SIZE/6*5)
87 return PAGE_ALIGN(TASK_SIZE - gap - mmap_rnd()); in mmap_base()

1234567