Home
last modified time | relevance | path

Searched refs:PTR_BUCKET_NR (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/md/bcache/
H A Dextents.c55 size_t bucket = PTR_BUCKET_NR(c, k, i); in __ptr_invalid()
76 size_t bucket = PTR_BUCKET_NR(c, k, i); in bch_ptr_status()
137 size_t n = PTR_BUCKET_NR(b->c, k, j); in bch_bkey_dump()
201 buf, PTR_BUCKET_NR(b->c, k, i), atomic_read(&g->pin), in btree_ptr_bad_expensive()
547 buf, PTR_BUCKET_NR(b->c, k, ptr), atomic_read(&g->pin), in bch_extent_bad_expensive()
608 PTR_BUCKET_NR(b->c, l, i) != PTR_BUCKET_NR(b->c, r, i)) in bch_extent_merge()
H A Dbcache.h813 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR() function
824 return c->cache->buckets + PTR_BUCKET_NR(c, k, ptr); in PTR_BUCKET()
H A Dbtree.c231 err, PTR_BUCKET_NR(b->c, &b->key, 0), in bch_btree_node_read_done()
278 PTR_BUCKET_NR(b->c, &b->key, 0)); in bch_btree_node_read()
/linux/include/trace/events/
H A Dbcache.h72 __entry->bucket = PTR_BUCKET_NR(b->c, &b->key, 0);
273 __entry->bucket = PTR_BUCKET_NR(b->c, &b->key, 0);
348 __entry->btree_node = PTR_BUCKET_NR(b->c, &b->key, 0);
375 __entry->bucket = PTR_BUCKET_NR(b->c, &b->key, 0);
/linux/fs/bcachefs/
H A Dbuckets.c141 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), in bch2_check_fix_ptr()
158 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), in bch2_check_fix_ptr()
181 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr()
192 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), in bch2_check_fix_ptr()
206 p.ptr.dev, PTR_BUCKET_NR(ca, &p.ptr), g->gen, in bch2_check_fix_ptr()
396 size_t bucket_nr = PTR_BUCKET_NR(ca, ptr); in bch2_bucket_ref_update()
H A Dextents.c289 bool same_bucket = ca && PTR_BUCKET_NR(ca, &lp.ptr) == PTR_BUCKET_NR(ca, &rp.ptr); in bch2_extent_merge()
H A Dbtree_gc.c1193 u8 *gen = &ca->oldest_gen[PTR_BUCKET_NR(ca, ptr)]; in gc_btree_gens_key()