Lines Matching refs:l_ctx
929 static void nfs_init_lock_context(struct nfs_lock_context *l_ctx)
931 refcount_set(&l_ctx->count, 1);
932 l_ctx->lockowner = current->files;
933 INIT_LIST_HEAD(&l_ctx->list);
934 atomic_set(&l_ctx->io_count, 0);
982 void nfs_put_lock_context(struct nfs_lock_context *l_ctx)
984 struct nfs_open_context *ctx = l_ctx->open_context;
987 if (!refcount_dec_and_lock(&l_ctx->count, &inode->i_lock))
989 list_del_rcu(&l_ctx->list);
992 kfree_rcu(l_ctx, rcu_head);