Home
last modified time | relevance | path

Searched refs:mmap_base (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/arch/s390/mm/
A Dmmap.c48 static inline unsigned long mmap_base(unsigned long rnd, in mmap_base() function
98 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
140 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
184 mm->mmap_base = mmap_base_legacy(random_factor); in arch_pick_mmap_layout()
187 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
A Dhugetlbpage.c259 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_bottomup()
277 info.high_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
/linux-6.3-rc2/arch/x86/mm/
A Dmmap.c82 static unsigned long mmap_base(unsigned long rnd, unsigned long task_size, in mmap_base() function
126 *base = mmap_base(random_factor, task_size, rlim_stack); in arch_pick_mmap_base()
136 arch_pick_mmap_base(&mm->mmap_base, &mm->mmap_legacy_base, in arch_pick_mmap_layout()
163 return is_legacy ? mm->mmap_legacy_base : mm->mmap_base; in get_mmap_base()
/linux-6.3-rc2/arch/arm/mm/
A Dmmap.c73 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
125 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
139 info.low_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
/linux-6.3-rc2/arch/mips/mm/
A Dmmap.c81 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common()
96 info.low_limit = mm->mmap_base; in arch_get_unmapped_area_common()
/linux-6.3-rc2/arch/loongarch/mm/
A Dmmap.c72 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common()
87 info.low_limit = mm->mmap_base; in arch_get_unmapped_area_common()
/linux-6.3-rc2/drivers/hsi/clients/
A Dcmt_speech.c44 unsigned long mmap_base; member
91 unsigned long mmap_base; member
622 address = (u32 *)(hi->mmap_base + in cs_hsi_peek_on_data_complete()
667 sg_init_one(rxmsg->sgt.sgl, (void *)hi->mmap_base, 0); in cs_hsi_read_on_data()
717 address = (u32 *)(hi->mmap_base + hi->tx_offsets[hi->tx_slot]); in cs_hsi_write_on_data()
985 unsigned long mmap_base, unsigned long mmap_size) in cs_hsi_start() argument
999 hsi_if->mmap_cfg = (struct cs_mmap_config_block *)mmap_base; in cs_hsi_start()
1000 hsi_if->mmap_base = mmap_base; in cs_hsi_start()
1092 page = virt_to_page((void *)csdata->mmap_base); in cs_char_vma_fault()
1302 cs_char_data.mmap_base = p; in cs_char_open()
[all …]
/linux-6.3-rc2/mm/
A Dutil.c411 static unsigned long mmap_base(unsigned long rnd, struct rlimit *rlim_stack) in mmap_base() function
440 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
443 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
450 mm->mmap_base = TASK_UNMAPPED_BASE; in arch_pick_mmap_layout()
A Ddebug.c189 mm->mmap_base, mm->mmap_legacy_base, in dump_mm()
A Dmmap.c1628 info.low_limit = mm->mmap_base; in generic_get_unmapped_area()
1679 info.high_limit = arch_get_mmap_base(addr, mm->mmap_base); in generic_get_unmapped_area_topdown()
/linux-6.3-rc2/arch/parisc/kernel/
A Dsys_parisc.c200 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
264 mm->mmap_base = mmap_upper_limit(rlim_stack); in arch_pick_mmap_layout()
267 mm->mmap_base = mm->mmap_legacy_base; in arch_pick_mmap_layout()
A Dvdso.c76 map_base = mm->mmap_base; in arch_setup_additional_pages()
/linux-6.3-rc2/drivers/spi/
A Dspi-ti-qspi.c46 void __iomem *mmap_base; member
648 memcpy_fromio(op->data.buf.in, qspi->mmap_base + from, in ti_qspi_exec_mem_op()
887 qspi->mmap_base = devm_ioremap_resource(&pdev->dev, res_mmap); in ti_qspi_probe()
888 if (IS_ERR(qspi->mmap_base)) { in ti_qspi_probe()
891 PTR_ERR(qspi->mmap_base)); in ti_qspi_probe()
892 qspi->mmap_base = NULL; in ti_qspi_probe()
/linux-6.3-rc2/arch/csky/abiv1/
A Dmmap.c66 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
/linux-6.3-rc2/arch/arc/mm/
A Dmmap.c71 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
/linux-6.3-rc2/arch/sparc/kernel/
A Dsys_sparc_64.c195 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
294 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
305 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dslb.c369 if (!is_kernel_addr(mm->mmap_base)) { in slb_setup_new_exec()
370 if (preload_add(ti, mm->mmap_base)) in slb_setup_new_exec()
371 slb_allocate_user(mm, mm->mmap_base); in slb_setup_new_exec()
A Dslice.c385 return slice_find_area_topdown(mm, mm->mmap_base, len, mask, psize, high_limit); in slice_find_area()
387 return slice_find_area_bottomup(mm, mm->mmap_base, len, mask, psize, high_limit); in slice_find_area()
/linux-6.3-rc2/fs/
A Daio.c122 unsigned long mmap_base; member
373 ctx->user_id = ctx->mmap_base = vma->vm_start; in aio_ring_mremap()
559 ctx->mmap_base = do_mmap(ctx->aio_ring_file, 0, ctx->mmap_size, in aio_setup_ring()
563 if (IS_ERR((void *)ctx->mmap_base)) { in aio_setup_ring()
569 pr_debug("mmap address: 0x%08lx\n", ctx->mmap_base); in aio_setup_ring()
571 ctx->user_id = ctx->mmap_base; in aio_setup_ring()
829 vm_munmap(ctx->mmap_base, ctx->mmap_size); in ioctx_alloc()
875 vm_munmap(ctx->mmap_base, ctx->mmap_size); in kill_ioctx()
/linux-6.3-rc2/arch/sh/mm/
A Dmmap.c144 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
/linux-6.3-rc2/fs/hugetlbfs/
A Dinode.c195 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_bottomup()
212 info.high_limit = arch_get_mmap_base(addr, current->mm->mmap_base); in hugetlb_get_unmapped_area_topdown()
226 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
/linux-6.3-rc2/include/linux/
A Dmm_types.h562 unsigned long mmap_base; /* base of mmap area */ member
/linux-6.3-rc2/arch/sparc/mm/
A Dhugetlbpage.c74 info.high_limit = mm->mmap_base; in hugetlb_get_unmapped_area_topdown()

Completed in 52 milliseconds