Home
last modified time | relevance | path

Searched refs:vm_ops (Results 1 – 25 of 72) sorted by relevance

123

/linux/fs/coda/
H A Dfile.c37 struct vm_operations_struct vm_ops; member
126 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_open()
138 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops); in coda_vm_close()
144 vma->vm_ops = cvm_ops->host_vm_ops; in coda_vm_close()
212 cvm_ops->host_vm_ops = vma->vm_ops; in coda_file_mmap()
213 if (vma->vm_ops) in coda_file_mmap()
214 cvm_ops->vm_ops = *vma->vm_ops; in coda_file_mmap()
216 cvm_ops->vm_ops.open = coda_vm_open; in coda_file_mmap()
217 cvm_ops->vm_ops.close = coda_vm_close; in coda_file_mmap()
221 vma->vm_ops = &cvm_ops->vm_ops; in coda_file_mmap()
/linux/tools/testing/vma/tests/
H A Dmerge.c273 const struct vm_operations_struct vm_ops = { in __test_merge_new()
328 vma_a->vm_ops = &vm_ops; /* This should have no impact. */ in __test_merge_new()
370 vma_d->vm_ops = &vm_ops; /* This should have no impact. */ in __test_merge_new()
391 vma_d->vm_ops = NULL; /* This would otherwise degrade the merge. */ in __test_merge_new()
576 const struct vm_operations_struct vm_ops = { in test_vma_merge_with_close()
583 * vm_ops->close() hook. in test_vma_merge_with_close()
597 * has a vm_ops->close() callback that will need to be called when in test_vma_merge_with_close()
608 * vm_ops in test_vma_merge_with_close()
260 const struct vm_operations_struct vm_ops = { __test_merge_new() local
551 const struct vm_operations_struct vm_ops = { test_vma_merge_with_close() local
762 const struct vm_operations_struct vm_ops = { test_vma_merge_new_with_close() local
818 const struct vm_operations_struct vm_ops = { __test_merge_existing() local
[all...]
/linux/mm/
H A Dvma_init.c49 dest->vm_ops = src->vm_ops; in vm_area_init_from()
H A Ddebug.c158 "prot %lx anon_vma %px vm_ops %px\n" in dump_vma()
166 vma->anon_vma, vma->vm_ops, vma_start_pgoff(vma), in dump_vma()
/linux/arch/hexagon/kernel/
H A DMakefile14 obj-y += vm_entry.o vm_events.o vm_switch.o vm_ops.o vm_init_segtable.o
/linux/include/linux/
H A Dagp_backend.h56 const struct vm_operations_struct *vm_ops; member
/linux/drivers/pci/
H A Dmmap.c47 vma->vm_ops = &pci_phys_vm_ops; in pci_mmap_resource_range()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c195 vma->vm_ops = &vb2_common_vm_ops; in vb2_vmalloc_mmap()
197 vma->vm_ops->open(vma); in vb2_vmalloc_mmap()
H A Dvideobuf2-dma-contig.c298 vma->vm_ops = &vb2_common_vm_ops; in vb2_dc_mmap()
300 vma->vm_ops->open(vma); in vb2_dc_mmap()
/linux/tools/testing/vma/include/
H A Ddup.h532 const struct vm_operations_struct *vm_ops;
593 const struct vm_operations_struct *vm_ops;
1230 vma->vm_ops = &vma_dummy_vm_ops;
1295 vma->vm_ops = NULL; in compat_set_desc_from_vma()
1317 desc->vm_ops = vma->vm_ops; in vfs_mmap_prepare()
1433 return !vma->vm_ops; in vma_set_page_prot()
541 const struct vm_operations_struct *vm_ops; global() member
601 const struct vm_operations_struct *vm_ops; global() member
/linux/drivers/xen/
H A Dprivcmd-buf.c161 vma->vm_ops = &privcmd_buf_vm_ops; in privcmd_buf_mmap()
/linux/drivers/char/agp/
H A Dalpha-agp.c187 alpha_bridge->vm_ops = &alpha_core_agp_vm_ops; in alpha_core_agp_setup()
H A Dagp.h128 const struct vm_operations_struct *vm_ops; member
/linux/drivers/accel/rocket/
H A Drocket_gem.c44 .vm_ops = &drm_gem_shmem_vm_ops,
/linux/drivers/misc/ocxl/
H A Dsysfs.c139 vma->vm_ops = &global_mmio_vmops; in global_mmio_mmap()
H A Dcontext.c209 vma->vm_ops = &ocxl_vmops; in ocxl_context_mmap()
/linux/rust/kernel/drm/gem/
H A Dshmem.rs146 vm_ops: unsafe { &raw const bindings::drm_gem_shmem_vm_ops }, in new()
H A Dmod.rs278 vm_ops: core::ptr::null_mut(), in new()
/linux/sound/usb/usx2y/
H A DusX2Yhwdep.c59 area->vm_ops = &us428ctls_vm_ops; in snd_us428ctls_mmap()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dfile.c299 vma->vm_ops = &spufs_mem_mmap_vmops; in spufs_mem_mmap()
389 vma->vm_ops = &spufs_cntl_mmap_vmops; in spufs_cntl_mmap()
1044 vma->vm_ops = &spufs_signal1_mmap_vmops; in spufs_signal1_mmap()
1178 vma->vm_ops = &spufs_signal2_mmap_vmops; in spufs_signal2_mmap()
1299 vma->vm_ops = &spufs_mss_mmap_vmops; in spufs_mss_mmap()
1360 vma->vm_ops = &spufs_psmap_mmap_vmops; in spufs_psmap_mmap()
1419 vma->vm_ops = &spufs_mfc_mmap_vmops; in spufs_mfc_mmap()
/linux/drivers/accel/amdxdna/
H A Damdxdna_gem.c472 vma->vm_ops = NULL; in amdxdna_insert_pages()
534 vma->vm_ops = &drm_gem_shmem_vm_ops; in amdxdna_gem_dmabuf_mmap()
552 vma->vm_ops->close(vma); in amdxdna_gem_dmabuf_mmap()
783 .vm_ops = &drm_gem_shmem_vm_ops,
/linux/drivers/gpu/drm/v3d/
H A Dv3d_bo.c75 .vm_ops = &drm_gem_shmem_vm_ops,
/linux/drivers/accel/habanalabs/common/
H A Dmemory_mgr.c279 vma->vm_ops = &hl_mmap_mem_buf_vm_ops; in hl_mem_mgr_mmap()
/linux/fs/ext4/
H A Dfile.c903 desc->vm_ops = &ext4_dax_vm_ops; in ext4_file_mmap_prepare()
906 desc->vm_ops = &ext4_file_vm_ops; in ext4_file_mmap_prepare()
/linux/io_uring/
H A Dmemmap.c437 vma->vm_ops = &io_uring_nommu_vm_ops; in io_uring_mmap()

123