Searched refs:sectors_to_reserve (Results 1 – 1 of 1) sorted by relevance
352 static inline unsigned sectors_to_reserve(struct bch_folio_sector *s, in sectors_to_reserve() function374 disk_res_sectors += sectors_to_reserve(&s->s[i], nr_replicas); in bch2_get_folio_disk_reservation()389 sectors_to_reserve(&s->s[i], nr_replicas); in bch2_get_folio_disk_reservation()423 disk_sectors += sectors_to_reserve(&s->s[i], res->disk.nr_replicas); in __bch2_folio_reservation_get()439 disk_sectors += sectors_to_reserve(&s->s[i], res->disk.nr_replicas); in __bch2_folio_reservation_get()537 unsigned sectors = sectors_to_reserve(&s->s[i], in bch2_set_folio_dirty()