Home
last modified time | relevance | path

Searched refs:TASK_SIZE_MAX (Results 1 – 25 of 26) sorted by relevance

12

/arch/x86/include/asm/
Dpage_64_types.h64 #define TASK_SIZE_MAX task_size_max() macro
76 IA32_PAGE_OFFSET : TASK_SIZE_MAX)
78 IA32_PAGE_OFFSET : TASK_SIZE_MAX)
81 #define STACK_TOP_MAX TASK_SIZE_MAX
Dpage_32_types.h50 #define TASK_SIZE_MAX TASK_SIZE macro
Duaccess.h72 likely(!__range_not_ok(addr, size, TASK_SIZE_MAX)); \
/arch/x86/mm/
Dmaccess.c15 if (vaddr < TASK_SIZE_MAX + PAGE_SIZE) in copy_from_kernel_nofault_allowed()
31 return (unsigned long)unsafe_src >= TASK_SIZE_MAX; in copy_from_kernel_nofault_allowed()
Dmmap.c38 return full_addr_space ? TASK_SIZE_MAX : DEFAULT_MAP_WINDOW; in task_size_64bit()
Dhugetlbpage.c118 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in hugetlb_get_unmapped_area_topdown()
Dfault.c268 addr >= TASK_SIZE_MAX && addr < VMALLOC_END; in arch_sync_kernel_mappings()
617 if (address >= TASK_SIZE_MAX) in sanitize_error_code()
1138 return address >= TASK_SIZE_MAX; in fault_in_kernel_space()
/arch/x86/kernel/
Dhw_breakpoint.c247 return (va >= TASK_SIZE_MAX) || ((va + len - 1) >= TASK_SIZE_MAX); in arch_check_bp_in_kernelspace()
359 if (attr->bp_addr >= TASK_SIZE_MAX) { in arch_build_bp_info()
Dsys_x86_64.c207 info.high_limit += TASK_SIZE_MAX - DEFAULT_MAP_WINDOW; in arch_get_unmapped_area_topdown()
Dprocess_64.c752 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64()
784 if (unlikely(arg2 >= TASK_SIZE_MAX)) in do_arch_prctl_64()
Ddumpstack.c88 if (__chk_range_not_ok(src, nbytes, TASK_SIZE_MAX)) in copy_code()
Dptrace.c372 if (value >= TASK_SIZE_MAX) in putreg()
377 if (value >= TASK_SIZE_MAX) in putreg()
Dtraps.c90 if (addr < TASK_SIZE_MAX) in is_valid_bugaddr()
/arch/powerpc/include/asm/
Duaccess.h13 #define TASK_SIZE_MAX TASK_SIZE_USER64 macro
15 #define TASK_SIZE_MAX TASK_SIZE macro
20 return addr < TASK_SIZE_MAX && size <= TASK_SIZE_MAX - addr; in __access_ok()
/arch/s390/include/asm/
Dprocessor.h92 _REGION3_SIZE : TASK_SIZE_MAX)
96 #define TASK_SIZE_MAX (-PAGE_SIZE) macro
Dmmu_context.h56 case TASK_SIZE_MAX: in init_new_context()
/arch/x86/lib/
Dputuser.S42 mov $(TASK_SIZE_MAX - (n)),%_ASM_BX
Dgetuser.S46 mov $(TASK_SIZE_MAX - (n)),%_ASM_DX
/arch/arm64/include/asm/
Duaccess.h39 unsigned long ret, limit = TASK_SIZE_MAX - 1; in __range_ok()
243 : "r" (ptr), "r" (TASK_SIZE_MAX - 1), in __uaccess_mask_ptr()
Dprocessor.h56 #define TASK_SIZE_MAX (UL(1) << VA_BITS) macro
/arch/s390/mm/
Dpgalloc.c127 mm->context.asce_limit = TASK_SIZE_MAX; in crst_table_upgrade()
535 base_region1_walk(table, 0, TASK_SIZE_MAX, 0); in base_asce_free()
Dgmap.c436 from + len - 1 > TASK_SIZE_MAX || to + len - 1 > gmap->asce_end) in gmap_map_segment()
/arch/powerpc/mm/ptdump/
Dptdump.c108 {TASK_SIZE_MAX, ~0UL},
/arch/x86/net/
Dbpf_jit_comp.c1276 u64 limit = TASK_SIZE_MAX + PAGE_SIZE + abs(insn->off); in do_jit()
/arch/s390/kvm/
Dkvm-s390.c2792 kvm->arch.mem_limit = TASK_SIZE_MAX; in kvm_arch_init_vm()
2794 kvm->arch.mem_limit = min_t(unsigned long, TASK_SIZE_MAX, in kvm_arch_init_vm()

12