Home
last modified time | relevance | path

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

/Linux-v4.19/lib/zlib_deflate/
Ddeflate.c917 IPos hash_head = NIL; /* head of the hash chain */ in deflate_fast() local
938 INSERT_STRING(s, s->strstart, hash_head); in deflate_fast()
944 if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) { in deflate_fast()
950 s->match_length = longest_match (s, hash_head); in deflate_fast()
970 INSERT_STRING(s, s->strstart, hash_head); in deflate_fast()
1011 IPos hash_head = NIL; /* head of hash chain */ in deflate_slow() local
1033 INSERT_STRING(s, s->strstart, hash_head); in deflate_slow()
1041 if (hash_head != NIL && s->prev_length < s->max_lazy_match && in deflate_slow()
1042 s->strstart - hash_head <= MAX_DIST(s)) { in deflate_slow()
1048 s->match_length = longest_match (s, hash_head); in deflate_slow()
[all …]
/Linux-v4.19/kernel/locking/
Dlockdep.c653 struct hlist_head *hash_head; in look_up_lock_class() local
684 hash_head = classhashentry(key); in look_up_lock_class()
692 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in look_up_lock_class()
743 struct hlist_head *hash_head; in register_lock_class() local
760 hash_head = classhashentry(key); in register_lock_class()
769 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in register_lock_class()
800 hlist_add_head_rcu(&class->hash_entry, hash_head); in register_lock_class()
2164 struct hlist_head *hash_head = chainhashentry(chain_key); in add_chain_cache_classes() local
2213 hlist_add_head_rcu(&chain->entry, hash_head); in add_chain_cache_classes()
2232 struct hlist_head *hash_head = chainhashentry(chain_key); in add_chain_cache() local
[all …]