Searched refs:mmap (Results 276 - 300 of 794) sorted by relevance

<<11121314151617181920>>

/linux-master/fs/ramfs/
H A Dfile-nommu.c41 .mmap = ramfs_nommu_mmap,
59 * size 0 on the assumption that it's going to be used for an mmap of shared
137 * shared mmap */
/linux-master/drivers/gpu/drm/imagination/
H A Dpvr_gem.c49 .mmap = pvr_gem_mmap,
/linux-master/tools/testing/selftests/bpf/
H A Dxsk.c187 map = mmap(NULL, off.fr.desc + umem->config.fill_size * sizeof(__u64),
201 map = mmap(NULL, off.cr.desc + umem->config.comp_size * sizeof(__u64),
625 rx_map = mmap(NULL, off.rx.desc +
646 tx_map = mmap(NULL, off.tx.desc +
/linux-master/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c187 .mmap = drm_gem_dmabuf_mmap,
/linux-master/drivers/gpu/drm/v3d/
H A Dv3d_bo.c64 .mmap = drm_gem_shmem_object_mmap,
/linux-master/tools/testing/selftests/mm/
H A DMakefile45 TEST_GEN_FILES += hugepage-mmap
H A Dthuge-gen.c2 /* Test selecting other page sizes for mmap/shmget.
115 map = mmap(NULL, size*NUM_PAGES, PROT_READ|PROT_WRITE,
118 ksft_exit_fail_msg("mmap: %s\n", strerror(errno));
125 "%s mmap\n", __func__);
163 "%s: mmap\n", __func__);
223 ksft_print_msg("Testing %luMB mmap with shift %x\n", ps >> 20, arg);
227 ksft_print_msg("Testing default huge mmap\n");
H A Dgup_test.c234 p = mmap(NULL, size, PROT_READ | PROT_WRITE, flags, filed, 0);
236 ksft_exit_fail_msg("mmap: %s\n", strerror(errno));
/linux-master/drivers/sbus/char/
H A Dflash.c2 /* flash.c: Allow mmap access to the OBP Flash, for OBP updates.
146 /* no write to the Flash, use mmap
152 .mmap = flash_mmap,
/linux-master/include/linux/
H A Dvfio_pci_core.h35 int (*mmap)(struct vfio_pci_core_device *vdev, member in struct:vfio_pci_regops
/linux-master/tools/testing/selftests/kvm/
H A Dguest_memfd_test.c43 mem = mmap(NULL, page_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
H A Dmax_guest_memory_test.c220 mem = mmap(NULL, slot_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
221 TEST_ASSERT(mem != MAP_FAILED, "mmap() failed");
/linux-master/mm/
H A DMakefile36 mlock.o mmap.o mmu_gather.o mprotect.o mremap.o \
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gem.c110 .mmap = drm_gem_ttm_mmap,
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dfile.c307 .mmap = spufs_mem_mmap,
377 * mmap support for problem state control area [0x4000 - 0x4fff].
457 .mmap = spufs_cntl_mmap,
1028 /* For 64k pages, both signal1 and signal2 can be used to mmap the whole
1058 .mmap = spufs_signal1_mmap,
1066 .mmap = spufs_signal1_mmap,
1164 /* For 64k pages, both signal1 and signal2 can be used to mmap the whole
1197 .mmap = spufs_signal2_mmap,
1205 .mmap = spufs_signal2_mmap,
1298 * mmap suppor
[all...]
/linux-master/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c1033 * When using THP mmap is not guaranteed to returned a hugepage aligned
1034 * address so we have to pad the mmap. Padding is not needed for HugeTLB
1035 * because mmap will always return an address aligned to the HugeTLB
1052 region->mmap_start = mmap(NULL, region->mmap_size,
1057 __KVM_SYSCALL_ERROR("mmap()", (int)(unsigned long)MAP_FAILED));
1128 region->mmap_alias = mmap(NULL, region->mmap_size,
1133 __KVM_SYSCALL_ERROR("mmap()", (int)(unsigned long)MAP_FAILED));
1335 TEST_ASSERT(vcpu_mmap_sz() >= sizeof(*vcpu->run), "vcpu mmap size "
1338 vcpu->run = (struct kvm_run *) mmap(NULL, vcpu_mmap_sz(),
1341 __KVM_SYSCALL_ERROR("mmap()", (in
[all...]
/linux-master/fs/smb/client/
H A Dcifsfs.c1538 .mmap = cifs_file_mmap,
1558 .mmap = cifs_file_strict_mmap,
1578 .mmap = cifs_file_mmap,
1596 .mmap = cifs_file_mmap,
1614 .mmap = cifs_file_strict_mmap,
1632 .mmap = cifs_file_mmap,
/linux-master/tools/testing/selftests/x86/
H A Dldt_gdt.c676 unsigned int *page = mmap(NULL, 4096, PROT_READ | PROT_WRITE,
679 err(1, "mmap");
698 low_user_desc = mmap(NULL, 2 * sizeof(struct user_desc),
702 err(1, "mmap");
/linux-master/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c235 ci0 = mmap(NULL, bufsize, PROT_WRITE | PROT_READ, MAP_SHARED,
237 ci1 = mmap(NULL, bufsize, PROT_WRITE | PROT_READ, MAP_SHARED,
242 perror("mmap failed");
/linux-master/sound/isa/msnd/
H A Dmsnd.c570 .mmap = snd_pcm_lib_mmap_iomem,
668 .mmap = snd_pcm_lib_mmap_iomem,
/linux-master/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c696 .mmap = dma_common_mmap,
710 .mmap = dma_common_mmap,
/linux-master/crypto/
H A Dalgif_aead.c367 .mmap = sock_no_mmap,
445 .mmap = sock_no_mmap,
/linux-master/net/phonet/
H A Dsocket.c443 .mmap = sock_no_mmap,
463 .mmap = sock_no_mmap,
/linux-master/drivers/accel/habanalabs/common/
H A Dcommand_buffer.c254 return cb->hdev->asic_funcs->mmap(cb->hdev, vma, cb->kernel_address,
263 .mmap = hl_cb_mmap,
/linux-master/drivers/char/
H A Dmem.c312 /* permit direct mmap, for read, write or exec */
540 * and pass NULL for file as in mmap.c's get_unmapped_area(),
638 .mmap = mmap_mem,
671 .mmap = mmap_zero,

Completed in 440 milliseconds

<<11121314151617181920>>