Home
last modified time | relevance | path

Searched refs:CFS_HASH_NBKT (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dhash.c1081 CFS_HASH_NBKT(hs)); in cfs_hash_create()
1145 0, CFS_HASH_NBKT(hs)); in cfs_hash_destroy()
1881 old_size = CFS_HASH_NBKT(hs); in cfs_hash_rehash_worker()
1907 new_size = CFS_HASH_NBKT(hs); in cfs_hash_rehash_worker()
1925 new_size = CFS_HASH_NBKT(hs); in cfs_hash_rehash_worker()
2035 return CFS_HASH_NBKT(hs); in cfs_hash_full_nbkt()
2039 CFS_HASH_RH_NBKT(hs) : CFS_HASH_NBKT(hs); in cfs_hash_full_nbkt()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h324 #define CFS_HASH_NBKT(hs) \ macro
832 pos < CFS_HASH_NBKT(hs) && \
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c333 bnr = (nr == ~0) ? -1 : nr / CFS_HASH_NBKT(s->ls_obj_hash) + 1; in lu_site_purge()
385 s->ls_purge_start = i % CFS_HASH_NBKT(s->ls_obj_hash); in lu_site_purge()
898 hash |= (fid_seq(fid) + fid_oid(fid)) & (CFS_HASH_NBKT(hs) - 1); in lu_obj_hop_hash()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c431 hash |= ldlm_res_hop_hash(hs, key, CFS_HASH_NBKT(hs) - 1); in ldlm_res_hop_fid_hash()