Lines Matching refs:max_ptrs
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()
96 if (!db || handle < 0 || (size_t)handle >= db->max_ptrs) in handle_lookup()