Lines Matching refs:vm_ops
87 const struct vm_operations_struct *vm_ops; member
308 if (sfd->vm_ops->open) in shm_open()
309 sfd->vm_ops->open(vma); in shm_open()
401 if (sfd->vm_ops->close) in shm_close()
402 sfd->vm_ops->close(vma); in shm_close()
539 return sfd->vm_ops->fault(vmf); in shm_fault()
547 if (sfd->vm_ops->may_split) in shm_may_split()
548 return sfd->vm_ops->may_split(vma, addr); in shm_may_split()
558 if (sfd->vm_ops->pagesize) in shm_pagesize()
559 return sfd->vm_ops->pagesize(vma); in shm_pagesize()
571 if (sfd->vm_ops->set_policy) in shm_set_policy()
572 err = sfd->vm_ops->set_policy(vma, new); in shm_set_policy()
583 if (sfd->vm_ops->get_policy) in shm_get_policy()
584 pol = sfd->vm_ops->get_policy(vma, addr); in shm_get_policy()
611 sfd->vm_ops = vma->vm_ops; in shm_mmap()
613 WARN_ON(!sfd->vm_ops->fault); in shm_mmap()
615 vma->vm_ops = &shm_vm_ops; in shm_mmap()
1644 sfd->vm_ops = NULL; in do_shmat()
1778 if ((vma->vm_ops == &shm_vm_ops) && in ksys_shmdt()
1811 if ((vma->vm_ops == &shm_vm_ops) && in ksys_shmdt()
1826 if (vma && vma->vm_start == addr && vma->vm_ops == &shm_vm_ops) { in ksys_shmdt()