Home
last modified time | relevance | path

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

/include/linux/
Dhashtable.h126 #define hash_for_each(name, bkt, obj, member) \ argument
127 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
128 (bkt)++)\
129 hlist_for_each_entry(obj, &name[bkt], member)
138 #define hash_for_each_rcu(name, bkt, obj, member) \ argument
139 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
140 (bkt)++)\
141 hlist_for_each_entry_rcu(obj, &name[bkt], member)
152 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument
153 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\
[all …]
Drhashtable.h327 struct rhash_lock_head __rcu **bkt) in rht_lock() argument
332 bit_spin_lock(0, (unsigned long *)bkt); in rht_lock()
350 struct rhash_lock_head __rcu **bkt, in rht_unlock() argument
354 bit_spin_unlock(0, (unsigned long *)bkt); in rht_unlock()
359 struct rhash_lock_head *p, struct rhash_lock_head __rcu *const *bkt) in __rht_ptr() argument
363 (unsigned long)RHT_NULLS_MARKER(bkt)); in __rht_ptr()
374 struct rhash_lock_head __rcu *const *bkt) in rht_ptr_rcu() argument
376 return __rht_ptr(rcu_dereference(*bkt), bkt); in rht_ptr_rcu()
380 struct rhash_lock_head __rcu *const *bkt, in rht_ptr() argument
384 return __rht_ptr(rht_dereference_bucket(*bkt, tbl, hash), bkt); in rht_ptr()
[all …]
Dkvm_host.h1082 #define kvm_for_each_memslot(memslot, bkt, slots) \ argument
1083 hash_for_each(slots->id_hash, bkt, memslot, id_node[slots->node_idx]) \