Searched refs:bd_bucket (Results 1 – 3 of 3) sorted by relevance
111 struct cfs_hash_bucket *bd_bucket; /**< address of bucket */ member539 hs->hs_lops->hs_bkt_lock(&bd->bd_bucket->hsb_lock, excl); in cfs_hash_bd_lock()545 hs->hs_lops->hs_bkt_unlock(&bd->bd_bucket->hsb_lock, excl); in cfs_hash_bd_unlock()566 return bd->bd_offset | (bd->bd_bucket->hsb_index << hs->hs_bkt_bits); in cfs_hash_bd_index_get()573 bd->bd_bucket = hs->hs_buckets[index >> hs->hs_bkt_bits]; in cfs_hash_bd_index_set()580 return (void *)bd->bd_bucket + in cfs_hash_bd_extra_get()588 return bd->bd_bucket->hsb_version; in cfs_hash_bd_version_get()595 return bd->bd_bucket->hsb_count; in cfs_hash_bd_count_get()601 return bd->bd_bucket->hsb_depmax; in cfs_hash_bd_depmax_get()607 if (bd1->bd_bucket->hsb_index != bd2->bd_bucket->hsb_index) in cfs_hash_bd_compare()[all …]
257 head = (struct cfs_hash_head *)&bd->bd_bucket->hsb_head[0]; in cfs_hash_hh_hhead()297 head = (struct cfs_hash_head_dep *)&bd->bd_bucket->hsb_head[0]; in cfs_hash_hd_hhead()345 head = (struct cfs_hash_dhead *)&bd->bd_bucket->hsb_head[0]; in cfs_hash_dh_hhead()402 head = (struct cfs_hash_dhead_dep *)&bd->bd_bucket->hsb_head[0]; in cfs_hash_dd_hhead()486 bd->bd_bucket = bkts[index & ((1U << (bits - hs->hs_bkt_bits)) - 1)]; in cfs_hash_bd_from_key()508 if (likely(dep_cur <= bd->bd_bucket->hsb_depmax)) in cfs_hash_bd_dep_record()511 bd->bd_bucket->hsb_depmax = dep_cur; in cfs_hash_bd_dep_record()519 hs->hs_dep_bkt = bd->bd_bucket->hsb_index; in cfs_hash_bd_dep_record()536 bd->bd_bucket->hsb_version++; in cfs_hash_bd_add_locked()537 if (unlikely(bd->bd_bucket->hsb_version == 0)) in cfs_hash_bd_add_locked()[all …]
347 LASSERT(bd.bd_bucket == bd2.bd_bucket); in lu_site_purge()