Lines Matching refs:mmap_changing
73 atomic_t mmap_changing; member
650 atomic_dec(&ctx->mmap_changing); in userfaultfd_event_wait_completion()
651 VM_BUG_ON(atomic_read(&ctx->mmap_changing) < 0); in userfaultfd_event_wait_completion()
696 atomic_set(&ctx->mmap_changing, 0); in dup_userfaultfd()
701 atomic_inc(&octx->mmap_changing); in dup_userfaultfd()
748 atomic_inc(&ctx->mmap_changing); in mremap_userfaultfd_prep()
793 atomic_inc(&ctx->mmap_changing); in userfaultfd_remove()
839 atomic_inc(&ctx->mmap_changing); in userfaultfd_unmap_prep()
1732 if (atomic_read(&ctx->mmap_changing)) in userfaultfd_copy()
1756 uffdio_copy.len, &ctx->mmap_changing, in userfaultfd_copy()
1789 if (atomic_read(&ctx->mmap_changing)) in userfaultfd_zeropage()
1809 &ctx->mmap_changing); in userfaultfd_zeropage()
1839 if (atomic_read(&ctx->mmap_changing)) in userfaultfd_writeprotect()
1866 &ctx->mmap_changing); in userfaultfd_writeprotect()
1893 if (atomic_read(&ctx->mmap_changing)) in userfaultfd_continue()
1919 &ctx->mmap_changing); in userfaultfd_continue()
2119 atomic_set(&ctx->mmap_changing, 0); in new_userfaultfd()