Home
last modified time | relevance | path

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

1234567

/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
/arch/hexagon/include/asm/
Dmem-layout.h45 #define TASK_SIZE (PAGE_OFFSET) macro
48 #define STACK_TOP TASK_SIZE
49 #define STACK_TOP_MAX TASK_SIZE
/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
/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)
/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)
/arch/m68k/include/asm/
Dprocessor.h52 #define TASK_SIZE (0xC0000000UL) macro
54 #define TASK_SIZE (0x0E000000UL) macro
56 #define TASK_SIZE (0xF0000000UL) macro
59 #define TASK_SIZE (0xFFFFFFFFUL) macro
63 #define STACK_TOP TASK_SIZE
/arch/microblaze/include/asm/
Dprocessor.h47 # define TASK_SIZE (0x81000000 - 0x80000000) macro
96 # define TASK_SIZE (CONFIG_KERNEL_START) macro
102 # define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
167 # define STACK_TOP TASK_SIZE
/arch/openrisc/include/asm/
Dprocessor.h26 #define STACK_TOP TASK_SIZE
44 #define TASK_SIZE (0x80000000UL) macro
49 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
Duaccess.h51 #define USER_DS (TASK_SIZE)
280 if ((unsigned long)from < TASK_SIZE) { in copy_from_user()
281 over = (unsigned long)from + n - TASK_SIZE; in copy_from_user()
294 if ((unsigned long)to < TASK_SIZE) { in copy_to_user()
295 over = (unsigned long)to + n - TASK_SIZE; in copy_to_user()
309 if ((unsigned long)addr < TASK_SIZE) { in clear_user()
310 unsigned long over = (unsigned long)addr + size - TASK_SIZE; in clear_user()
352 #define strlen_user(str) strnlen_user(str, TASK_SIZE-1)
/arch/mips/include/asm/
Dprocessor.h51 #define TASK_SIZE 0x7fff8000UL macro
54 #define STACK_TOP_MAX TASK_SIZE
71 #define TASK_SIZE (test_thread_flag(TIF_32BIT_ADDR) ? TASK_SIZE32 : TASK_SIZE64) macro
85 #define STACK_TOP ((TASK_SIZE & PAGE_MASK) - SPECIAL_PAGES_SIZE)
91 #define TASK_UNMAPPED_BASE PAGE_ALIGN(TASK_SIZE / 3)
/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)
/arch/arm/mm/
Dmmap.c32 #define MAX_GAP ((TASK_SIZE)/6*5)
54 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
93 if (len > TASK_SIZE) in arch_get_unmapped_area()
103 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area()
122 if (TASK_SIZE - len < addr) { in arch_get_unmapped_area()
168 if (len > TASK_SIZE) in arch_get_unmapped_area_topdown()
185 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_topdown()
/arch/s390/mm/
Dmmap.c111 len >= TASK_SIZE && TASK_SIZE < (1UL << 53)) { in s390_mmap_check()
131 if (area == -ENOMEM && !is_compat_task() && TASK_SIZE < (1UL << 53)) { in s390_get_unmapped_area()
154 if (area == -ENOMEM && !is_compat_task() && TASK_SIZE < (1UL << 53)) { in s390_get_unmapped_area_topdown()
/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/mips/mm/
Dmmap.c23 #define MAX_GAP ((TASK_SIZE)/6*5)
45 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
75 if (unlikely(len > TASK_SIZE)) in arch_get_unmapped_area_common()
80 if (TASK_SIZE - len < addr) in arch_get_unmapped_area_common()
105 if (TASK_SIZE - len >= addr && in arch_get_unmapped_area_common()
119 if (TASK_SIZE - len < addr) in arch_get_unmapped_area_common()
/arch/arm/include/asm/
Dmemory.h39 #define TASK_SIZE (UL(CONFIG_PAGE_OFFSET) - UL(0x01000000)) macro
58 #if TASK_SIZE > MODULES_VADDR
93 #ifndef TASK_SIZE
94 #define TASK_SIZE (CONFIG_DRAM_SIZE) macro
/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)
/arch/tile/mm/
Dmmap.c30 #define MAX_GAP (TASK_SIZE/6*5)
45 return PAGE_ALIGN(TASK_SIZE - gap - random_factor); in mmap_base()
/arch/unicore32/include/asm/
Duaccess.h27 #define __user_ok(addr, size) (((size) <= TASK_SIZE) \
28 && ((addr) <= TASK_SIZE - (size)))
/arch/cris/include/asm/
Dprocessor.h20 #define STACK_TOP TASK_SIZE
26 #define TASK_UNMAPPED_BASE (PAGE_ALIGN(TASK_SIZE / 3))
/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/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()
/arch/powerpc/mm/
Dmmap_64.c43 #define MAX_GAP (TASK_SIZE/6*5)
79 return PAGE_ALIGN(TASK_SIZE - gap - mmap_rnd()); in mmap_base()

1234567