Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dhash.c475 LASSERT(bits == hs->hs_cur_bits || bits == hs->hs_rehash_bits); in cfs_hash_bd_from_key()
489 LASSERT(hs->hs_rehash_bits != 0); in cfs_hash_bd_get()
491 hs->hs_rehash_bits, key, bd); in cfs_hash_bd_get()
836 LASSERT(hs->hs_rehash_bits != 0); in cfs_hash_dual_bd_get()
838 hs->hs_rehash_bits, key, &bds[1]); in cfs_hash_dual_bd_get()
1073 hs->hs_rehash_bits = 0; in cfs_hash_create()
1777 hs->hs_rehash_bits = 0; in cfs_hash_rehash_cancel_locked()
1817 hs->hs_rehash_bits = rc; in cfs_hash_rehash()
1854 hs->hs_rehash_bits, key, &new); in cfs_hash_rehash_bd()
1947 hs->hs_cur_bits = hs->hs_rehash_bits; in cfs_hash_rehash_worker()
[all …]
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h240 __u8 hs_rehash_bits; member
329 (1U << ((hs)->hs_rehash_bits - (hs)->hs_bkt_bits))
338 #define CFS_HASH_RH_NHLIST(hs) (1U << (hs)->hs_rehash_bits)
440 return hs->hs_rehash_bits != 0; in cfs_hash_is_rehashing()