Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/
A 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()
A 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()
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 Dbinfmt_elf.c128 current->mm->start_brk = current->mm->brk = end; in set_brk()
1313 mm->brk = mm->start_brk = ELF_ET_DYN_BASE; in load_elf_binary()
1316 mm->brk = mm->start_brk = arch_randomize_brk(mm); in load_elf_binary()
/linux-6.3-rc2/include/linux/
A Delf-fdpic.h44 unsigned long *start_brk);
A Dmm_types.h663 unsigned long start_brk, brk, start_stack; member
/linux-6.3-rc2/Documentation/bpf/
A 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.3-rc2/arch/arm/kernel/
A Delf.c119 unsigned long *start_brk) in elf_fdpic_arch_lay_out_mm() argument
/linux-6.3-rc2/include/uapi/linux/
A Dprctl.h139 __u64 start_brk; /* heap for brk() syscall */ member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dprctl.h139 __u64 start_brk; /* heap for brk() syscall */ member
/linux-6.3-rc2/kernel/
A 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.3-rc2/mm/
A Ddebug.c198 mm->start_brk, mm->brk, mm->start_stack, in dump_mm()
A Dmmap.c208 min_brk = mm->start_brk; in SYSCALL_DEFINE1()
212 min_brk = mm->start_brk; in SYSCALL_DEFINE1()
223 if (check_data_rlimit(rlimit(RLIMIT_DATA), brk, mm->start_brk, in SYSCALL_DEFINE1()
275 brkvma = vma_prev_limit(&vmi, mm->start_brk); in SYSCALL_DEFINE1()
A Dnommu.c385 if (brk < mm->start_brk || brk > mm->context.end_brk) in SYSCALL_DEFINE1()
/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dslb.c384 unsigned long heap = mm->start_brk; in preload_new_slb_context()
/linux-6.3-rc2/fs/proc/
A Darray.c628 seq_put_decimal_ull(m, " ", mm->start_brk); in do_task_stat()
A Dtask_mmu.c331 vma->vm_end >= mm->start_brk) { in show_map_vma()
1967 } else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) { in show_numa_map()
/linux-6.3-rc2/arch/alpha/kernel/
A Dosf_sys.c78 mm->start_brk = bss_start + bss_len; in SYSCALL_DEFINE4()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/
A Dkfd_svm.c2562 vma->vm_end >= vma->vm_mm->start_brk) || in svm_range_get_range_boundaries()
/linux-6.3-rc2/security/selinux/
A Dhooks.c3803 if (vma->vm_start >= vma->vm_mm->start_brk && in selinux_file_mprotect()
/linux-6.3-rc2/Documentation/filesystems/
A Dproc.rst379 start_brk address above which program heap can be expanded with brk()
/linux-6.3-rc2/kernel/events/
A Dcore.c8687 if (vma->vm_start <= vma->vm_mm->start_brk && in perf_event_mmap_event()

Completed in 90 milliseconds