/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_mmap.py | 6 mmap = import_module('mmap') variable 8 PAGESIZE = mmap.PAGESIZE 33 m = mmap.mmap(f.fileno(), 2 * PAGESIZE) 124 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_READ) 179 m = mmap.mmap(f.fileno(), mapsize+1) 201 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_WRITE) 217 m = mmap.mmap(f.fileno(), mapsize, access=mmap.ACCESS_COPY) 232 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize, access=4) 238 self.assertRaises(ValueError, mmap.mmap, f.fileno(), mapsize, 239 flags=mmap.MAP_PRIVATE, [all …]
|
D | win_console_handler.py | 14 import mmap 44 m = mmap.mmap(-1, 1, sys.argv[1])
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/ |
D | arm_bl1_fwu.c | 51 bl1_mem_info_t *mmap; in bl1_plat_mem_check() local 66 mmap = fwu_addr_map_secure; in bl1_plat_mem_check() 68 mmap = fwu_addr_map_non_secure; in bl1_plat_mem_check() 70 while (mmap[index].mem_size) { in bl1_plat_mem_check() 71 if ((mem_base >= mmap[index].mem_base) && in bl1_plat_mem_check() 73 <= (mmap[index].mem_base + in bl1_plat_mem_check() 74 mmap[index].mem_size))) in bl1_plat_mem_check()
|
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/ |
D | uniphier_xlat_setup.c | 18 const struct mmap_region *mmap) in uniphier_mmap_setup() argument 55 if (mmap) in uniphier_mmap_setup() 56 mmap_add(mmap); in uniphier_mmap_setup()
|
D | uniphier.h | 55 const struct mmap_region *mmap);
|
/device/linaro/bootloader/arm-trusted-firmware/lib/xlat_tables/ |
D | xlat_tables_common.c | 49 static mmap_region_t mmap[MAX_MMAP_REGIONS + 1]; variable 56 mmap_region_t *mm = mmap; in print_mmap() 70 mmap_region_t *mm = mmap; in mmap_add_region() 71 mmap_region_t *mm_last = mm + ARRAY_SIZE(mmap) - 1; in mmap_add_region() 93 for (mm = mmap; mm->size; ++mm) { in mmap_add_region() 133 mm = mmap; /* Restore pointer to the start of the array */ in mmap_add_region() 385 init_xlation_table_inner(mmap, base_va, table, level); in init_xlation_table()
|
/device/google/cuttlefish_common/guest/vsoc/lib/ |
D | managed_region_e2e_test.cpp | 65 void* mapped_ptr = mmap(NULL, perm.end_offset - perm.begin_offset, in testManagedRegionMap() 76 mapped_ptr = mmap(NULL, end_offset - begin_offset, PROT_WRITE | PROT_READ, in testManagedRegionMap() 90 mapped_ptr = mmap(NULL, end_offset - begin_offset, PROT_WRITE | PROT_READ, in testManagedRegionMap()
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/xlat_tables/ |
D | xlat_tables_v2_helpers.h | 60 struct mmap_region *mmap; member 149 .mmap = _ctx_name##_mmap, \
|
/device/linaro/bootloader/arm-trusted-firmware/lib/xlat_tables_v2/ |
D | xlat_tables_private.h | 63 void print_mmap(mmap_region_t *const mmap);
|
D | xlat_tables_internal.c | 611 void print_mmap(mmap_region_t *const mmap) in print_mmap() argument 615 mmap_region_t *mm = mmap; in print_mmap() 668 if (ctx->mmap[ctx->mmap_num - 1].size != 0) in mmap_add_region_check() 672 for (mmap_region_t *mm_cursor = ctx->mmap; in mmap_add_region_check() 737 mmap_region_t *mm_cursor = ctx->mmap; in mmap_add_region_ctx() 835 mmap_region_t *mm_cursor = ctx->mmap; in mmap_add_dynamic_region_ctx() 951 mmap_region_t *mm = ctx->mmap; in mmap_remove_dynamic_region_ctx() 993 mm = ctx->mmap; in mmap_remove_dynamic_region_ctx() 1003 mm = ctx->mmap; in mmap_remove_dynamic_region_ctx() 1233 mmap_region_t *mm = ctx->mmap; in init_xlat_tables_ctx()
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-fio.c | 171 …XF_CHK_ERR((ipc->shmem = mmap(NULL, XF_CFG_REMOTE_IPC_POOL_SIZE, PROT_READ | PROT_WRITE, MAP_SHARE… in xf_ipc_open() 173 …XF_CHK_ERR((ipc->shmem = mmap(NULL, xf_cfg_remote_ipc_pool_size, PROT_READ | PROT_WRITE, MAP_SHARE… in xf_ipc_open()
|
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/ |
D | region_registry.cpp | 167 return mmap(addr, length, prot, flags, fd, offset); in recycle_mmap() 173 if (addr != mmap(addr, length, PROT_READ|PROT_WRITE, in recycle_munmap()
|
/device/linaro/bootloader/arm-trusted-firmware/docs/ |
D | xlat-tables-lib-v2-design.rst | 60 `mmap` regions 74 The user usually provides a list of such mmap regions to map and lets the 139 * The maximum number of `mmap` regions to map. 167 - number of `mmap` regions: ``MAX_MMAP_REGIONS``; 181 When dynamic memory mapping is enabled, the library categorises mmap regions as 246 #. Initialize translation tables based on the list of mmap regions (using one of 302 From mmap regions to translation tables 311 The mmap regions list is a conceptual way to represent the memory layout. At 316 mmap regions list. Adding a static or dynamic region at this point through one 318 they only get registered in the internal mmap region list. It is only when the [all …]
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | goldfish_address_space.cpp | 97 void *GoldfishAddressSpaceBlock::mmap(uint64_t opaque) in mmap() function in GoldfishAddressSpaceBlock 217 void *GoldfishAddressSpaceBlock::mmap(uint64_t host_addr) in mmap() function in GoldfishAddressSpaceBlock 397 void *GoldfishAddressSpaceBlock::mmap(uint64_t host_addr) in mmap() function in GoldfishAddressSpaceBlock
|
D | goldfish_address_space.h | 66 void *mmap(uint64_t opaque);
|
D | goldfish_dma.cpp | 87 void *mapped = mmap(0, cxt->size, PROT_WRITE, MAP_SHARED, cxt->fd, 0); in goldfish_dma_map()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | configure | 417 return mmap((caddr_t)0, (off_t)0, PROT_READ, MAP_SHARED, 0, (off_t)0); 422 echo Checking for mmap support... Yes. 424 echo Checking for mmap support... No.
|
/device/linaro/hikey/gralloc960/ |
D | gralloc_buffer_priv.cpp | 76 hnd->attr_base = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_attr_fd, 0); in gralloc_buffer_attr_allocate()
|
D | gralloc_buffer_priv.h | 86 hnd->attr_base = mmap(NULL, PAGE_SIZE, prot_flags, MAP_SHARED, hnd->share_attr_fd, 0); in gralloc_buffer_attr_map()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
D | Host.c | 353 res = mmap ((void *)base, length, prot, flags, fd, 0); in MapMemory() 446 res = mmap ( in MapFd0() 461 res = mmap ( in MapFd0() 477 res2 = mmap ( in MapFd0() 499 res3 = mmap ( in MapFd0()
|
/device/generic/goldfish/gralloc/ |
D | mapper.cpp | 44 void* mappedAddress = mmap(0, size, in gralloc_map()
|
/device/google/cuttlefish_common/guest/hals/gralloc/ |
D | mapper.cpp | 79 mmap(NULL, hnd->size, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->fd, 0); in reference_buffer()
|
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_ionbuf.c | 91 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE, in buffer_allocate()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/ |
D | extensions_win32.ini | 37 [mmap] section 38 dsp=%PYTHONPREFIX%\PCBuild\mmap.dsp argument
|
/device/google/marlin/camera/QCamera2/HAL3/ |
D | QCamera3Mem.cpp | 580 void *vaddr = mmap(NULL, in allocate() 638 void *vaddr = mmap(NULL, in allocateOne() 835 vaddr = mmap(NULL, in registerBuffer()
|