Lines Matching refs:VM_BUG_ON
158 VM_BUG_ON(spin_is_locked(&ctx->fault_pending_wqh.lock)); in userfaultfd_ctx_put()
159 VM_BUG_ON(waitqueue_active(&ctx->fault_pending_wqh)); in userfaultfd_ctx_put()
160 VM_BUG_ON(spin_is_locked(&ctx->fault_wqh.lock)); in userfaultfd_ctx_put()
161 VM_BUG_ON(waitqueue_active(&ctx->fault_wqh)); in userfaultfd_ctx_put()
162 VM_BUG_ON(spin_is_locked(&ctx->event_wqh.lock)); in userfaultfd_ctx_put()
163 VM_BUG_ON(waitqueue_active(&ctx->event_wqh)); in userfaultfd_ctx_put()
164 VM_BUG_ON(spin_is_locked(&ctx->fd_wqh.lock)); in userfaultfd_ctx_put()
165 VM_BUG_ON(waitqueue_active(&ctx->fd_wqh)); in userfaultfd_ctx_put()
228 VM_BUG_ON(!rwsem_is_locked(&mm->mmap_sem)); in userfaultfd_huge_must_wait()
280 VM_BUG_ON(!rwsem_is_locked(&mm->mmap_sem)); in userfaultfd_must_wait()
378 VM_BUG_ON(reason & ~(VM_UFFD_MISSING|VM_UFFD_WP)); in handle_userfault()
379 VM_BUG_ON(!(reason & VM_UFFD_MISSING) ^ !!(reason & VM_UFFD_WP)); in handle_userfault()
929 VM_BUG_ON(!spin_is_locked(&wqh->lock)); in find_userfault_in()
1647 VM_BUG_ON(!range.len); in userfaultfd_wake()