Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/jfs/
Djfs_metapage.c229 static struct metapage *search_hash(struct metapage ** hash_ptr, in search_hash() argument
235 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() argument
245 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() argument
258 assert(*hash_ptr == mp); in remove_from_hash()
259 *hash_ptr = mp->hash_next; in remove_from_hash()
[all …]