Lines Matching refs:gen

143 			p.ptr.gen,  in bch2_check_fix_ptr()
148 g->gen = p.ptr.gen; in bch2_check_fix_ptr()
154 if (fsck_err_on(gen_cmp(p.ptr.gen, g->gen) > 0, in bch2_check_fix_ptr()
160 p.ptr.gen, g->gen, in bch2_check_fix_ptr()
167 g->gen = p.ptr.gen; in bch2_check_fix_ptr()
177 if (fsck_err_on(gen_cmp(g->gen, p.ptr.gen) > BUCKET_GC_GEN_MAX, in bch2_check_fix_ptr()
181 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr()
183 p.ptr.gen, in bch2_check_fix_ptr()
188 if (fsck_err_on(!p.ptr.cached && gen_cmp(p.ptr.gen, g->gen) < 0, in bch2_check_fix_ptr()
194 p.ptr.gen, g->gen, in bch2_check_fix_ptr()
199 if (data_type != BCH_DATA_btree && p.ptr.gen != g->gen) in bch2_check_fix_ptr()
206 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr()
213 g->gen = p.ptr.gen; in bch2_check_fix_ptr()
299 ptr->gen = g->gen; in bch2_check_fix_ptrs()
315 (!g->gen_valid || gen_cmp(p.ptr.gen, g->gen) > 0)) || in bch2_check_fix_ptrs()
317 gen_cmp(p.ptr.gen, g->gen) < 0) || in bch2_check_fix_ptrs()
318 gen_cmp(g->gen, p.ptr.gen) > BUCKET_GC_GEN_MAX || in bch2_check_fix_ptrs()
403 if (gen_after(ptr->gen, b_gen)) { in bch2_bucket_ref_update()
410 ptr->gen, in bch2_bucket_ref_update()
417 if (gen_cmp(b_gen, ptr->gen) > BUCKET_GC_GEN_MAX) { in bch2_bucket_ref_update()
424 ptr->gen, in bch2_bucket_ref_update()
432 if (b_gen != ptr->gen && ptr->cached) { in bch2_bucket_ref_update()
437 if (b_gen != ptr->gen) { in bch2_bucket_ref_update()
445 ptr->gen, in bch2_bucket_ref_update()
552 a->gen, a->data_type, dst_sectors); in __mark_pointer()
967 iter.pos.inode, iter.pos.offset, a->v.gen, in __bch2_trans_mark_metadata_bucket()
1011 ca->dev_idx, b, g->gen, in bch2_mark_metadata_bucket()