/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | mmap.c | 65 static inline unsigned long mmap_base(unsigned long rnd, in mmap_base() function 123 info.low_limit = mm->mmap_base; in radix__arch_get_unmapped_area() 168 info.high_limit = mm->mmap_base + (high_limit - DEFAULT_MAP_WINDOW); in radix__arch_get_unmapped_area_topdown() 190 mm->mmap_base = TASK_UNMAPPED_BASE; in radix__arch_pick_mmap_layout() 193 mm->mmap_base = mmap_base(random_factor, rlim_stack); in radix__arch_pick_mmap_layout() 222 mm->mmap_base = TASK_UNMAPPED_BASE; in arch_pick_mmap_layout() 225 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout()
|
D | slice.c | 339 addr = mm->mmap_base; in slice_find_area_topdown()
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | mmap.c | 48 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()
|
D | hugetlbpage.c | 276 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_bottomup() 294 info.high_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | mmap.c | 82 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()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | mmap.c | 73 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()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | mmap.c | 81 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()
|
/kernel/linux/linux-5.10/drivers/hsi/clients/ |
D | cmt_speech.c | 44 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(csdata->mmap_base); in cs_char_vma_fault() 1302 cs_char_data.mmap_base = p; in cs_char_open() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | util.c | 376 static unsigned long mmap_base(unsigned long rnd, struct rlimit *rlim_stack) in mmap_base() function 405 mm->mmap_base = TASK_UNMAPPED_BASE + random_factor; in arch_pick_mmap_layout() 408 mm->mmap_base = mmap_base(random_factor, rlim_stack); in arch_pick_mmap_layout() 415 mm->mmap_base = TASK_UNMAPPED_BASE; in arch_pick_mmap_layout()
|
D | debug.c | 253 mm->mmap_base, mm->mmap_legacy_base, mm->highest_vm_end, in dump_mm()
|
D | mmap.c | 2214 info.low_limit = mm->mmap_base; in arch_get_unmapped_area() 2257 info.high_limit = arch_get_mmap_base(addr, mm->mmap_base); in arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | sys_parisc.c | 181 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown() 245 mm->mmap_base = mmap_upper_limit(rlim_stack); in arch_pick_mmap_layout() 248 mm->mmap_base = mm->mmap_legacy_base; in arch_pick_mmap_layout()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-ti-qspi.c | 46 void __iomem *mmap_base; member 646 memcpy_fromio(op->data.buf.in, qspi->mmap_base + from, in ti_qspi_exec_mem_op() 884 qspi->mmap_base = devm_ioremap_resource(&pdev->dev, res_mmap); in ti_qspi_probe() 885 if (IS_ERR(qspi->mmap_base)) { in ti_qspi_probe() 888 PTR_ERR(qspi->mmap_base)); in ti_qspi_probe() 889 qspi->mmap_base = NULL; in ti_qspi_probe()
|
/kernel/linux/linux-5.10/arch/csky/abiv1/ |
D | mmap.c | 66 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
|
/kernel/linux/linux-5.10/arch/nds32/mm/ |
D | mmap.c | 68 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
|
/kernel/linux/linux-5.10/arch/arc/mm/ |
D | mmap.c | 71 info.low_limit = mm->mmap_base; in arch_get_unmapped_area()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | sys_sparc_64.c | 195 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()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | radix_hugetlbpage.c | 86 info.high_limit = mm->mmap_base + (high_limit - DEFAULT_MAP_WINDOW); in radix__hugetlb_get_unmapped_area()
|
D | slb.c | 393 if (!is_kernel_addr(mm->mmap_base)) { in slb_setup_new_exec() 394 if (preload_add(ti, mm->mmap_base)) in slb_setup_new_exec() 395 slb_allocate_user(mm, mm->mmap_base); in slb_setup_new_exec()
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
D | mmap.c | 124 info.high_limit = mm->mmap_base; in arch_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/fs/ |
D | aio.c | 123 unsigned long mmap_base; member 344 ctx->user_id = ctx->mmap_base = vma->vm_start; in aio_ring_mremap() 529 ctx->mmap_base = do_mmap(ctx->aio_ring_file, 0, ctx->mmap_size, in aio_setup_ring() 533 if (IS_ERR((void *)ctx->mmap_base)) { in aio_setup_ring() 539 pr_debug("mmap address: 0x%08lx\n", ctx->mmap_base); in aio_setup_ring() 541 ctx->user_id = ctx->mmap_base; in aio_setup_ring() 800 vm_munmap(ctx->mmap_base, ctx->mmap_size); in ioctx_alloc() 846 vm_munmap(ctx->mmap_base, ctx->mmap_size); in kill_ioctx()
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | vdso.c | 96 unsigned long start = current->mm->mmap_base, end, offset, addr; in vdso_random_addr()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mm_types.h | 418 unsigned long mmap_base; /* base of mmap area */ member
|
/kernel/linux/linux-5.10/fs/hugetlbfs/ |
D | inode.c | 208 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_bottomup() 225 info.high_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown() 239 info.low_limit = current->mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
D | hugetlbpage.c | 74 info.high_limit = mm->mmap_base; in hugetlb_get_unmapped_area_topdown()
|