ctxdata           103 drivers/tee/optee/call.c static struct optee_session *find_session(struct optee_context_data *ctxdata,
ctxdata           108 drivers/tee/optee/call.c 	list_for_each_entry(sess, &ctxdata->sess_list, list_node)
ctxdata           212 drivers/tee/optee/call.c 	struct optee_context_data *ctxdata = ctx->data;
ctxdata           257 drivers/tee/optee/call.c 		mutex_lock(&ctxdata->mutex);
ctxdata           258 drivers/tee/optee/call.c 		list_add(&sess->list_node, &ctxdata->sess_list);
ctxdata           259 drivers/tee/optee/call.c 		mutex_unlock(&ctxdata->mutex);
ctxdata           282 drivers/tee/optee/call.c 	struct optee_context_data *ctxdata = ctx->data;
ctxdata           289 drivers/tee/optee/call.c 	mutex_lock(&ctxdata->mutex);
ctxdata           290 drivers/tee/optee/call.c 	sess = find_session(ctxdata, session);
ctxdata           293 drivers/tee/optee/call.c 	mutex_unlock(&ctxdata->mutex);
ctxdata           313 drivers/tee/optee/call.c 	struct optee_context_data *ctxdata = ctx->data;
ctxdata           321 drivers/tee/optee/call.c 	mutex_lock(&ctxdata->mutex);
ctxdata           322 drivers/tee/optee/call.c 	sess = find_session(ctxdata, arg->session);
ctxdata           323 drivers/tee/optee/call.c 	mutex_unlock(&ctxdata->mutex);
ctxdata           358 drivers/tee/optee/call.c 	struct optee_context_data *ctxdata = ctx->data;
ctxdata           365 drivers/tee/optee/call.c 	mutex_lock(&ctxdata->mutex);
ctxdata           366 drivers/tee/optee/call.c 	sess = find_session(ctxdata, session);
ctxdata           367 drivers/tee/optee/call.c 	mutex_unlock(&ctxdata->mutex);
ctxdata           223 drivers/tee/optee/core.c 	struct optee_context_data *ctxdata;
ctxdata           227 drivers/tee/optee/core.c 	ctxdata = kzalloc(sizeof(*ctxdata), GFP_KERNEL);
ctxdata           228 drivers/tee/optee/core.c 	if (!ctxdata)
ctxdata           241 drivers/tee/optee/core.c 			kfree(ctxdata);
ctxdata           246 drivers/tee/optee/core.c 	mutex_init(&ctxdata->mutex);
ctxdata           247 drivers/tee/optee/core.c 	INIT_LIST_HEAD(&ctxdata->sess_list);
ctxdata           249 drivers/tee/optee/core.c 	ctx->data = ctxdata;
ctxdata           255 drivers/tee/optee/core.c 	struct optee_context_data *ctxdata = ctx->data;
ctxdata           264 drivers/tee/optee/core.c 	if (!ctxdata)
ctxdata           281 drivers/tee/optee/core.c 	list_for_each_entry_safe(sess, sess_tmp, &ctxdata->sess_list,
ctxdata           292 drivers/tee/optee/core.c 	kfree(ctxdata);