Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dbtree_cache.h102 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()
Dbtree_node_scan.c225 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()
Dbtree_io.c731 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()
Dbackpointers.h163 u64 sectors = ptr_disk_sectors(level ? btree_sectors(c) : k.k->size, p); in bch2_extent_ptr_to_bp()
Dsb-members.c425 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()
Dbtree_update_interior.c352 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()
Ddebug.c223 while (offset < btree_sectors(c)) { in bch2_btree_node_ondisk_to_text()
Dbackpointers.c820 s->nodes_total += div64_ul(v, btree_sectors(c)); in progress_init()
Dbuckets.c573 u64 abs_sectors = ptr_disk_sectors(level ? btree_sectors(c) : k.k->size, p); in bch2_trigger_pointer()
Dextents.c1236 size_ondisk = btree_sectors(c); in bch2_bkey_ptrs_validate()
Dsuper.c1327 ca->mi.bucket_size / btree_sectors(c)); in __bch2_dev_alloc()