Searched refs:vm_ops (Results 1 - 25 of 157) sorted by relevance

1234567

/linux-master/fs/coda/
H A Dfile.c37 struct vm_operations_struct vm_ops; member in struct:coda_vm_ops
126 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops);
138 container_of(vma->vm_ops, struct coda_vm_ops, vm_ops);
144 vma->vm_ops = cvm_ops->host_vm_ops;
212 cvm_ops->host_vm_ops = vma->vm_ops;
213 if (vma->vm_ops)
214 cvm_ops->vm_ops = *vma->vm_ops;
[all...]
/linux-master/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-master/fs/kernfs/
H A Dfile.c357 if (!of->vm_ops)
363 if (of->vm_ops->open)
364 of->vm_ops->open(vma);
375 if (!of->vm_ops)
382 if (of->vm_ops->fault)
383 ret = of->vm_ops->fault(vmf);
395 if (!of->vm_ops)
402 if (of->vm_ops->page_mkwrite)
403 ret = of->vm_ops->page_mkwrite(vmf);
418 if (!of->vm_ops)
[all...]
/linux-master/include/linux/
H A Dagp_backend.h56 const struct vm_operations_struct *vm_ops; member in struct:agp_kern_info
/linux-master/ipc/
H A Dshm.c88 const struct vm_operations_struct *vm_ops; member in struct:shm_file_data
309 if (sfd->vm_ops->open)
310 sfd->vm_ops->open(vma);
402 if (sfd->vm_ops->close)
403 sfd->vm_ops->close(vma);
540 return sfd->vm_ops->fault(vmf);
548 if (sfd->vm_ops->may_split)
549 return sfd->vm_ops->may_split(vma, addr);
559 if (sfd->vm_ops->pagesize)
560 return sfd->vm_ops
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ttm_glue.c96 vma->vm_ops = &vmw_vm_ops;
/linux-master/drivers/pci/
H A Dmmap.c47 vma->vm_ops = &pci_phys_vm_ops;
/linux-master/drivers/gpu/drm/xen/
H A Dxen_drm_front_gem.c65 vma->vm_ops = gem_obj->funcs->vm_ops;
110 .vm_ops = &xen_drm_drv_vm_ops,
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_drm_gem.c19 static const struct vm_operations_struct vm_ops = { variable in typeref:struct:vm_operations_struct
30 .vm_ops = &vm_ops,
/linux-master/arch/x86/kernel/cpu/sgx/
H A Dencl.h95 if (!result || result->vm_ops != &sgx_vm_ops)
H A Ddriver.c97 vma->vm_ops = &sgx_vm_ops;
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_mmap.c105 vma->vm_ops = &rxe_vm_ops;
/linux-master/fs/nilfs2/
H A Dfile.c131 vma->vm_ops = &nilfs_file_vm_ops;
/linux-master/mm/
H A Dsecretmem.c134 vma->vm_ops = &secretmem_vm_ops;
141 return vma->vm_ops == &secretmem_vm_ops;
H A Dmmap.c140 if (vma->vm_ops && vma->vm_ops->close)
141 vma->vm_ops->close(vma);
736 if (may_remove_vma && vma->vm_ops && vma->vm_ops->close)
962 * for vm_ops->close, but we are removing curr
964 if (curr->vm_ops && curr->vm_ops->close)
1061 * there is a vm_ops->close() function, because that indicates that the
1421 * taken when vm_ops
1469 vm_ops_needs_writenotify(const struct vm_operations_struct *vm_ops) argument
[all...]
H A Dmremap.c679 if (vma->vm_ops && vma->vm_ops->may_split) {
681 err = vma->vm_ops->may_split(vma, old_addr);
683 err = vma->vm_ops->may_split(vma, old_addr + old_len);
719 } else if (vma->vm_ops && vma->vm_ops->mremap) {
720 err = vma->vm_ops->mremap(new_vma);
H A Dmemory.c533 vma->vm_ops ? vma->vm_ops->fault : NULL,
590 if (vma->vm_ops && vma->vm_ops->find_special_page)
591 return vma->vm_ops->find_special_page(vma, addr);
2387 * This function should only be called from a vm_ops->fault handler, and
3091 ret = vmf->vma->vm_ops->page_mkwrite(vmf);
3119 bool page_mkwrite = vma->vm_ops && vma->vm_ops->page_mkwrite;
3196 * vm_ops tha
[all...]
H A Dmprotect.c803 if (vma->vm_ops && vma->vm_ops->mprotect) {
804 error = vma->vm_ops->mprotect(vma, nstart, tmp, newflags);
H A Dnommu.c601 if (vma->vm_ops && vma->vm_ops->close)
602 vma->vm_ops->close(vma);
1351 if (new->vm_ops && new->vm_ops->open)
1352 new->vm_ops->open(new);
/linux-master/fs/ocfs2/
H A Dmmap.c174 vma->vm_ops = &ocfs2_file_vm_ops;
/linux-master/drivers/xen/
H A Dprivcmd-buf.c160 vma->vm_ops = &privcmd_buf_vm_ops;
/linux-master/drivers/infiniband/sw/rdmavt/
H A Dmmap.c97 vma->vm_ops = &rvt_vm_ops;
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_bo_vm.c468 * Drivers may want to override the vm_ops field. Otherwise we
471 if (!vma->vm_ops)
472 vma->vm_ops = &ttm_bo_vm_ops;
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_mman.c975 vma->vm_ops = obj->ops->mmap_ops;
986 vma->vm_ops = &vm_ops_cpu;
994 vma->vm_ops = &vm_ops_cpu;
1000 vma->vm_ops = &vm_ops_cpu;
1006 vma->vm_ops = &vm_ops_gtt;
1090 * When we install vm_ops for mmap we are too late for
1091 * the vm_ops->open() which increases the ref_count of
1092 * this obj and then it gets decreased by the vm_ops->close().
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem.c528 static const struct vm_operations_struct vm_ops = { variable in typeref:struct:vm_operations_struct
541 .vm_ops = &vm_ops,

Completed in 407 milliseconds

1234567