Searched refs:dev_file_id (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/common_modules/tzdriver/core/ |
D | tc_client_driver.c | 135 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 …]
|
D | agent.h | 77 unsigned int dev_file_id); 125 unsigned int dev_file_id);
|
D | tz_spi_notify.c | 66 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()
|
D | session_manager.c | 123 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()
|
D | tc_client_driver.h | 32 struct tc_ns_dev_file *tc_find_dev_file(unsigned int dev_file_id);
|
D | tz_update_crl.c | 59 smc_cmd.dev_file_id = dev_file->dev_file_id; in send_crl_to_tee()
|
D | session_manager.h | 34 struct tc_ns_session *tc_find_session_by_uuid(unsigned int dev_file_id,
|
D | agent.c | 462 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()
|
D | gp_ops.c | 1080 smc_cmd->dev_file_id = call_params->dev->dev_file_id; in init_smc_cmd()
|
D | smc_smp.c | 462 g_cmd_data->in[cmd[idx]].dev_file_id, in show_single_cmd_info()
|
/kernel/linux/common_modules/tzdriver/agent_rpmb/core/ |
D | agent_rpmb.c | 142 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/ |
D | agent.h | 77 unsigned int dev_file_id); 125 unsigned int dev_file_id);
|
D | teek_ns_client.h | 99 unsigned int dev_file_id; member 167 unsigned int dev_file_id; member
|
/kernel/linux/common_modules/tzdriver/ion/ |
D | dynamic_ion_mem.c | 431 ret = load_app_use_configid(configid, params->dev_file->dev_file_id, in load_image_for_ion()
|