Lines Matching defs:folio
456 * Find the folio with 'index' in the journal's mapping. Search the folio for
458 * folio so the page cache can reclaim it. We grabbed a
459 * reference on this folio twice, first when we did a grab_cache_page()
460 * to obtain the folio to add it to the bio and second when we do a
461 * filemap_get_folio() here to get the folio to wait on while I/O on it is being
463 * This function is also used to free up a folio we might've grabbed but not
466 * our references to the folio.
473 struct folio *folio;
475 folio = filemap_get_folio(jd->jd_inode->i_mapping, index);
477 folio_wait_locked(folio);
478 if (folio_test_error(folio))
482 *done = gfs2_jhead_pg_srch(jd, head, &folio->page);
485 folio_put_refs(folio, 2);