/third_party/alsa-lib/src/pcm/ |
H A D | pcm_ioplug.c | 921 .mmap = snd_pcm_ioplug_mmap, 996 mmap_rw specifies whether the plugin behaves in the pseudo mmap mode. 1196 * \brief Reinitialize the poll and mmap status 1200 * Reinitializes the poll and the mmap status of the PCM. 1217 * \brief Get mmap area of ioplug 1219 * \return the mmap channel areas if available, or NULL 1221 * Returns the mmap channel areas if available. When mmap_rw field is not set,
|
H A D | pcm_plug.c | 780 return 0; /* OK, we have mmap support */ in check_access_change() 782 /* no mmap support - we need mmap emulation */ in check_access_change() 1127 .mmap = snd_pcm_generic_mmap,
|
H A D | pcm_route.c | 923 .mmap = snd_pcm_generic_mmap,
|
H A D | pcm_softvol.c | 431 * TODO: mmap support? 889 .mmap = snd_pcm_generic_mmap,
|
H A D | pcm_file.c | 839 .mmap = snd_pcm_generic_mmap,
|
/third_party/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 1343 void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | cdcacm.c | 238 .mmap = NULL,
|
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
H A D | usbd_generic_ep0.c | 1158 .mmap = generic_ep0_handle_mmap,
|
/third_party/alsa-lib/aserver/ |
H A D | aserver.c | 473 return shm_ack_fd(client, ctrl->u.channel_info.u.mmap.fd); in pcm_shm_cmd()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_drm.c | 356 void *map = mmap(0, bo->size, PROT_READ | PROT_WRITE, MAP_SHARED, in tu_bo_map()
|
/third_party/node/deps/googletest/src/ |
H A D | gtest-death-test.cc | 1309 void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_viewer.cpp | 162 file->map = (uint8_t *) mmap(NULL, sb.st_size, in aub_file_open() 165 fprintf(stderr, "mmap failed: %s\n", strerror(errno)); in aub_file_open()
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_wayland.c | 1121 void *ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in wsi_wl_alloc_image_shm()
|
/third_party/mesa3d/src/gtest/src/ |
H A D | gtest-death-test.cc | 1369 void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
H A D | TestUtil.h | 653 // AssembledTest is a wrapper around a PROT_EXEC mmap'ed buffer. This buffer 713 ExecutableData = mmap(nullptr, Size, PROT_WRITE | PROT_READ | PROT_EXEC,
|
/third_party/python/Modules/ |
H A D | mmapmodule.c | 6 / Modified to support mmap with offset - to map a 'window' of a file 234 PyErr_SetString(PyExc_ValueError, "mmap closed or invalid"); \ 241 PyErr_SetString(PyExc_ValueError, "mmap closed or invalid"); \ 252 PyErr_SetString(PyExc_ValueError, "mmap closed or invalid"); \ 259 PyErr_SetString(PyExc_ValueError, "mmap closed or invalid"); \ 388 PyErr_Format(PyExc_TypeError, "mmap can't modify a readonly memory map."); in is_writable() 397 "mmap can't resize with extant buffers exported."); in is_resizeable() 403 "mmap can't resize a readonly or copy-on-write memory map."); in is_resizeable() 627 "mmap: resizing not available--no mremap()"); in mmap_resize_method() 928 /* Functions for treating an mmap'e [all...] |
/third_party/selinux/libselinux/src/ |
H A D | label_file.c | 135 addr = mmap(NULL, len, PROT_READ, MAP_PRIVATE, fileno(fp), 0); in load_mmap() 138 perror("mmap"); in load_mmap() 142 /* save where we mmap'd the file to cleanup on close() */ in load_mmap() 241 * map indexed by the stem # in the mmap file and contains the stem in load_mmap() 370 /* map the stem id from the mmap file to the data->stem_arr */ in load_mmap()
|
/third_party/python/Lib/test/ |
H A D | test_os.py | 62 import mmap namespace 64 mmap = None variable 2515 @unittest.skipIf(mmap is None, "requires mmap") 2518 m = mmap.mmap(-1, 1, tagname)
|
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/ |
H A D | inner_model_test.cpp | 1009 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F() 1039 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F() 3155 uint8_t *mmapPtr = static_cast<uint8_t *>(mmap(nullptr, in HWTEST_F()
|
/third_party/glfw/src/ |
H A D | wl_window.c | 72 * CLOEXEC. The file is immediately suitable for mmap()'ing 87 * receive SIGBUS on accessing mmap()'ed file contents instead. 160 void* data = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in createShmBuffer() 1654 mapStr = mmap(NULL, size, PROT_READ, MAP_SHARED, fd, 0); in keyboardHandleKeymap()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | doio.c | 74 #include <sys/mman.h> /* for mmap(2) */ 95 #define MEM_MMAP 4 /* mmap(2) */ 2887 * mmap read/write in sy_mmrw() 2916 mrc = mmap(NULL, (int)sbuf.st_size, in sy_mmrw() 2921 doio_fprintf(stderr, "mmap() failed - 0x%lx %d\n", in sy_mmrw() 3042 {"mmap-read", MMAPR, 3045 {"mmap-write", MMAPW, 4030 /*printf("alloc_mem, about to mmap, fd=%d, name=(%s)\n", M->fd, M->name);*/ in alloc_mem() 4031 if ((M->space = mmap(addr, M->size, in alloc_mem() 4036 "alloc_mem: mmap erro in alloc_mem() [all...] |
/device/soc/rockchip/common/sdk_linux/net/bluetooth/ |
H A D | l2cap_sock.c | 1935 .mmap = sock_no_mmap,
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_vinstr.c | 183 .mmap = kbasep_vinstr_hwcnt_reader_mmap,
1548 * kbasep_vinstr_hwcnt_reader_mmap - hwcnt reader's mmap
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | capture.c | 1112 .mmap = vb2_fop_mmap,
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_vinstr.c | 206 .mmap = kbasep_vinstr_hwcnt_reader_mmap, 1648 * kbasep_vinstr_hwcnt_reader_mmap - hwcnt reader's mmap
|