Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dbuckets.h20 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()
Dalloc_foreground.c424 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()
Dbackpointers.h67 (bucket_to_sector(ca, bucket.offset) << in bucket_pos_to_bp_noerror()
Djournal_io.c1000 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()
Djournal_reclaim.c284 bucket_to_sector(ca, in bch2_journal_do_discards()
Dalloc_background.c1976 bucket_to_sector(ca, bucket), in bch2_do_discards_fast_work()
2435 capacity += bucket_to_sector(ca, ca->mi.nbuckets - in bch2_recalc_capacity()
Dbuckets.c1062 min_t(u64, bucket_to_sector(ca, b + 1), end) - start; in bch2_trans_mark_metadata_sectors()
Djournal.c1092 bucket_to_sector(ca, nr - ja->nr), 1, 0); in bch2_set_nr_journal_buckets()
/linux-6.12.1/drivers/md/bcache/
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()
Dalloc.c366 bucket_to_sector(ca->set, bucket), in bch_allocator_thread()
535 bucket_to_sector(c, b), in __bch_bucket_alloc_set()
Dbcache.h803 static inline sector_t bucket_to_sector(struct cache_set *c, size_t b) in bucket_to_sector() function