Searched refs:gen_after (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | buckets.h | 169 static inline int gen_after(u8 a, u8 b) in gen_after() function 179 return gen < 0 ? gen : gen_after(gen, ptr->gen); in dev_ptr_stale_rcu()
|
D | buckets.c | 403 if (gen_after(ptr->gen, b_gen)) { in bch2_bucket_ref_update()
|
D | btree_gc.c | 1194 if (gen_after(*gen, ptr->gen)) in gc_btree_gens_key()
|
D | io_write.c | 1304 stale = gen < 0 ? gen : gen_after(gen, i->gen); in bch2_nocow_write()
|
/linux-6.12.1/drivers/md/bcache/ |
D | bcache.h | 827 static inline uint8_t gen_after(uint8_t a, uint8_t b) in gen_after() function 837 return gen_after(PTR_BUCKET(c, k, i)->gen, PTR_GEN(k, i)); in ptr_stale()
|
D | btree.c | 1249 if (gen_after(g->last_gc, PTR_GEN(k, i))) in __bch_btree_mark_key()
|