Home
last modified time | relevance | path

Searched refs:hs_cur_bits (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c484 LASSERT(bits == hs->hs_cur_bits || bits == hs->hs_rehash_bits); in cfs_hash_bd_from_key()
496 hs->hs_cur_bits, key, bd); in cfs_hash_bd_get()
521 hs->hs_dep_bits = hs->hs_cur_bits; in cfs_hash_bd_dep_record()
838 hs->hs_cur_bits, key, &bds[0]); in cfs_hash_dual_bd_get()
1075 hs->hs_cur_bits = (__u8)cur_bits; in cfs_hash_create()
1193 if ((hs->hs_cur_bits < hs->hs_max_bits) && in cfs_hash_rehash_bits()
1195 return hs->hs_cur_bits + 1; in cfs_hash_rehash_bits()
1200 if ((hs->hs_cur_bits > hs->hs_min_bits) && in cfs_hash_rehash_bits()
1202 return hs->hs_cur_bits - 1; in cfs_hash_rehash_bits()
1960 hs->hs_cur_bits = hs->hs_rehash_bits; in cfs_hash_rehash_worker()
[all …]
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h234 __u8 hs_cur_bits; member
328 (1U << ((hs)->hs_cur_bits - (hs)->hs_bkt_bits))
338 #define CFS_HASH_NHLIST(hs) (1U << (hs)->hs_cur_bits)
800 CFS_HASH_THETA_BITS) >> hs->hs_cur_bits; in __cfs_hash_theta()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_dev.c482 if (sbi->ll_site->ls_obj_hash->hs_cur_bits > 64 - PGC_OBJ_SHIFT) in vvp_pgcache_start()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c479 hash <<= hs->hs_cur_bits - hs->hs_bkt_bits; in ldlm_res_hop_fid_hash()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c879 hash <<= hs->hs_cur_bits - hs->hs_bkt_bits; in lu_obj_hop_hash()