Home
last modified time | relevance | path

Searched refs:bucket_to_sector (Results 1 – 10 of 10) sorted by relevance

/linux/fs/bcachefs/
H A Dalloc_foreground.c319 bucket_to_sector(ca, bucket), ca->mi.bucket_size)) { in bch2_bucket_alloc_early()
321 bucket_to_sector(ca, bucket) > 64ULL << ca->mi.btree_bitmap_shift) in bch2_bucket_alloc_early()
325 round_up(bucket_to_sector(ca, bucket) + 1, in bch2_bucket_alloc_early()
405 bucket_to_sector(ca, bucket), ca->mi.bucket_size)) { in bch2_bucket_alloc_freelist()
407 bucket_to_sector(ca, bucket) > 64ULL << ca->mi.btree_bitmap_shift) in bch2_bucket_alloc_freelist()
411 round_up(bucket_to_sector(ca, bucket + 1), in bch2_bucket_alloc_freelist()
1344 u64 offset = bucket_to_sector(ca, ob->bucket) + in bch2_alloc_sectors_start_trans()
H A Dbackpointers.h68 (bucket_to_sector(ca, bucket.offset) << in bucket_pos_to_bp_noerror()
H A Dalloc_foreground.h247 .offset = bucket_to_sector(ca, ob->bucket) + in bch2_ob_ptr()
H A Dbuckets.h20 static inline sector_t bucket_to_sector(const struct bch_dev *ca, size_t b) in bucket_to_sector() function
H A Dbuckets.c1105 min_t(u64, bucket_to_sector(ca, b + 1), end) - start; in bch2_trans_mark_metadata_sectors()
1204 u64 b_offset = bucket_to_sector(ca, b); in bch2_is_superblock_bucket()
1205 u64 b_end = bucket_to_sector(ca, b + 1); in bch2_is_superblock_bucket()
H A Djournal_io.c1055 u64 offset = bucket_to_sector(ca, ja->buckets[bucket]), in journal_read_bucket()
1175 bucket_to_sector(ca, ja->buckets[bucket]), in journal_read_bucket()
1595 .offset = bucket_to_sector(ca, in __journal_write_alloc()
H A Djournal_reclaim.c308 bucket_to_sector(ca, in bch2_journal_do_discards()
H A Dalloc_background.c2552 capacity += bucket_to_sector(ca, ca->mi.nbuckets - in bch2_recalc_capacity()
/linux/drivers/md/bcache/
H A Dalloc.c336 bucket_to_sector(ca->set, bucket), in bch_allocator_thread()
505 bucket_to_sector(c, b), in __bch_bucket_alloc_set()
H A Djournal.c46 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()