Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dbuckets.h15 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()
Dbackpointers.h43 return POS(bp_pos.inode, sector_to_bucket(ca, bucket_sector)); in bp_pos_to_bucket()
Dbtree_node_scan.c189 .ptrs[0].gen = bucket_gen_get(ca, sector_to_bucket(ca, offset)), in try_read_btree_node()
Dalloc_foreground.c429 bucket = sector_to_bucket(ca, in bch2_bucket_alloc_early()
513 bucket = sector_to_bucket(ca, in bch2_bucket_alloc_freelist()
Dbuckets.c1060 u64 b = sector_to_bucket(ca, start); in bch2_trans_mark_metadata_sectors()
/linux-6.12.1/drivers/md/bcache/
Dbcache.h798 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()