/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | iso.c | 2072 .mmap = sock_no_mmap,
|
H A D | l2cap_sock.c | 1887 .mmap = sock_no_mmap,
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | protocol.c | 1136 .mmap = sock_no_mmap,
|
/kernel/linux/linux-6.6/net/xdp/ |
H A D | xsk.c | 1601 .mmap = xsk_mmap,
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_sample_user.c | 1232 sample_mmap[i] = mmap(NULL, size, PROT_READ | PROT_WRITE, in sample_setup_maps_mappings()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_ladspa.c | 1079 .mmap = snd_pcm_generic_mmap,
|
H A D | pcm_multi.c | 1020 .mmap = snd_pcm_multi_mmap, 1142 pcm->mmap_shadow = 1; /* has own mmap method */ in snd_pcm_multi_open()
|
H A D | pcm_rate.c | 1350 .mmap = snd_pcm_generic_mmap,
|
H A D | pcm_share.c | 1333 .mmap = snd_pcm_share_mmap,
|
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_dev.c | 80 .mmap = NULL,
|
/third_party/NuttX/fs/tmpfs/ |
H A D | fs_tmpfs.c | 175 .mmap = OsVfsFileMmap,
|
/third_party/lz4/tests/ |
H A D | fuzzer.c | 43 # include <sys/mman.h> /* mmap */ 55 # include <sys/mman.h> /* mmap */ 270 void* const lowBuff = mmap((void*)(0x1000), size, in FUZ_createLowAddr()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_bufmgr.c | 1578 /* On discrete memory platforms, we cannot control the mmap caching mode in iris_bo_gem_mmap_offset() 1579 * at mmap time. Instead, it's fixed when the object is created (this in iris_bo_gem_mmap_offset() 1595 /* Only integrated platforms get to select a mmap caching mode here */ in iris_bo_gem_mmap_offset() 1615 void *map = mmap(0, bo->size, PROT_READ | PROT_WRITE, MAP_SHARED, in iris_bo_gem_mmap_offset()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_renderer_virtgpu.c | 746 void *ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, gpu->fd, in virtgpu_ioctl_map()
|
/third_party/rust/crates/libc/src/vxworks/ |
H A D | mod.rs | 1211 pub fn mmap( in mmap() functions
|
/third_party/rust/crates/libc/src/unix/ |
H A D | mod.rs | 995 link_name = "mmap$UNIX2003" 997 pub fn mmap( in mmap() functions
|
/third_party/python/Objects/ |
H A D | obmalloc.c | 152 ptr = mmap(NULL, size, PROT_READ|PROT_WRITE, in _PyObject_ArenaMmap() 947 * current process (obtained through a malloc()/mmap() call). In no way this 954 * Arenas are allocated with mmap() on systems supporting anonymous memory
|
/kernel/linux/linux-5.10/net/packet/ |
H A D | af_packet.c | 4582 .mmap = sock_no_mmap, 4604 .mmap = packet_mmap,
|
/kernel/linux/linux-6.6/net/packet/ |
H A D | af_packet.c | 4634 .mmap = sock_no_mmap, 4655 .mmap = packet_mmap,
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | libbpf.c | 1533 mmaped = mmap(NULL, new_sz, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0); in bpf_map_mmap_resize() 1604 /* Internal BPF map is mmap()'able only if at least one of corresponding 1677 map->mmaped = mmap(NULL, mmap_sz, PROT_READ | PROT_WRITE, in bpf_object__init_internal_map() 4927 "ARRAY map mmap()", probe_kern_array_mmap, 12313 void *base; /* mmap()'ed memory */ 12401 cpu_buf->base = mmap(NULL, pb->mmap_size + pb->page_size, in perf_buffer__open_cpu_buf() 12407 pr_warn("failed to mmap perf buffer on cpu #%d: %s\n", in perf_buffer__open_cpu_buf() 13139 /* Remap anonymous mmap()-ed "map initialization image" as in bpf_object__load_skeleton() 13140 * a BPF map-backed mmap()-ed memory, but preserving the same in bpf_object__load_skeleton() 13149 *mmaped = mmap(ma in bpf_object__load_skeleton() [all...] |
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
H A D | scsimain.c | 3893 /* do normal IO to find RB size (not dio or mmap-ed at this stage) */ in do_scsi_read_buffer() 3946 rbBuff = mmap(NULL, buf_size, PROT_READ, MAP_SHARED, sg_fd, 0); in do_scsi_read_buffer() 3949 printf(ME "mmap() out of memory, try a smaller " in do_scsi_read_buffer() 3953 perror(ME "error using mmap()"); in do_scsi_read_buffer() 3956 } else { /* non mmap-ed IO */ in do_scsi_read_buffer() 6346 wrkMmap = mmap(NULL, in_res_sz, PROT_READ | PROT_WRITE, in do_scsi_sgm_read_write() 6350 ME "error using mmap() on file: %s", inf); in do_scsi_sgm_read_write() 6409 mmap(NULL, out_res_sz, in do_scsi_sgm_read_write() 6415 "error using mmap() on file: %s", in do_scsi_sgm_read_write()
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | lite_graph_to_hdi_model_v2_1.cpp | 1780 LOGE("Tensor GetData failed, mmap pointer should not be nullptr");
in Copy_MindIR_Tensor_Data_To_HDIBuffer() 1845 static_cast<uint8_t *>(mmap(nullptr, buffer.bufferSize, PROT_READ | PROT_WRITE, MAP_SHARED, buffer.fd, 0));
in LiteGraph_To_HDIModel() 1847 LOGE("MindIR_LiteGraph_To_Model v2_1 failed, mmap failed.");
in LiteGraph_To_HDIModel()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 1788 /* mmap so to ram and write so file to temp path */ in ExtractSoFilesToTmpHapPath() 1849 /* mmap so file to ram and write to innerTmpSoPath */ in ExtractSoFilesToTmpSoPath() 1879 /* mmap hap or so file to ram */ in DecryptSoFile() 1902 void *addr = mmap(NULL, innerFileSize, PROT_READ, MAP_PRIVATE, fd, offset); in DecryptSoFile() 1904 LOG_E(BMS_TAG_INSTALLD, "mmap hap file status faield errno:%{public}d", errno); in DecryptSoFile()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_decoder.cpp | 211 void* ptr = ::mmap(nullptr, count, PROT_READ | PROT_WRITE, MAP_SHARED, *fd, ZERO);
in ShareMemAlloc() 214 IMAGE_LOGE("::mmap failed");
in ShareMemAlloc()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | atmel_mxt_ts.c | 2267 .mmap = vb2_fop_mmap,
|