down(&ctx->file->mutex); if (ctx->file != file) result = -EINVAL; else result = ib_cm_listen(ctx->cm_id, cmd.service_id, cmd.service_mask);  up(&ctx->file->mutex); ib_ucm_ctx_put(ctx); /* func reference */ 
result = ib_cm_listen(ctx->cm_id, cmd.service_id, cmd.service_mask); ib_ucm_ctx_put(ctx); 
static ssize_t ib_ucm_listen(struct ib_ucm_file *file,			     const char __user *inbuf,			     int in_len, int out_len){	struct ib_ucm_listen cmd;	struct ib_ucm_context *ctx;	int result;	if (copy_from_user(&cmd, inbuf, sizeof(cmd)))		return -EFAULT;	ctx = ib_ucm_ctx_get(cmd.id);	if (!ctx)		return -ENOENT; 	down(&ctx->file->mutex);	if (ctx->file != file)		result = -EINVAL;	else		result = ib_cm_listen(ctx->cm_id, cmd.service_id,				      cmd.service_mask);	up(&ctx->file->mutex);	ib_ucm_ctx_put(ctx); /* func reference */	return result;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b9ef520f9caf20aba8ac7cb2bbba45b52ff19d53/ucm.c/clean/drivers/infiniband/core/ucm.c