Searched refs:hs_buckets (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | hash.c | 486 cfs_hash_bd_from_key(hs, hs->hs_buckets, in cfs_hash_bd_get() 828 cfs_hash_bd_from_key(hs, hs->hs_buckets, in cfs_hash_dual_bd_get() 1080 hs->hs_buckets = cfs_hash_buckets_realloc(hs, NULL, 0, in cfs_hash_create() 1082 if (hs->hs_buckets != NULL) in cfs_hash_create() 1115 LASSERT(hs->hs_buckets != NULL && in cfs_hash_destroy() 1144 cfs_hash_buckets_free(hs->hs_buckets, cfs_hash_bkt_size(hs), in cfs_hash_destroy() 1890 bkts = cfs_hash_buckets_realloc(hs, hs->hs_buckets, in cfs_hash_rehash_worker() 1898 if (bkts == hs->hs_buckets) { in cfs_hash_rehash_worker() 1943 bkts = hs->hs_buckets; in cfs_hash_rehash_worker() 1944 hs->hs_buckets = hs->hs_rehash_buckets; in cfs_hash_rehash_worker() [all …]
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_hash.h | 222 struct cfs_hash_bucket **hs_buckets; member 566 bd->bd_bucket = hs->hs_buckets[index >> hs->hs_bkt_bits]; in cfs_hash_bd_index_set() 833 ((bd)->bd_bucket = (hs)->hs_buckets[pos]) != NULL; pos++)
|