Lines Matching refs:wbc
83 static int __gfs2_writepage(struct folio *folio, struct writeback_control *wbc, in __gfs2_writepage() argument
87 int ret = mapping->a_ops->writepage(&folio->page, wbc); in __gfs2_writepage()
101 struct writeback_control *wbc, in gfs2_ail1_start_one() argument
143 ret = write_cache_pages(mapping, wbc, __gfs2_writepage, mapping); in gfs2_ail1_start_one()
152 if (ret || wbc->nr_to_write <= 0) in gfs2_ail1_start_one()
201 void gfs2_ail1_flush(struct gfs2_sbd *sdp, struct writeback_control *wbc) in gfs2_ail1_flush() argument
209 trace_gfs2_ail_flush(sdp, wbc, 1); in gfs2_ail1_flush()
221 if (wbc->nr_to_write <= 0) in gfs2_ail1_flush()
223 ret = gfs2_ail1_start_one(sdp, wbc, tr, &plug); in gfs2_ail1_flush()
237 trace_gfs2_ail_flush(sdp, wbc, 0); in gfs2_ail1_flush()
247 struct writeback_control wbc = { in gfs2_ail1_start() local
254 return gfs2_ail1_flush(sdp, &wbc); in gfs2_ail1_start()