Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/kernel/locking/
Dlockdep.c483 struct hlist_head *hash_head; in save_trace() local
509 hash_head = stack_trace_hash + (hash & (STACK_TRACE_HASH_SIZE - 1)); in save_trace()
510 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace()
515 hlist_add_head(&trace->hash_entry, hash_head); in save_trace()
795 struct hlist_head *hash_head; in look_up_lock_class() local
826 hash_head = classhashentry(key); in look_up_lock_class()
834 hlist_for_each_entry_rcu(class, hash_head, hash_entry) { in look_up_lock_class()
1116 struct hlist_head *hash_head; in lockdep_register_key() local
1122 hash_head = keyhashentry(key); in lockdep_register_key()
1127 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in lockdep_register_key()
[all …]