Searched refs:btree_sectors (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | btree_cache.h | 102 static inline size_t btree_sectors(const struct bch_fs *c) in btree_sectors() function 109 return btree_sectors(c) >> c->block_bits; in btree_blocks()
|
D | btree_node_scan.c | 225 bucket_offset + btree_sectors(c) <= ca->mi.bucket_size; in read_btree_nodes_worker() 226 bucket_offset += btree_sectors(c)) { in read_btree_nodes_worker() 239 !bch2_dev_btree_bitmap_marked_sectors(ca, sector, btree_sectors(c))) in read_btree_nodes_worker()
|
D | btree_io.c | 731 btree_err_on(offset + sectors > (ptr_written ?: btree_sectors(c)), in validate_bset() 736 offset, sectors, ptr_written ?: btree_sectors(c))) in validate_bset() 1039 while (b->written < (ptr_written ?: btree_sectors(c))) { in bch2_btree_node_read_done() 1392 while (offset < btree_sectors(c)) { in btree_node_sectors_written() 1414 while (offset < btree_sectors(c)) { in btree_node_has_extra_bsets() 1491 while (offset < btree_sectors(c)) { in CLOSURE_CALLBACK() 1508 while (offset < btree_sectors(c)) { in CLOSURE_CALLBACK() 2038 BUG_ON(b->written >= btree_sectors(c)); in __bch2_btree_node_write() 2118 BUG_ON(b->written + sectors_to_write > btree_sectors(c)); in __bch2_btree_node_write()
|
D | backpointers.h | 163 u64 sectors = ptr_disk_sectors(level ? btree_sectors(c) : k.k->size, p); in bch2_extent_ptr_to_bp()
|
D | sb-members.c | 425 if (!bch2_dev_btree_bitmap_marked_sectors(ca, ptr->offset, btree_sectors(c))) { in bch2_dev_btree_bitmap_marked() 473 __bch2_dev_btree_bitmap_mark(mi, ptr->dev, ptr->offset, btree_sectors(c)); in bch2_dev_btree_bitmap_mark()
|
D | btree_update_interior.c | 352 if (wp->sectors_free < btree_sectors(c)) { in __bch2_btree_node_alloc() 357 if (ob->sectors_free < btree_sectors(c)) in __bch2_btree_node_alloc() 365 bch2_alloc_sectors_append_ptrs(c, wp, &tmp.k, btree_sectors(c), false); in __bch2_btree_node_alloc() 430 bch2_increment_clock(c, btree_sectors(c), WRITE); in bch2_btree_node_alloc() 1241 (nr_nodes[0] + nr_nodes[1]) * btree_sectors(c), in bch2_btree_update_start()
|
D | debug.c | 223 while (offset < btree_sectors(c)) { in bch2_btree_node_ondisk_to_text()
|
D | backpointers.c | 820 s->nodes_total += div64_ul(v, btree_sectors(c)); in progress_init()
|
D | buckets.c | 573 u64 abs_sectors = ptr_disk_sectors(level ? btree_sectors(c) : k.k->size, p); in bch2_trigger_pointer()
|
D | extents.c | 1236 size_ondisk = btree_sectors(c); in bch2_bkey_ptrs_validate()
|
D | super.c | 1327 ca->mi.bucket_size / btree_sectors(c)); in __bch2_dev_alloc()
|