| /u-boot/arch/arm/mach-imx/ |
| A D | imx_bootaux.c | 31 const struct rproc_att *mmap = imx_bootaux_get_hostmap(); in get_host_mapping() local 33 while (mmap && mmap->size) { in get_host_mapping() 34 if (mmap->da <= auxcore && in get_host_mapping() 35 mmap->da + mmap->size > auxcore) in get_host_mapping() 36 return mmap; in get_host_mapping() 37 mmap++; in get_host_mapping() 60 const struct rproc_att *mmap = get_host_mapping(phdr->p_paddr); in load_elf_image_m_core_phdr() local 66 if (!mmap) { in load_elf_image_m_core_phdr() 72 dst = (void *)(ulong)(phdr->p_paddr - mmap->da) + mmap->sa; in load_elf_image_m_core_phdr()
|
| /u-boot/tools/ |
| A D | prelink-riscv.c | 94 mmap(0, st.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
|
| A D | fit_common.c | 89 ptr = mmap(0, sbuf->st_size, in mmap_fdt()
|
| A D | mkimage.c | 429 ptr = mmap(0, params.file_size, PROT_READ, MAP_SHARED, ifd, 0); in verify_image() 578 ptr = mmap(0, size, PROT_READ, MAP_SHARED, ifd, 0); in main() 775 ptr = mmap(0, map_len, PROT_READ | PROT_WRITE, MAP_SHARED, ifd, 0); in main() 861 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in copy_file()
|
| A D | dumpimage.c | 166 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, ifd, 0); in main()
|
| A D | imx8image.c | 338 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in copy_file_aligned() 398 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in copy_file() 465 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in read_dcd_offset()
|
| A D | aisimage.c | 240 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in ais_copy_image()
|
| A D | mips-relocs.c | 225 elf = mmap(NULL, st.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
|
| A D | rkcommon.c | 643 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in copy_file()
|
| A D | imx8mimage.c | 270 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in copy_file()
|
| A D | imximage.c | 581 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, ifd, 0); in copy_plugin_code()
|
| /u-boot/common/ |
| A D | dlmalloc.src | 320 mmap-based options are not currently supported in WIN32. 763 service using mmap. This parameter exists because: 766 use by mmap. 1346 /* check for mmap()'ed chunk */ 1560 /* The maximum via either sbrk or mmap */ 1792 /* Routines dealing with mmap(). */ 1817 p = (mchunkptr)mmap(0, size, PROT_READ|PROT_WRITE, 2079 system supports mmap, and there are few enough currently 2080 allocated mmapped regions, and a call to mmap succeeds, 3103 fprintf(stderr, "max mmap regions = %10u\n", [all …]
|
| A D | dlmalloc.c | 1006 p = (mchunkptr)mmap(0, size, PROT_READ|PROT_WRITE, 1014 p = (mchunkptr)mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
|
| /u-boot/arch/sandbox/cpu/ |
| A D | os.c | 239 ptr = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, ifd, 0); in os_map_file() 373 hdr = mmap((void *)0x10000000, length + page_size, in os_malloc()
|
| /u-boot/doc/arch/sandbox/ |
| A D | sandbox.rst | 499 pool via mmap(). U-Boot's internal malloc() and free() work on this memory pool.
|