Home
last modified time | relevance | path

Searched refs:mmap (Results 576 - 600 of 644) sorted by relevance

1...<<212223242526

/third_party/alsa-lib/src/pcm/
H A Dpcm_ioplug.c921 .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 Dpcm_plug.c780 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 Dpcm_route.c923 .mmap = snd_pcm_generic_mmap,
H A Dpcm_softvol.c431 * TODO: mmap support?
889 .mmap = snd_pcm_generic_mmap,
H A Dpcm_file.c839 .mmap = snd_pcm_generic_mmap,
/third_party/googletest/googletest/src/
H A Dgtest-death-test.cc1343 void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild()
/third_party/NuttX/drivers/usbdev/gadget/
H A Dcdcacm.c238 .mmap = NULL,
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
H A Dusbd_generic_ep0.c1158 .mmap = generic_ep0_handle_mmap,
/third_party/alsa-lib/aserver/
H A Daserver.c473 return shm_ack_fd(client, ctrl->u.channel_info.u.mmap.fd); in pcm_shm_cmd()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_drm.c356 void *map = mmap(0, bo->size, PROT_READ | PROT_WRITE, MAP_SHARED, in tu_bo_map()
/third_party/node/deps/googletest/src/
H A Dgtest-death-test.cc1309 void* const stack = mmap(nullptr, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild()
/third_party/mesa3d/src/intel/tools/
H A Daubinator_viewer.cpp162 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 Dwsi_common_wayland.c1121 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 Dgtest-death-test.cc1369 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 DTestUtil.h653 // 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 Dmmapmodule.c6 / 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 Dlabel_file.c135 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 Dtest_os.py62 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 Dinner_model_test.cpp1009 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 Dwl_window.c72 * 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 Ddoio.c74 #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 Dl2cap_sock.c1935 .mmap = sock_no_mmap,
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_vinstr.c183 .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 Dcapture.c1112 .mmap = vb2_fop_mmap,
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_vinstr.c206 .mmap = kbasep_vinstr_hwcnt_reader_mmap,
1648 * kbasep_vinstr_hwcnt_reader_mmap - hwcnt reader's mmap

Completed in 91 milliseconds

1...<<212223242526