Home
last modified time | relevance | path

Searched refs:dev_file_id (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/common_modules/tzdriver/core/
Dtc_client_driver.c135 static bool alloc_dev_file_id(unsigned int *dev_file_id) in alloc_dev_file_id() argument
140 if (dev_file_id == NULL || g_dev_bit_map == NULL) { in alloc_dev_file_id()
153 *dev_file_id = (unsigned int)pos; in alloc_dev_file_id()
154 tlogd("alloc dev file id = %u", *dev_file_id); in alloc_dev_file_id()
159 static void free_dev_file_id(unsigned int dev_file_id) in free_dev_file_id() argument
168 if (dev_file_id >= DEV_FILE_ID_MAX) { in free_dev_file_id()
175 bitmap_release_region(g_dev_bit_map, dev_file_id, 0); in free_dev_file_id()
176 tlogd("clear dev file id %u\n", dev_file_id); in free_dev_file_id()
227 smc_cmd.dev_file_id = dev_file->dev_file_id; in tc_ns_get_tee_version()
456 if (!alloc_dev_file_id(&(dev->dev_file_id))) { in tc_ns_client_open()
[all …]
Dagent.h77 unsigned int dev_file_id);
125 unsigned int dev_file_id);
Dtz_spi_notify.c66 unsigned int dev_file_id; member
234 temp_dev_file->dev_file_id, in find_notify_sess()
235 tc_notify_data_timer->dev_file_id); in find_notify_sess()
236 if (temp_dev_file->dev_file_id == in find_notify_sess()
237 tc_notify_data_timer->dev_file_id) { in find_notify_sess()
Dsession_manager.c123 tlogd("add service %u to %u\n", i, dev->dev_file_id); in add_service_to_dev()
178 i, dev->dev_file_id); in del_service_from_dev()
222 struct tc_ns_session *tc_find_session_by_uuid(unsigned int dev_file_id, in tc_find_session_by_uuid() argument
234 dev_file = tc_find_dev_file(dev_file_id); in tc_find_session_by_uuid()
294 smc_cmd.dev_file_id = file_id; in tc_ns_need_load_image()
352 ret = tc_ns_need_load_image(dev_file->dev_file_id, ioctl_arg.uuid, (unsigned int)UUID_LEN); in tc_ns_load_secfile()
782 smc_cmd.dev_file_id = params->dev_file->dev_file_id; in load_image_by_frame()
924 ret = tc_ns_need_load_image(dev_file->dev_file_id, context->uuid, (unsigned int)UUID_LEN); in load_ta_image()
1209 dev, "close_fn_%6d", dev->dev_file_id); in close_unclosed_session_in_kthread()
Dtc_client_driver.h32 struct tc_ns_dev_file *tc_find_dev_file(unsigned int dev_file_id);
Dtz_update_crl.c59 smc_cmd.dev_file_id = dev_file->dev_file_id; in send_crl_to_tee()
Dsession_manager.h34 struct tc_ns_session *tc_find_session_by_uuid(unsigned int dev_file_id,
Dagent.c462 set_tui_caller_info(smc_cmd->dev_file_id, current->pid); in init_agent_context()
1313 unsigned int dev_file_id) in tee_agent_clear_work() argument
1320 context, dev_file_id); in tee_agent_clear_work()
Dgp_ops.c1080 smc_cmd->dev_file_id = call_params->dev->dev_file_id; in init_smc_cmd()
Dsmc_smp.c462 g_cmd_data->in[cmd[idx]].dev_file_id, in show_single_cmd_info()
/kernel/linux/common_modules/tzdriver/agent_rpmb/core/
Dagent_rpmb.c142 lock_info.dev_id = event_data->cmd.dev_file_id; in process_rpmb_lock()
303 struct tc_ns_client_context *context, unsigned int dev_file_id) in rpmb_agent_crash_work() argument
307 tlogd("check free lock or not, dev_id=%d\n", dev_file_id); in rpmb_agent_crash_work()
308 if (lock_info.lock_need_free && (lock_info.dev_id == dev_file_id)) { in rpmb_agent_crash_work()
/kernel/linux/common_modules/tzdriver/
Dagent.h77 unsigned int dev_file_id);
125 unsigned int dev_file_id);
Dteek_ns_client.h99 unsigned int dev_file_id; member
167 unsigned int dev_file_id; member
/kernel/linux/common_modules/tzdriver/ion/
Ddynamic_ion_mem.c431 ret = load_app_use_configid(configid, params->dev_file->dev_file_id, in load_image_for_ion()