Lines Matching refs:vm_ops
87 const struct vm_operations_struct *vm_ops; member
526 return sfd->vm_ops->fault(vmf); in shm_fault()
534 if (sfd->vm_ops->split) in shm_split()
535 return sfd->vm_ops->split(vma, addr); in shm_split()
545 if (sfd->vm_ops->pagesize) in shm_pagesize()
546 return sfd->vm_ops->pagesize(vma); in shm_pagesize()
558 if (sfd->vm_ops->set_policy) in shm_set_policy()
559 err = sfd->vm_ops->set_policy(vma, new); in shm_set_policy()
570 if (sfd->vm_ops->get_policy) in shm_get_policy()
571 pol = sfd->vm_ops->get_policy(vma, addr); in shm_get_policy()
598 sfd->vm_ops = vma->vm_ops; in shm_mmap()
600 WARN_ON(!sfd->vm_ops->fault); in shm_mmap()
602 vma->vm_ops = &shm_vm_ops; in shm_mmap()
1634 sfd->vm_ops = NULL; in do_shmat()
1771 if ((vma->vm_ops == &shm_vm_ops) && in ksys_shmdt()
1806 if ((vma->vm_ops == &shm_vm_ops) && in ksys_shmdt()
1817 if (vma && vma->vm_start == addr && vma->vm_ops == &shm_vm_ops) { in ksys_shmdt()