Home
last modified time | relevance | path

Searched refs:gen_after (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dbuckets.h169 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()
Dbuckets.c403 if (gen_after(ptr->gen, b_gen)) { in bch2_bucket_ref_update()
Dbtree_gc.c1194 if (gen_after(*gen, ptr->gen)) in gc_btree_gens_key()
Dio_write.c1304 stale = gen < 0 ? gen : gen_after(gen, i->gen); in bch2_nocow_write()
/linux-6.12.1/drivers/md/bcache/
Dbcache.h827 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()
Dbtree.c1249 if (gen_after(g->last_gc, PTR_GEN(k, i))) in __bch_btree_mark_key()