Home
last modified time | relevance | path

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

/optee_os/core/kernel/
H A Dhandle.c25 if (db->ptrs[n]) in handle_db_destroy()
26 ptr_destructor(db->ptrs[n]); in handle_db_destroy()
28 free(db->ptrs); in handle_db_destroy()
29 db->ptrs = NULL; in handle_db_destroy()
40 if (db->ptrs[n]) in handle_db_is_empty()
58 if (!db->ptrs[n]) { in handle_get()
59 db->ptrs[n] = ptr; in handle_get()
69 p = realloc(db->ptrs, new_max_ptrs * sizeof(void *)); in handle_get()
72 db->ptrs = p; in handle_get()
73 memset(db->ptrs + db->max_ptrs, 0, in handle_get()
[all …]
/optee_os/ta/pkcs11/src/
H A Dhandle.c30 TEE_Free(db->ptrs); in handle_db_destroy()
31 db->ptrs = NULL; in handle_db_destroy()
47 if (!db->ptrs[n]) { in handle_get()
48 db->ptrs[n] = ptr; in handle_get()
59 p = TEE_Realloc(db->ptrs, new_max_ptrs * sizeof(void *)); in handle_get()
62 db->ptrs = p; in handle_get()
63 TEE_MemFill(db->ptrs + db->max_ptrs, 0, in handle_get()
68 db->ptrs[n] = ptr; in handle_get()
84 p = db->ptrs[handle]; in handle_put()
85 db->ptrs[handle] = NULL; in handle_put()
[all …]
H A Dhandle.h12 void **ptrs; member
/optee_os/core/mm/
H A Dboot_mem.c24 void **ptrs[64]; member
173 if (reloc->count == ARRAY_SIZE(reloc->ptrs)) { in boot_mem_add_reloc()
179 reloc->ptrs[reloc->count] = ptr; in boot_mem_add_reloc()
212 reloc->ptrs[n] = add_offs(reloc->ptrs[n], offs); in boot_mem_relocate()
213 *reloc->ptrs[n] = add_offs_or_null(*reloc->ptrs[n], in boot_mem_relocate()
/optee_os/core/include/kernel/
H A Dhandle.h13 void **ptrs; member