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

/linux-master/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-master/arch/x86/mm/
H A Dmmap.c82 static unsigned long mmap_base(unsigned long rnd, unsigned long task_size, function
126 *base = mmap_base(random_factor, task_size, rlim_stack);
136 arch_pick_mmap_base(&mm->mmap_base, &mm->mmap_legacy_base,
145 * mmap_base, the compat syscall uses mmap_compat_base.
163 return is_legacy ? mm->mmap_legacy_base : mm->mmap_base;
/linux-master/arch/s390/mm/
H A Dmmap.c48 static inline unsigned long mmap_base(unsigned long rnd, function
107 info.low_limit = mm->mmap_base;
146 info.high_limit = mm->mmap_base;
187 mm->mmap_base = mmap_base_legacy(random_factor);
190 mm->mmap_base = mmap_base(random_factor, rlim_stack);
H A Dhugetlbpage.c265 info.low_limit = current->mm->mmap_base;
283 info.high_limit = current->mm->mmap_base;
/linux-master/arch/arm/mm/
H A Dmmap.c73 info.low_limit = mm->mmap_base;
125 info.high_limit = mm->mmap_base;
139 info.low_limit = mm->mmap_base;
/linux-master/arch/mips/mm/
H A Dmmap.c81 info.high_limit = mm->mmap_base;
96 info.low_limit = mm->mmap_base;
/linux-master/arch/loongarch/mm/
H A Dmmap.c72 info.high_limit = mm->mmap_base;
87 info.low_limit = mm->mmap_base;
/linux-master/arch/csky/abiv1/
H A Dmmap.c66 info.low_limit = mm->mmap_base;
/linux-master/arch/arc/mm/
H A Dmmap.c56 info.low_limit = mm->mmap_base;
/linux-master/drivers/hsi/clients/
H A Dcmt_speech.c44 unsigned long mmap_base; member in struct:cs_char
91 unsigned long mmap_base; member in struct:cs_hsi_iface
622 address = (u32 *)(hi->mmap_base +
667 sg_init_one(rxmsg->sgt.sgl, (void *)hi->mmap_base, 0);
717 address = (u32 *)(hi->mmap_base + hi->tx_offsets[hi->tx_slot]);
985 unsigned long mmap_base, unsigned long mmap_size)
999 hsi_if->mmap_cfg = (struct cs_mmap_config_block *)mmap_base;
1000 hsi_if->mmap_base = mmap_base;
1092 page = virt_to_page((void *)csdata->mmap_base);
984 cs_hsi_start(struct cs_hsi_iface **hi, struct hsi_client *cl, unsigned long mmap_base, unsigned long mmap_size) argument
[all...]
/linux-master/arch/parisc/kernel/
H A Dvdso.c76 map_base = mm->mmap_base;
H A Dsys_parisc.c149 info.high_limit = mm->mmap_base;
164 info.low_limit = mm->mmap_base;
/linux-master/mm/
H A Dutil.c432 static unsigned long mmap_base(unsigned long rnd, struct rlimit *rlim_stack) function
438 * task. mmap_base starts directly below the stack and grows
471 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor;
474 mm->mmap_base = mmap_base(random_factor, rlim_stack);
481 mm->mmap_base = TASK_UNMAPPED_BASE;
H A Ddebug.c186 "mmap_base %lu mmap_legacy_base %lu\n"
214 mm->mmap_base, mm->mmap_legacy_base,
H A Dmmap.c1728 info.low_limit = mm->mmap_base;
1779 info.high_limit = arch_get_mmap_base(addr, mm->mmap_base);
/linux-master/arch/sh/mm/
H A Dmmap.c144 info.high_limit = mm->mmap_base;
/linux-master/drivers/spi/
H A Dspi-ti-qspi.c45 void __iomem *mmap_base; member in struct:ti_qspi
647 memcpy_fromio(op->data.buf.in, qspi->mmap_base + from,
886 qspi->mmap_base = devm_ioremap_resource(&pdev->dev, res_mmap);
887 if (IS_ERR(qspi->mmap_base)) {
890 PTR_ERR(qspi->mmap_base));
891 qspi->mmap_base = NULL;
/linux-master/arch/sparc/kernel/
H A Dsys_sparc_64.c195 info.high_limit = mm->mmap_base;
294 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor;
305 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor);
/linux-master/arch/powerpc/mm/book3s64/
H A Dslb.c370 if (!is_kernel_addr(mm->mmap_base)) {
371 if (preload_add(ti, mm->mmap_base))
372 slb_allocate_user(mm, mm->mmap_base);
H A Dslice.c338 * Add the different to the mmap_base.
385 return slice_find_area_topdown(mm, mm->mmap_base, len, mask, psize, high_limit);
387 return slice_find_area_bottomup(mm, mm->mmap_base, len, mask, psize, high_limit);
/linux-master/fs/
H A Daio.c122 unsigned long mmap_base; member in struct:kioctx
372 ctx->user_id = ctx->mmap_base = vma->vm_start;
558 ctx->mmap_base = do_mmap(ctx->aio_ring_file, 0, ctx->mmap_size,
562 if (IS_ERR((void *)ctx->mmap_base)) {
568 pr_debug("mmap address: 0x%08lx\n", ctx->mmap_base);
570 ctx->user_id = ctx->mmap_base;
837 vm_munmap(ctx->mmap_base, ctx->mmap_size);
883 vm_munmap(ctx->mmap_base, ctx->mmap_size);
/linux-master/arch/sparc/mm/
H A Dhugetlbpage.c74 info.high_limit = mm->mmap_base;
/linux-master/fs/hugetlbfs/
H A Dinode.c183 info.low_limit = current->mm->mmap_base;
200 info.high_limit = arch_get_mmap_base(addr, current->mm->mmap_base);
214 info.low_limit = current->mm->mmap_base;
/linux-master/include/linux/
H A Dmm_types.h785 unsigned long mmap_base; /* base of mmap area */ member in struct:mm_struct::__anon1182

Completed in 428 milliseconds