Searched refs:max_ptrs (Results 1 – 4 of 4) sorted by relevance
24 for (n = 0; n < db->max_ptrs; n++) in handle_db_destroy()30 db->max_ptrs = 0; in handle_db_destroy()39 for (n = 0; n < db->max_ptrs; n++) { in handle_db_is_empty()57 for (n = 0; n < db->max_ptrs; n++) { in handle_get()65 if (db->max_ptrs) in handle_get()66 new_max_ptrs = db->max_ptrs * 2; in handle_get()73 memset(db->ptrs + db->max_ptrs, 0, in handle_get()74 (new_max_ptrs - db->max_ptrs) * sizeof(void *)); in handle_get()75 db->max_ptrs = new_max_ptrs; in handle_get()86 if (!db || handle < 0 || (size_t)handle >= db->max_ptrs) in handle_put()[all …]
32 db->max_ptrs = 0; in handle_db_destroy()46 for (n = 1; n < db->max_ptrs; n++) { in handle_get()54 if (db->max_ptrs) in handle_get()55 new_max_ptrs = db->max_ptrs * 2; in handle_get()63 TEE_MemFill(db->ptrs + db->max_ptrs, 0, in handle_get()64 (new_max_ptrs - db->max_ptrs) * sizeof(void *)); in handle_get()65 db->max_ptrs = new_max_ptrs; in handle_get()74 return db && handle && handle < db->max_ptrs; in handle_is_valid()113 for (n = 1; n < db->max_ptrs; n++) in handle_lookup_handle()
13 uint32_t max_ptrs; member
14 size_t max_ptrs; member