Home
last modified time | relevance | path

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

/linux-6.6.21/arch/riscv/include/asm/
Dprocessor.h37 unsigned long mmap_base; \
42 mmap_base = (_base); \
44 mmap_base = VA_USER_SV57 - rnd_gap; \
46 mmap_base = VA_USER_SV48 - rnd_gap; \
48 mmap_base = VA_USER_SV39 - rnd_gap; \
49 mmap_base; \
/linux-6.6.21/arch/s390/mm/
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()
Dhugetlbpage.c265 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_bottomup()
283 info.high_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
/linux-6.6.21/arch/x86/mm/
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.6.21/arch/arm/mm/
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.6.21/arch/mips/mm/
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.6.21/arch/loongarch/mm/
Dmmap.c71 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-6.6.21/drivers/hsi/clients/
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.6.21/mm/
Dutil.c415 static unsigned long mmap_base(unsigned long rnd, struct rlimit *rlim_stack) in mmap_base() function
454 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout()
457 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
464 mm->mmap_base = TASK_UNMAPPED_BASE; in arch_pick_mmap_layout()
Ddebug.c196 mm->mmap_base, mm->mmap_legacy_base, in dump_mm()
Dmmap.c1717 info.low_limit = mm->mmap_base; in generic_get_unmapped_area()
1768 info.high_limit = arch_get_mmap_base(addr, mm->mmap_base); in generic_get_unmapped_area_topdown()
/linux-6.6.21/drivers/spi/
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-6.6.21/arch/csky/abiv1/
Dmmap.c66 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
/linux-6.6.21/arch/arc/mm/
Dmmap.c71 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
/linux-6.6.21/arch/parisc/kernel/
Dvdso.c76 map_base = mm->mmap_base; in arch_setup_additional_pages()
Dsys_parisc.c149 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-6.6.21/arch/sparc/kernel/
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.6.21/arch/powerpc/mm/book3s64/
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()
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.6.21/fs/
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()
834 vm_munmap(ctx->mmap_base, ctx->mmap_size); in ioctx_alloc()
880 vm_munmap(ctx->mmap_base, ctx->mmap_size); in kill_ioctx()
/linux-6.6.21/arch/sh/mm/
Dmmap.c144 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
/linux-6.6.21/fs/hugetlbfs/
Dinode.c206 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_bottomup()
223 info.high_limit = arch_get_mmap_base(addr, current->mm->mmap_base); in hugetlb_get_unmapped_area_topdown()
237 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
/linux-6.6.21/arch/sparc/mm/
Dhugetlbpage.c74 info.high_limit = mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
/linux-6.6.21/include/linux/
Dmm_types.h696 unsigned long mmap_base; /* base of mmap area */ member