Lines Matching refs:fbatch
609 struct folio_batch fbatch; member
1014 folio_batch_init(&ceph_wbc->fbatch); in ceph_folio_batch_init()
1021 folio_batch_release(&ceph_wbc->fbatch); in ceph_folio_batch_reinit()
1300 folio = ceph_wbc->fbatch.folios[i]; in ceph_process_folio_batch()
1329 ceph_wbc->fbatch.folios[i] = NULL; in ceph_process_folio_batch()
1334 ceph_wbc->fbatch.folios[i] = NULL; in ceph_process_folio_batch()
1341 ceph_wbc->fbatch.folios[i] = NULL; in ceph_process_folio_batch()
1379 ceph_wbc->fbatch.folios[i] = NULL; in ceph_process_folio_batch()
1389 void ceph_shift_unused_folios_left(struct folio_batch *fbatch) in ceph_shift_unused_folios_left() argument
1394 for (j = 0; j < folio_batch_count(fbatch); j++) { in ceph_shift_unused_folios_left()
1395 if (!fbatch->folios[j]) in ceph_shift_unused_folios_left()
1399 fbatch->folios[n] = fbatch->folios[j]; in ceph_shift_unused_folios_left()
1405 fbatch->nr = n; in ceph_shift_unused_folios_left()
1454 for (i = 0; i < folio_batch_count(&ceph_wbc->fbatch); i++) { in ceph_submit_write()
1455 struct folio *folio = ceph_wbc->fbatch.folios[i]; in ceph_submit_write()
1613 &ceph_wbc->fbatch))) { in ceph_wait_until_current_writes_complete()
1615 page = &ceph_wbc->fbatch.folios[i]->page; in ceph_wait_until_current_writes_complete()
1621 folio_batch_release(&ceph_wbc->fbatch); in ceph_wait_until_current_writes_complete()
1681 &ceph_wbc.fbatch); in ceph_writepages_start()
1698 ceph_shift_unused_folios_left(&ceph_wbc.fbatch); in ceph_writepages_start()
1700 if (folio_batch_count(&ceph_wbc.fbatch) == 0 && in ceph_writepages_start()
1714 if (folio_batch_count(&ceph_wbc.fbatch) > 0) { in ceph_writepages_start()
1716 folio_batch_count(&ceph_wbc.fbatch); in ceph_writepages_start()
1731 (int)ceph_wbc.fbatch.nr, in ceph_writepages_start()
1732 ceph_wbc.fbatch.nr ? ceph_wbc.fbatch.folios[0] : NULL); in ceph_writepages_start()
1733 folio_batch_release(&ceph_wbc.fbatch); in ceph_writepages_start()