Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c495 cfs_hash_bd_from_key(hs, hs->hs_buckets, in cfs_hash_bd_get()
837 cfs_hash_bd_from_key(hs, hs->hs_buckets, in cfs_hash_dual_bd_get()
1089 hs->hs_buckets = cfs_hash_buckets_realloc(hs, NULL, 0, in cfs_hash_create()
1091 if (hs->hs_buckets != NULL) in cfs_hash_create()
1124 LASSERT(hs->hs_buckets != NULL && in cfs_hash_destroy()
1153 cfs_hash_buckets_free(hs->hs_buckets, cfs_hash_bkt_size(hs), in cfs_hash_destroy()
1903 bkts = cfs_hash_buckets_realloc(hs, hs->hs_buckets, in cfs_hash_rehash_worker()
1911 if (bkts == hs->hs_buckets) { in cfs_hash_rehash_worker()
1956 bkts = hs->hs_buckets; in cfs_hash_rehash_worker()
1957 hs->hs_buckets = hs->hs_rehash_buckets; in cfs_hash_rehash_worker()
[all …]
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h222 struct cfs_hash_bucket **hs_buckets; member
573 bd->bd_bucket = hs->hs_buckets[index >> hs->hs_bkt_bits]; in cfs_hash_bd_index_set()
858 ((bd)->bd_bucket = (hs)->hs_buckets[pos]) != NULL; pos++)