Searched refs:hash_ptr (Results 1 – 1 of 1) sorted by relevance
229 static struct metapage *search_hash(struct metapage ** hash_ptr, in search_hash() argument235 for (ptr = *hash_ptr; ptr; ptr = ptr->hash_next) { in search_hash()243 static void add_to_hash(struct metapage * mp, struct metapage ** hash_ptr) in add_to_hash() argument245 if (*hash_ptr) in add_to_hash()246 (*hash_ptr)->hash_prev = mp; in add_to_hash()249 mp->hash_next = *hash_ptr; in add_to_hash()250 *hash_ptr = mp; in add_to_hash()253 static void remove_from_hash(struct metapage * mp, struct metapage ** hash_ptr) in remove_from_hash() argument258 assert(*hash_ptr == mp); in remove_from_hash()259 *hash_ptr = mp->hash_next; in remove_from_hash()[all …]