Home
last modified time | relevance | path

Searched refs:mmap (Results 451 - 475 of 535) sorted by relevance

1...<<11121314151617181920>>...22

/third_party/ltp/testcases/kernel/mem/mmapstress/
H A Dmmapstress10.c49 * all of whom mmap the same file, make a given number of accesses
380 * Fork off mmap children.
596 if ((maddr_mapper = mmap(0, mapsize_mapper, PROT_READ | PROT_WRITE,
600 perror("mmap error");
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_simulator.c180 sim_bo->gem_vaddr = mmap(NULL, obj->base.size, in vc4_create_simulator_bo()
184 fprintf(stderr, "mmap of bo %d (offset 0x%016llx, size %d) failed\n", in vc4_create_simulator_bo()
518 * We just pass this straight through to dumb mmap.
/third_party/toybox/toys/pending/
H A Dstrace.c359 } else if (strstart(&TT.fmt, "mmap|")) { in print_flags()
496 SC(mmap, "pz|prot||mmap|fx"); in print_enter()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp547 void* ptr = ::mmap(nullptr, bufferSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in AllocSharedMemory()
549 IMAGE_LOGE("mmap error, errno: %{public}s, fd %{public}d, bufferSize %{public}lld", in AllocSharedMemory()
1974 void *ptr = ::mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in WriteAshmemDataToParcel()
1980 IMAGE_LOGD("mmap success"); in WriteAshmemDataToParcel()
2064 void *ptr = ::mmap(nullptr, bufferSize, PROT_READ, MAP_SHARED, fd, 0); in ReadAshmemDataFromParcel()
2605 void* ptr = ::mmap(nullptr, pixelMemInfo.bufferSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in ReadMemInfoFromParcel()
2607 ptr = ::mmap(nullptr, pixelMemInfo.bufferSize, PROT_READ, MAP_SHARED, fd, 0); in ReadMemInfoFromParcel()
3915 void *ptr = ::mmap(nullptr, pixelsSize_, PROT_READ, MAP_SHARED, *fd, 0); in ReMap()
/third_party/node/deps/v8/tools/
H A Dgrokdump.py42 import mmap namespace
619 self.minidump = mmap.mmap(self.minidump_file.fileno(), 0)
622 self.minidump = mmap.mmap(self.minidump_file.fileno(), 0, mmap.MAP_PRIVATE)
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_wayland.c437 feedback->format_table.data = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0); in surface_dmabuf_feedback_format_table()
1815 dri2_dpy->format_table.data = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0); in default_dmabuf_feedback_format_table()
2297 data_map = mmap(NULL, size_map, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in dri2_wl_swrast_allocate_buffer()
/third_party/mksh/
H A DBuild.sh2149 ac_test mmap lock_fcntl 0 'for mmap and munmap' <<-'EOF'
2159 int main(void) { return ((void *)mmap(NULL, (size_t)0,
2164 ac_test ftruncate mmap 0 'for ftruncate' <<-'EOF'
/third_party/musl/ldso/
H A Ddynlink.c360 "mkstemps\0mmap\0nftw\0open\0openat\0posix_fadvise\0" in get_lfs64()
649 q = mmap(p, n, prot, flags|MAP_FIXED, fd, off); in mmap_fixed()
768 map = mmap(0, ph->p_memsz + (ph->p_vaddr & PAGE_SIZE-1), in map_library()
808 ? mmap((void *)addr_min, map_len, PROT_READ|PROT_WRITE|PROT_EXEC, in map_library()
810 : mmap((void *)addr_min, map_len, prot, in map_library()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/
H A Dfast_audio_renderer_sink.cpp392 bufferAddresss_ = (char *)mmap(nullptr, bufferSize_, PROT_READ | PROT_WRITE, MAP_SHARED, privFd_, 0); in PrepareMmapBuffer()
394 "mmap buffer failed!"); in PrepareMmapBuffer()
791 *transactionId = 6; // 6 is the mmap device. in GetTransactionId()
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Doh_audio_buffer.cpp97 void *addr = mmap(nullptr, size_, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, 0); in Init()
252 CHECK_AND_RETURN_RET_LOG(statusInfoMem_ != nullptr, ERR_OPERATION_FAILED, "BasicBufferInfo mmap failed."); in Init()
261 CHECK_AND_RETURN_RET_LOG(dataMem_ != nullptr, ERR_OPERATION_FAILED, "dataMem_ mmap failed."); in Init()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dmy_xcomponent.cpp154 // 使用系统mmap接口拿到bufferHandle的内存虚拟地址 in InitScreenCanvas()
156 mmap(bufferHandle_->virAddr, bufferHandle_->size, PROT_READ | PROT_WRITE, MAP_SHARED, bufferHandle_->fd, 0)); in InitScreenCanvas()
158 DRAWING_LOGE("mmap failed"); in InitScreenCanvas()
/third_party/alsa-lib/src/pcm/
H A Dpcm_dshare.c604 .mmap = snd_pcm_direct_mmap,
H A Dpcm_local.h138 } mmap; member
154 int (*mmap)(snd_pcm_t *pcm); member
239 unsigned int mmap_shadow: 1; /* don't call actual mmap,
/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Dfat.c712 /* Attempt to mmap() first */ in _readfat()
714 fat->fatbuf = mmap(NULL, fat->fatsize, in _readfat()
724 * Unfortunately, we were unable to mmap(). in _readfat()
/third_party/ltp/include/
H A Dtst_safe_macros.h270 rval = mmap(addr, length, prot, flags, fd, offset); in safe_mmap()
273 "mmap(%p,%zu,%d,%d,%d,%ld) failed", in safe_mmap()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen_svga.c227 void *area = mmap(NULL, area_size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED | MAP_NORESERVE, -1, 0); in vmw_svga_winsys_add_stats()
230 fprintf(stderr, "%s could not mmap memory: %s\n", __FUNCTION__, strerror(errno)); in vmw_svga_winsys_add_stats()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8632/
H A DTestUtil.h541 // AssembledTest is a wrapper around a PROT_EXEC mmap'ed buffer. This buffer
583 ExecutableData = mmap(nullptr, Size, PROT_WRITE | PROT_READ | PROT_EXEC,
/third_party/toybox/lib/
H A Dxwrap.c63 void *ret = mmap(addr, length, prot, flags, fd, off); in xmmap()
64 if (ret == MAP_FAILED) perror_exit("mmap"); in xmmap()
/third_party/libuv/src/unix/
H A Dlinux.c583 sq = mmap(0, in uv__iou_init()
590 sqe = mmap(0, in uv__iou_init()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_allocator.c77 * to grow it as necessary. We mmap the new size and then create a gem bo for
79 * our allocation fast-path, there isn't really a way to munmap the old mmap,
212 map = mmap(NULL, size, PROT_READ | PROT_WRITE, in anv_state_table_expand_range()
216 "mmap failed: %m"); in anv_state_table_expand_range()
532 void *map = mmap(NULL, size, PROT_READ | PROT_WRITE, in anv_block_pool_expand_range()
537 "mmap failed: %m"); in anv_block_pool_expand_range()
1815 return vk_errorf(device, VK_ERROR_MEMORY_MAP_FAILED, "mmap failed: %m"); in anv_device_map_bo()
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/
H A Dapi.js[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/
H A Dinner_model_test.cpp948 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F()
978 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F()
3094 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F()
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_manager/
H A Ddevice_manager_test.cpp91 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F()
121 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F()
2237 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F()
/third_party/ffmpeg/libswscale/
H A Dutils.c1768 c->lumMmxextFilterCode = mmap(NULL, c->lumMmxextFilterCodeSize, in sws_init_context()
1772 c->chrMmxextFilterCode = mmap(NULL, c->chrMmxextFilterCodeSize, in sws_init_context()
/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/src/
H A Dpng_decoder.cpp234 void* ptr = ::mmap(nullptr, byteCount, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in AllocBufferForShareType()

Completed in 69 milliseconds

1...<<11121314151617181920>>...22