Home
last modified time | relevance | path

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

/linux/arch/s390/mm/
H A Dmmap.c48 static inline unsigned long mmap_base(unsigned long rnd, in mmap_base() function
106 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
145 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
186 mm->mmap_base = mmap_base_legacy(random_factor); in arch_pick_mmap_layout()
189 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
H A Dhugetlbpage.c254 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_bottomup()
271 info.high_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
/linux/arch/x86/mm/
H 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/arch/riscv/include/asm/
H A Dprocessor.h37 unsigned long mmap_base; \
43 mmap_base = (_base); \
45 mmap_base = (_addr + len) - rnd_gap; \
46 mmap_base; \
/linux/arch/arm/mm/
H A Dmmap.c72 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
124 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
138 info.low_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
/linux/arch/mips/mm/
H A Dmmap.c81 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common()
95 info.low_limit = mm->mmap_base; in arch_get_unmapped_area_common()
/linux/arch/loongarch/mm/
H A Dmmap.c72 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common()
86 info.low_limit = mm->mmap_base; in arch_get_unmapped_area_common()
/linux/drivers/hsi/clients/
H 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/mm/
H A Dutil.c432 static unsigned long mmap_base(unsigned long rnd, struct rlimit *rlim_stack) in mmap_base() function
471 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
474 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
481 mm->mmap_base = TASK_UNMAPPED_BASE; in arch_pick_mmap_layout()
H A Ddebug.c201 mm->mmap_base, mm->mmap_legacy_base, in dump_mm()
H A Dmmap.c1744 info.low_limit = mm->mmap_base; in generic_get_unmapped_area()
1793 info.high_limit = arch_get_mmap_base(addr, mm->mmap_base); in generic_get_unmapped_area_topdown()
/linux/drivers/spi/
H A Dspi-ti-qspi.c45 void __iomem *mmap_base; member
647 memcpy_fromio(op->data.buf.in, qspi->mmap_base + from, in ti_qspi_exec_mem_op()
886 qspi->mmap_base = devm_ioremap_resource(&pdev->dev, res_mmap); in ti_qspi_probe()
887 if (IS_ERR(qspi->mmap_base)) { in ti_qspi_probe()
890 PTR_ERR(qspi->mmap_base)); in ti_qspi_probe()
891 qspi->mmap_base = NULL; in ti_qspi_probe()
/linux/arch/csky/abiv1/
H A Dmmap.c33 .low_limit = mm->mmap_base, in arch_get_unmapped_area()
/linux/arch/arc/mm/
H A Dmmap.c55 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
/linux/arch/parisc/kernel/
H A Dvdso.c76 map_base = mm->mmap_base; in arch_setup_additional_pages()
H A Dsys_parisc.c150 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_common()
164 info.low_limit = mm->mmap_base; in arch_get_unmapped_area_common()
/linux/arch/powerpc/mm/book3s64/
H A Dslb.c370 if (!is_kernel_addr(mm->mmap_base)) { in slb_setup_new_exec()
371 if (preload_add(ti, mm->mmap_base)) in slb_setup_new_exec()
372 slb_allocate_user(mm, mm->mmap_base); in slb_setup_new_exec()
H A Dslice.c383 return slice_find_area_topdown(mm, mm->mmap_base, len, mask, psize, high_limit); in slice_find_area()
385 return slice_find_area_bottomup(mm, mm->mmap_base, len, mask, psize, high_limit); in slice_find_area()
/linux/arch/sparc/kernel/
H A Dsys_sparc_64.c194 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
290 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
301 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
/linux/fs/
H A Daio.c122 unsigned long mmap_base; member
373 ctx->user_id = ctx->mmap_base = vma->vm_start; in aio_ring_mremap()
561 ctx->mmap_base = do_mmap(ctx->aio_ring_file, 0, ctx->mmap_size, in aio_setup_ring()
565 if (IS_ERR((void *)ctx->mmap_base)) { in aio_setup_ring()
571 pr_debug("mmap address: 0x%08lx\n", ctx->mmap_base); in aio_setup_ring()
573 ctx->user_id = ctx->mmap_base; in aio_setup_ring()
840 vm_munmap(ctx->mmap_base, ctx->mmap_size); in ioctx_alloc()
886 vm_munmap(ctx->mmap_base, ctx->mmap_size); in kill_ioctx()
/linux/arch/sh/mm/
H A Dmmap.c143 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
/linux/fs/hugetlbfs/
H A Dinode.c182 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_bottomup()
198 info.high_limit = arch_get_mmap_base(addr, current->mm->mmap_base); in hugetlb_get_unmapped_area_topdown()
211 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
/linux/arch/sparc/mm/
H A Dhugetlbpage.c72 info.high_limit = mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
/linux/include/linux/
H A Dmm_types.h782 unsigned long mmap_base; /* base of mmap area */ member