Searched refs:bucket_to_sector (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | buckets.h | 20 static inline sector_t bucket_to_sector(const struct bch_dev *ca, size_t b) in bucket_to_sector() function 314 u64 b_offset = bucket_to_sector(ca, b); in is_superblock_bucket() 315 u64 b_end = bucket_to_sector(ca, b + 1); in is_superblock_bucket()
|
D | alloc_foreground.c | 424 bucket_to_sector(ca, bucket), ca->mi.bucket_size)) { in bch2_bucket_alloc_early() 426 bucket_to_sector(ca, bucket) > 64ULL << ca->mi.btree_bitmap_shift) in bch2_bucket_alloc_early() 430 round_up(bucket_to_sector(ca, bucket) + 1, in bch2_bucket_alloc_early() 508 bucket_to_sector(ca, bucket), ca->mi.bucket_size)) { in bch2_bucket_alloc_freelist() 510 bucket_to_sector(ca, bucket) > 64ULL << ca->mi.btree_bitmap_shift) in bch2_bucket_alloc_freelist() 514 round_up(bucket_to_sector(ca, bucket) + 1, in bch2_bucket_alloc_freelist() 1528 .offset = bucket_to_sector(ca, ob->bucket) + in bch2_ob_ptr()
|
D | backpointers.h | 67 (bucket_to_sector(ca, bucket.offset) << in bucket_pos_to_bp_noerror()
|
D | journal_io.c | 1000 u64 offset = bucket_to_sector(ca, ja->buckets[bucket]), in journal_read_bucket() 1113 bucket_to_sector(ca, ja->buckets[bucket]), in journal_read_bucket() 1451 .offset = bucket_to_sector(ca, in __journal_write_alloc()
|
D | journal_reclaim.c | 284 bucket_to_sector(ca, in bch2_journal_do_discards()
|
D | alloc_background.c | 1976 bucket_to_sector(ca, bucket), in bch2_do_discards_fast_work() 2435 capacity += bucket_to_sector(ca, ca->mi.nbuckets - in bch2_recalc_capacity()
|
D | buckets.c | 1062 min_t(u64, bucket_to_sector(ca, b + 1), end) - start; in bch2_trans_mark_metadata_sectors()
|
D | journal.c | 1092 bucket_to_sector(ca, nr - ja->nr), 1, 0); in bch2_set_nr_journal_buckets()
|
/linux-6.12.1/drivers/md/bcache/ |
D | journal.c | 46 sector_t bucket = bucket_to_sector(ca->set, ca->sb.d[bucket_index]); in journal_read_bucket() 619 bio->bi_iter.bi_sector = bucket_to_sector(ca->set, in do_journal_discard() 681 bucket_to_sector(c, ca->sb.d[ja->cur_idx]), in journal_reclaim()
|
D | alloc.c | 366 bucket_to_sector(ca->set, bucket), in bch_allocator_thread() 535 bucket_to_sector(c, b), in __bch_bucket_alloc_set()
|
D | bcache.h | 803 static inline sector_t bucket_to_sector(struct cache_set *c, size_t b) in bucket_to_sector() function
|