Lines Matching refs:ptrs
30 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()
92 db->ptrs[handle] == INVALID_HANDLE_PTR) in handle_lookup()
95 return db->ptrs[handle]; in handle_lookup()
101 if (!db->ptrs[handle]) in handle_invalidate()
104 db->ptrs[handle] = INVALID_HANDLE_PTR; in handle_invalidate()
114 if (db->ptrs[n] == ptr) in handle_lookup_handle()