Lines Matching defs:swapcache
3413 * the swapcache if there is little hope that we can reuse.
3654 * If we want to map a page that's in the swapcache writable, we
3656 * user. Try freeing the swapcache to get rid of the swapcache
3741 struct folio *swapcache, *folio = NULL;
3809 swapcache = folio;
3828 /* skip swapcache */
3860 swapcache = folio;
3882 * hwpoisoned dirty swapcache pages are kept for killing
3893 if (swapcache) {
3896 * swapcache from under us. The page pin, and pte_same test
3898 * swapcache, we need to check that the page's swap has not
3921 * If we want to map a page that's in the swapcache writable, we
3926 if ((vmf->flags & FAULT_FLAG_WRITE) && folio == swapcache &&
3948 * must never point at an anonymous page in the swapcache that is
3950 * no filesystem set PG_mappedtodisk on a page in the swapcache. Sanity
3963 if (folio != swapcache) {
3966 * swapcache -> certainly exclusive.
3975 * So if we stumble over such a page in the swapcache
4001 * Remove the swap entry and conditionally try to free up the swapcache.
4016 * exposing them to the swapcache or because the swap entry indicates
4035 if (unlikely(folio != swapcache && swapcache)) {
4048 if (folio != swapcache && swapcache) {
4055 * parallel locked swapcache.
4057 folio_unlock(swapcache);
4058 folio_put(swapcache);
4087 if (folio != swapcache && swapcache) {
4088 folio_unlock(swapcache);
4089 folio_put(swapcache);