Home
last modified time | relevance | path

Searched refs:start_brk (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/fs/
Dbinfmt_flat.c83 unsigned long start_brk; /* End of data segment */ member
305 unsigned long start_brk; in calc_reloc() local
310 start_brk = p->lib_list[0].start_brk; in calc_reloc()
315 if (r > start_brk - start_data + text_len) { in calc_reloc()
317 r, start_brk-start_data+text_len, text_len); in calc_reloc()
704 current->mm->start_brk = datapos + data_len + bss_len; in load_flat_file()
705 current->mm->brk = (current->mm->start_brk + 3) & ~3; in load_flat_file()
722 libinfo->lib_list[0].start_brk = datapos + data_len + bss_len; in load_flat_file()
836 libinfo->lib_list[0].start_brk) + /* start brk */ in load_flat_file()
Dbinfmt_elf_fdpic.c371 &current->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()
421 current->mm->start_brk = vm_mmap(NULL, 0, stack_size, stack_prot, 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()
[all …]
Dbinfmt_elf.c127 current->mm->start_brk = current->mm->brk = end; in set_brk()
1314 mm->brk = mm->start_brk = ELF_ET_DYN_BASE; in load_elf_binary()
1317 mm->brk = mm->start_brk = arch_randomize_brk(mm); in load_elf_binary()
/linux-6.1.9/include/linux/
Delf-fdpic.h44 unsigned long *start_brk);
Dmm_types.h610 unsigned long start_brk, brk, start_stack; member
/linux-6.1.9/Documentation/bpf/
Dprog_lsm.rst31 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-6.1.9/arch/arm/kernel/
Delf.c119 unsigned long *start_brk) in elf_fdpic_arch_lay_out_mm() argument
/linux-6.1.9/tools/include/uapi/linux/
Dprctl.h139 __u64 start_brk; /* heap for brk() syscall */ member
/linux-6.1.9/include/uapi/linux/
Dprctl.h139 __u64 start_brk; /* heap for brk() syscall */ member
/linux-6.1.9/kernel/
Dsys.c1919 offsetof(struct prctl_mm_map, start_brk), in validate_prctl_map_addr()
1948 error |= __prctl_check_order(start_brk, <=, brk); in validate_prctl_map_addr()
1961 prctl_map->start_brk, prctl_map->end_data, in validate_prctl_map_addr()
2054 mm->start_brk = prctl_map.start_brk; in prctl_set_mm_map()
2158 prctl_map.start_brk = mm->start_brk; in prctl_set_mm()
2183 prctl_map.start_brk = addr; in prctl_set_mm()
2231 mm->start_brk = prctl_map.start_brk; in prctl_set_mm()
/linux-6.1.9/mm/
Ddebug.c197 mm->start_brk, mm->brk, mm->start_stack, in dump_mm()
Dmmap.c193 min_brk = mm->start_brk; in SYSCALL_DEFINE1()
197 min_brk = mm->start_brk; in SYSCALL_DEFINE1()
208 if (check_data_rlimit(rlimit(RLIMIT_DATA), brk, mm->start_brk, in SYSCALL_DEFINE1()
260 brkvma = mas_prev(&mas, mm->start_brk); in SYSCALL_DEFINE1()
Dnommu.c385 if (brk < mm->start_brk || brk > mm->context.end_brk) in SYSCALL_DEFINE1()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dslb.c384 unsigned long heap = mm->start_brk; in preload_new_slb_context()
/linux-6.1.9/fs/proc/
Darray.c633 seq_put_decimal_ull(m, " ", mm->start_brk); in do_task_stat()
Dtask_mmu.c323 vma->vm_end >= mm->start_brk) { in show_map_vma()
1962 } else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) { in show_numa_map()
/linux-6.1.9/arch/alpha/kernel/
Dosf_sys.c78 mm->start_brk = bss_start + bss_len; in SYSCALL_DEFINE4()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c2561 vma->vm_end >= vma->vm_mm->start_brk) || in svm_range_get_range_boundaries()
/linux-6.1.9/security/selinux/
Dhooks.c3784 if (vma->vm_start >= vma->vm_mm->start_brk && in selinux_file_mprotect()
/linux-6.1.9/Documentation/filesystems/
Dproc.rst377 start_brk address above which program heap can be expanded with brk()
/linux-6.1.9/kernel/events/
Dcore.c8504 if (vma->vm_start <= vma->vm_mm->start_brk && in perf_event_mmap_event()