Lines Matching refs:octx
620 struct userfaultfd_ctx *ctx = NULL, *octx;
623 octx = vma->vm_userfaultfd_ctx.ctx;
624 if (!octx)
627 if (!(octx->features & UFFD_FEATURE_EVENT_FORK)) {
633 if (fctx->orig == octx) {
650 ctx->flags = octx->flags;
651 ctx->features = octx->features;
658 userfaultfd_ctx_get(octx);
659 down_write(&octx->map_changing_lock);
660 atomic_inc(&octx->mmap_changing);
661 up_write(&octx->map_changing_lock);
662 fctx->orig = octx;
710 struct userfaultfd_ctx *octx = fctx->orig;
713 atomic_dec(&octx->mmap_changing);
714 VM_BUG_ON(atomic_read(&octx->mmap_changing) < 0);
715 userfaultfd_ctx_put(octx);