Home
last modified time | relevance | path

Searched refs:reserved_sectors (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dalloc_background.c2392 u64 capacity = 0, reserved_sectors = 0, gc_reserve; in bch2_recalc_capacity() local
2438 reserved_sectors += dev_reserve * 2; in bch2_recalc_capacity()
2448 reserved_sectors = max(gc_reserve, reserved_sectors); in bch2_recalc_capacity()
2450 reserved_sectors = min(reserved_sectors, capacity); in bch2_recalc_capacity()
2452 c->reserved = reserved_sectors; in bch2_recalc_capacity()
2453 c->capacity = capacity - reserved_sectors; in bch2_recalc_capacity()
Dfs-io-buffered.c572 unsigned sectors = 0, dirty_sectors = 0, reserved_sectors = 0; in __bch2_writepage() local
584 reserved_sectors += w->tmp[offset + sectors].replicas_reserved; in __bch2_writepage()
617 w->io->op.res.sectors += reserved_sectors; in __bch2_writepage()