Home
last modified time | relevance | path

Searched refs:hs_cur_bits (Results 1 – 5 of 5) 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()
487 hs->hs_cur_bits, key, bd); in cfs_hash_bd_get()
512 hs->hs_dep_bits = hs->hs_cur_bits; in cfs_hash_bd_dep_record()
829 hs->hs_cur_bits, key, &bds[0]); in cfs_hash_dual_bd_get()
1066 hs->hs_cur_bits = (__u8)cur_bits; in cfs_hash_create()
1184 if ((hs->hs_cur_bits < hs->hs_max_bits) && in cfs_hash_rehash_bits()
1186 return hs->hs_cur_bits + 1; in cfs_hash_rehash_bits()
1191 if ((hs->hs_cur_bits > hs->hs_min_bits) && in cfs_hash_rehash_bits()
1193 return hs->hs_cur_bits - 1; in cfs_hash_rehash_bits()
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.h234 __u8 hs_cur_bits; member
325 (1U << ((hs)->hs_cur_bits - (hs)->hs_bkt_bits))
335 #define CFS_HASH_NHLIST(hs) (1U << (hs)->hs_cur_bits)
776 CFS_HASH_THETA_BITS) >> hs->hs_cur_bits; in __cfs_hash_theta()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dvvp_dev.c485 if (sbi->ll_site->ls_obj_hash->hs_cur_bits > 64 - PGC_OBJ_SHIFT) in vvp_pgcache_start()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c430 hash <<= hs->hs_cur_bits - hs->hs_bkt_bits; in ldlm_res_hop_fid_hash()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c897 hash <<= hs->hs_cur_bits - hs->hs_bkt_bits; in lu_obj_hop_hash()