/linux/fs/ |
A D | binfmt_flat.c | 87 unsigned long start_brk; /* End of data segment */ member 329 unsigned long start_brk; in calc_reloc() local 366 start_brk = p->lib_list[id].start_brk; in calc_reloc() 371 if (r > start_brk - start_data + text_len) { in calc_reloc() 373 r, start_brk-start_data+text_len, text_len); in calc_reloc() 747 current->mm->start_brk = datapos + data_len + bss_len; in load_flat_file() 748 current->mm->brk = (current->mm->start_brk + 3) & ~3; in load_flat_file() 766 libinfo->lib_list[id].start_brk = datapos + data_len + bss_len; in load_flat_file() 879 libinfo->lib_list[id].start_brk) + /* start brk */ in load_flat_file()
|
A D | binfmt_elf_fdpic.c | 371 ¤t->mm->start_brk); in load_elf_fdpic_binary() 404 if (!current->mm->start_brk) in load_elf_fdpic_binary() 405 current->mm->start_brk = current->mm->end_data; in load_elf_fdpic_binary() 407 current->mm->brk = current->mm->start_brk = in load_elf_fdpic_binary() 408 PAGE_ALIGN(current->mm->start_brk); in load_elf_fdpic_binary() 426 if (IS_ERR_VALUE(current->mm->start_brk)) { in load_elf_fdpic_binary() 427 retval = current->mm->start_brk; in load_elf_fdpic_binary() 428 current->mm->start_brk = 0; in load_elf_fdpic_binary() 432 current->mm->brk = current->mm->start_brk; in load_elf_fdpic_binary() 433 current->mm->context.end_brk = current->mm->start_brk; in load_elf_fdpic_binary() [all …]
|
A D | binfmt_aout.c | 171 (current->mm->start_brk = N_BSSADDR(ex)); in load_aout_binary() 240 retval = set_brk(current->mm->start_brk, current->mm->brk); in load_aout_binary()
|
A D | binfmt_elf.c | 125 current->mm->start_brk = current->mm->brk = end; in set_brk() 1292 mm->brk = mm->start_brk = ELF_ET_DYN_BASE; in load_elf_binary() 1295 mm->brk = mm->start_brk = arch_randomize_brk(mm); in load_elf_binary()
|
/linux/Documentation/bpf/ |
A D | bpf_lsm.rst | 31 unsigned long start_brk, brk, start_stack; 35 unsigned long start_brk, brk, start_stack; 79 is_heap = (vma->vm_start >= vma->vm_mm->start_brk &&
|
/linux/include/linux/ |
A D | elf-fdpic.h | 44 unsigned long *start_brk);
|
A D | mm_types.h | 568 unsigned long start_brk, brk, start_stack; member
|
/linux/arch/arm/kernel/ |
A D | elf.c | 119 unsigned long *start_brk) in elf_fdpic_arch_lay_out_mm() argument
|
/linux/arch/x86/ia32/ |
A D | ia32_aout.c | 152 (current->mm->start_brk = N_BSSADDR(ex)); in load_aout_binary() 220 error = set_brk(current->mm->start_brk, current->mm->brk); in load_aout_binary()
|
/linux/kernel/ |
A D | sys.c | 1894 offsetof(struct prctl_mm_map, start_brk), in validate_prctl_map_addr() 1923 error |= __prctl_check_order(start_brk, <=, brk); in validate_prctl_map_addr() 1936 prctl_map->start_brk, prctl_map->end_data, in validate_prctl_map_addr() 2029 mm->start_brk = prctl_map.start_brk; in prctl_set_mm_map() 2133 prctl_map.start_brk = mm->start_brk; in prctl_set_mm() 2158 prctl_map.start_brk = addr; in prctl_set_mm() 2206 mm->start_brk = prctl_map.start_brk; in prctl_set_mm()
|
/linux/tools/include/uapi/linux/ |
A D | prctl.h | 139 __u64 start_brk; /* heap for brk() syscall */ member
|
/linux/include/uapi/linux/ |
A D | prctl.h | 139 __u64 start_brk; /* heap for brk() syscall */ member
|
/linux/mm/ |
A D | debug.c | 251 mm->start_brk, mm->brk, mm->start_stack, in dump_mm()
|
A D | mmap.c | 216 min_brk = mm->start_brk; in SYSCALL_DEFINE1() 220 min_brk = mm->start_brk; in SYSCALL_DEFINE1() 231 if (check_data_rlimit(rlimit(RLIMIT_DATA), brk, mm->start_brk, in SYSCALL_DEFINE1()
|
A D | nommu.c | 384 if (brk < mm->start_brk || brk > mm->context.end_brk) in SYSCALL_DEFINE1()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | slb.c | 385 unsigned long heap = mm->start_brk; in preload_new_slb_context()
|
/linux/fs/proc/ |
A D | task_mmu.c | 317 vma->vm_end >= mm->start_brk) { in show_map_vma() 1897 } else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) { in show_numa_map()
|
A D | array.c | 624 seq_put_decimal_ull(m, " ", mm->start_brk); in do_task_stat()
|
/linux/arch/alpha/kernel/ |
A D | osf_sys.c | 77 mm->start_brk = bss_start + bss_len; in SYSCALL_DEFINE4()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_svm.c | 2357 vma->vm_end >= vma->vm_mm->start_brk) || in svm_range_get_range_boundaries()
|
/linux/security/selinux/ |
A D | hooks.c | 3888 if (vma->vm_start >= vma->vm_mm->start_brk && in selinux_file_mprotect()
|
/linux/Documentation/filesystems/ |
A D | proc.rst | 377 start_brk address above which program heap can be expanded with brk()
|
/linux/kernel/events/ |
A D | core.c | 8392 if (vma->vm_start <= vma->vm_mm->start_brk && in perf_event_mmap_event()
|