Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/bcache/
Dextents.c54 size_t bucket = PTR_BUCKET_NR(c, k, i); in __ptr_invalid()
75 size_t bucket = PTR_BUCKET_NR(c, k, i); in bch_ptr_status()
136 size_t n = PTR_BUCKET_NR(b->c, k, j); in bch_bkey_dump()
200 buf, PTR_BUCKET_NR(b->c, k, i), atomic_read(&g->pin), in btree_ptr_bad_expensive()
532 buf, PTR_BUCKET_NR(b->c, k, ptr), atomic_read(&g->pin), in bch_extent_bad_expensive()
593 PTR_BUCKET_NR(b->c, l, i) != PTR_BUCKET_NR(b->c, r, i)) in bch_extent_merge()
Dbcache.h809 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR() function
820 return c->cache->buckets + PTR_BUCKET_NR(c, k, ptr); in PTR_BUCKET()
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-5.19.10/include/trace/events/
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);