Searched refs:sector_to_bucket (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | buckets.h | 15 static inline u64 sector_to_bucket(const struct bch_dev *ca, sector_t s) in sector_to_bucket() function 123 return sector_to_bucket(ca, ptr->offset); in PTR_BUCKET_NR()
|
D | backpointers.h | 43 return POS(bp_pos.inode, sector_to_bucket(ca, bucket_sector)); in bp_pos_to_bucket()
|
D | btree_node_scan.c | 189 .ptrs[0].gen = bucket_gen_get(ca, sector_to_bucket(ca, offset)), in try_read_btree_node()
|
D | alloc_foreground.c | 429 bucket = sector_to_bucket(ca, in bch2_bucket_alloc_early() 513 bucket = sector_to_bucket(ca, in bch2_bucket_alloc_freelist()
|
D | buckets.c | 1060 u64 b = sector_to_bucket(ca, start); in bch2_trans_mark_metadata_sectors()
|
/linux-6.12.1/drivers/md/bcache/ |
D | bcache.h | 798 static inline size_t sector_to_bucket(struct cache_set *c, sector_t s) in sector_to_bucket() function 817 return sector_to_bucket(c, PTR_OFFSET(k, ptr)); in PTR_BUCKET_NR()
|