Searched refs:hash_head (Results 1 – 2 of 2) sorted by relevance
| /linux/scripts/include/ |
| H A D | hashtable.h | 16 #define hash_head(table, key) (&(table)[(key) % HASH_SIZE(table)]) macro 42 hlist_add_head(node, hash_head(table, key)) 84 hlist_for_each_entry(obj, hash_head(table, key), member) 96 hlist_for_each_entry_safe(obj, tmp, hash_head(table, key), member)
|
| /linux/kernel/locking/ |
| H A D | lockdep.c | 565 struct hlist_head *hash_head; in save_trace() local 592 hash_head = stack_trace_hash + (hash & (STACK_TRACE_HASH_SIZE - 1)); in save_trace() 593 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace() 598 hlist_add_head(&trace->hash_entry, hash_head); in save_trace() 890 struct hlist_head *hash_head; in look_up_lock_class() local 925 hash_head = classhashentry(key); in look_up_lock_class() 933 hlist_for_each_entry_rcu_notrace(class, hash_head, hash_entry) { in look_up_lock_class() 1223 struct hlist_head *hash_head; in lockdep_register_key() local 1229 hash_head = keyhashentry(key); in lockdep_register_key() 1234 hlist_for_each_entry_rcu(k, hash_head, hash_entry) { in lockdep_register_key() [all …]
|