Searched refs:gens (Results 1 – 5 of 5) sorted by relevance
99 struct bucket_gens *gens = bucket_gens(ca); in bucket_gen() local101 if (b - gens->first_bucket >= gens->nbuckets_minus_first) in bucket_gen()103 return gens->b + b; in bucket_gen()
515 ? bkey_s_c_to_bucket_gens(k).v->gens[offset] in alloc_gen()537 for (i = 0; i < ARRAY_SIZE(g.v->gens); i++) { in bch2_bucket_gens_to_text()540 prt_printf(out, "%u", g.v->gens[i]); in bch2_bucket_gens_to_text()580 g.v.gens[offset] = gen; in bch2_bucket_gens_init()626 *bucket_gen(ca, b) = g->gens[b & KEY_TYPE_BUCKET_GENS_MASK]; in bch2_alloc_read()767 g->v.gens[offset] = gen; in bch2_bucket_gen_update()1241 g->v.gens[gens_offset] = a->gen; in bch2_check_alloc_key()1338 if (fsck_err_on(g.v.gens[i], trans, in bch2_check_alloc_hole_bucket_gens()1343 g.v.gens[i])) { in bch2_check_alloc_hole_bucket_gens()1344 g.v.gens[i] = 0; in bch2_check_alloc_hole_bucket_gens()[all …]
92 u8 gens[KEY_TYPE_BUCKET_GENS_NR]; member
1253 struct bucket_gens *gens = bucket_gens(ca); in bch2_gc_gens() local1257 ca->oldest_gen = kvmalloc(gens->nbuckets, GFP_KERNEL); in bch2_gc_gens()1264 for (b = gens->first_bucket; in bch2_gc_gens()1265 b < gens->nbuckets; b++) in bch2_gc_gens()1266 ca->oldest_gen[b] = gens->b[b]; in bch2_gc_gens()
23 u32 fla, gens; in i40e_init_nvm() local29 gens = rd32(hw, I40E_GLNVM_GENS); in i40e_init_nvm()30 sr_size = FIELD_GET(I40E_GLNVM_GENS_SR_SIZE_MASK, gens); in i40e_init_nvm()