Searched refs:bkts (Results 1 – 2 of 2) sorted by relevance
479 cfs_hash_bd_from_key(struct cfs_hash *hs, struct cfs_hash_bucket **bkts, in cfs_hash_bd_from_key() argument486 bd->bd_bucket = bkts[index & ((1U << (bits - hs->hs_bkt_bits)) - 1)]; in cfs_hash_bd_from_key()1879 struct cfs_hash_bucket **bkts; in cfs_hash_rehash_worker() local1902 bkts = cfs_hash_buckets_realloc(hs, hs->hs_buckets, in cfs_hash_rehash_worker()1905 if (bkts == NULL) { in cfs_hash_rehash_worker()1910 if (bkts == hs->hs_buckets) { in cfs_hash_rehash_worker()1911 bkts = NULL; /* do nothing */ in cfs_hash_rehash_worker()1925 hs->hs_rehash_buckets = bkts; in cfs_hash_rehash_worker()1955 bkts = hs->hs_buckets; in cfs_hash_rehash_worker()1967 if (bkts != NULL) in cfs_hash_rehash_worker()[all …]
573 int bkts[32]; /* one bucket is assumed for each cpu */ in xlr_config_translate_table() local586 bkts[j] = ((i / 4) * 8) + (i % 4); in xlr_config_translate_table()604 b1 = bkts[k]; in xlr_config_translate_table()606 b2 = bkts[k]; in xlr_config_translate_table()