Lines Matching refs:l_ctx
925 struct nfs_lock_context *l_ctx = data; in nfs3_nlm_alloc_call() local
926 if (l_ctx && test_bit(NFS_CONTEXT_UNLOCK, &l_ctx->open_context->flags)) { in nfs3_nlm_alloc_call()
927 get_nfs_open_context(l_ctx->open_context); in nfs3_nlm_alloc_call()
928 nfs_get_lock_context(l_ctx->open_context); in nfs3_nlm_alloc_call()
934 struct nfs_lock_context *l_ctx = data; in nfs3_nlm_unlock_prepare() local
935 if (l_ctx && test_bit(NFS_CONTEXT_UNLOCK, &l_ctx->open_context->flags)) in nfs3_nlm_unlock_prepare()
936 return nfs_async_iocounter_wait(task, l_ctx); in nfs3_nlm_unlock_prepare()
943 struct nfs_lock_context *l_ctx = data; in nfs3_nlm_release_call() local
945 if (l_ctx && test_bit(NFS_CONTEXT_UNLOCK, &l_ctx->open_context->flags)) { in nfs3_nlm_release_call()
946 ctx = l_ctx->open_context; in nfs3_nlm_release_call()
947 nfs_put_lock_context(l_ctx); in nfs3_nlm_release_call()
962 struct nfs_lock_context *l_ctx = NULL; in nfs3_proc_lock() local
967 l_ctx = nfs_get_lock_context(ctx); in nfs3_proc_lock()
968 if (IS_ERR(l_ctx)) in nfs3_proc_lock()
969 l_ctx = NULL; in nfs3_proc_lock()
974 status = nlmclnt_proc(NFS_SERVER(inode)->nlm_host, cmd, fl, l_ctx); in nfs3_proc_lock()
976 if (l_ctx) in nfs3_proc_lock()
977 nfs_put_lock_context(l_ctx); in nfs3_proc_lock()