Home
last modified time | relevance | path

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

/kernel/linux/common_modules/tzdriver/tlogger/
Dlog_pages_cfg.c47 struct pages_module_result g_mem_info = {0}; variable
51 if (g_mem_info.log_addr != 0 || g_mem_info.log_len != 0) { in tee_pages_register_core()
52 if (memset_s((void *)g_mem_info.log_addr, g_mem_info.log_len, 0, g_mem_info.log_len) != 0) { in tee_pages_register_core()
59 g_mem_info.log_addr = get_log_mem_vaddr(); in tee_pages_register_core()
60 if (IS_ERR_OR_NULL((void *)(uintptr_t)g_mem_info.log_addr)) { in tee_pages_register_core()
64 g_mem_info.log_len = PAGES_LOG_MEM_LEN; in tee_pages_register_core()
84 mem_addr = get_log_mem_paddr(g_mem_info.log_addr); in register_log_mem()
85 mem_len = g_mem_info.log_len; in register_log_mem()
91 *addr = g_mem_info.log_addr; in register_log_mem()
92 *len = g_mem_info.log_len; in register_log_mem()