Searched refs:TASK_SIZE (Results 1 - 25 of 166) sorted by relevance

1234567

/linux-master/arch/powerpc/include/asm/
H 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
H A Dtask_size_64.h47 #define TASK_SIZE (is_32bit_task() ? TASK_SIZE_USER32 : TASK_SIZE_USER64) macro
67 #define DEFAULT_MAP_WINDOW TASK_SIZE
76 (((addr) > DEFAULT_MAP_WINDOW) ? (base) + TASK_SIZE - DEFAULT_MAP_WINDOW : (base))
80 (((flags) & MAP_FIXED) && ((addr) + (len) > DEFAULT_MAP_WINDOW)) ? TASK_SIZE : \
/linux-master/arch/x86/include/asm/
H 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-master/arch/hexagon/include/asm/
H A Dmem-layout.h41 #define TASK_SIZE (PAGE_OFFSET) macro
44 #define STACK_TOP TASK_SIZE
45 #define STACK_TOP_MAX TASK_SIZE
/linux-master/arch/nios2/include/asm/
H 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-master/arch/openrisc/include/asm/
H A Dprocessor.h22 #define STACK_TOP TASK_SIZE
35 #define TASK_SIZE (0x80000000UL) macro
40 #define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
/linux-master/arch/alpha/include/asm/
H A Dprocessor.h16 #define TASK_SIZE (0x40000000000UL) macro
27 ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
/linux-master/arch/alpha/lib/
H A Ddbg_stackcheck.S21 lda $0, TASK_SIZE($8)
H A Ddbg_stackkill.S27 lda $2, TASK_SIZE($2)
/linux-master/arch/sh/include/asm/
H A Dpgtable-2level.h22 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
H 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-master/arch/um/include/asm/
H A Dfixmap.h50 #define FIXADDR_TOP (TASK_SIZE - 2 * PAGE_SIZE)
/linux-master/arch/arc/include/asm/
H A Dpgtable.h18 * TASK_SIZE is the maximum vaddr that can be used by a userland program.
20 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
H A Dprocessor.h75 * 0x0000_0000 0x5FFF_FFFF (user vaddr: TASK_SIZE)
85 #define TASK_SIZE 0x60000000 macro
94 #define USER_KERNEL_GUTTER (VMALLOC_START - TASK_SIZE)
96 #define STACK_TOP TASK_SIZE
102 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
/linux-master/include/asm-generic/
H A Daccess_ok.h12 * architectures with compat tasks have a variable TASK_SIZE and should
16 #define TASK_SIZE_MAX TASK_SIZE
/linux-master/arch/csky/abiv1/
H A Dmmap.c49 if (len > TASK_SIZE)
59 if (TASK_SIZE - len >= addr &&
67 info.high_limit = TASK_SIZE;
/linux-master/arch/microblaze/include/asm/
H A Dprocessor.h38 # define TASK_SIZE (CONFIG_KERNEL_START) macro
44 # define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3)
84 # define STACK_TOP TASK_SIZE
/linux-master/arch/csky/include/asm/
H A Dprocessor.h25 * so don't change it unless you know what you are doing. TASK_SIZE
29 #define TASK_SIZE (PAGE_OFFSET - (PAGE_SIZE * 8)) macro
32 #define STACK_TOP TASK_SIZE
39 #define TASK_UNMAPPED_BASE (TASK_SIZE / 3)
/linux-master/arch/m68k/include/asm/
H A Dprocessor.h47 #define TASK_SIZE (0xC0000000UL) macro
49 #define TASK_SIZE (0x0E000000UL) macro
51 #define TASK_SIZE (0xF0000000UL) macro
54 #define TASK_SIZE (0xFFFFFFFFUL) macro
58 #define STACK_TOP TASK_SIZE
/linux-master/arch/arm/mm/
H A Dmmap.c56 if (len > TASK_SIZE)
66 if (TASK_SIZE - len >= addr &&
74 info.high_limit = TASK_SIZE;
100 if (len > TASK_SIZE)
117 if (TASK_SIZE - len >= addr &&
140 info.high_limit = TASK_SIZE;
H A Dpgd.c73 init_pgd = pgd_offset_k(TASK_SIZE);
74 init_p4d = p4d_offset(init_pgd, TASK_SIZE);
75 init_pud = pud_offset(init_p4d, TASK_SIZE);
76 init_pmd = pmd_offset(init_pud, TASK_SIZE);
77 new_pmd = pmd_offset(new_pud, TASK_SIZE);
79 (pmd_index(MODULES_VADDR) - pmd_index(TASK_SIZE))
/linux-master/arch/sh/mm/
H A Dmmap.c72 if (unlikely(len > TASK_SIZE))
86 if (TASK_SIZE - len >= addr &&
94 info.high_limit = TASK_SIZE;
121 if (unlikely(len > TASK_SIZE))
136 if (TASK_SIZE - len >= addr &&
159 info.high_limit = TASK_SIZE;
/linux-master/kernel/trace/
H A Dtrace_probe_kernel.h28 if (addr < TASK_SIZE)
82 if ((unsigned long)addr < TASK_SIZE)
113 if ((unsigned long)src < TASK_SIZE)
/linux-master/arch/arc/mm/
H A Dmmap.c42 if (len > TASK_SIZE)
49 if (TASK_SIZE - len >= addr &&
57 info.high_limit = TASK_SIZE;
/linux-master/arch/mips/mm/
H A Dmmap.c39 if (unlikely(len > TASK_SIZE))
43 /* Even MAP_FIXED mappings must reside within TASK_SIZE */
44 if (TASK_SIZE - len < addr)
69 if (TASK_SIZE - len >= addr &&
97 info.high_limit = TASK_SIZE;

Completed in 236 milliseconds

1234567