linux/mm/folio-compat.c

/*
 * Compatibility functions which bloat the callers too much to make inline.
 * All of the callers of these functions should be converted to use folios
 * eventually.
 */

#include <linux/migrate.h>
#include <linux/pagemap.h>
#include <linux/rmap.h>
#include <linux/swap.h>
#include "internal.h"

void unlock_page(struct page *page)
{}
EXPORT_SYMBOL();

void end_page_writeback(struct page *page)
{}
EXPORT_SYMBOL();

void wait_on_page_writeback(struct page *page)
{}
EXPORT_SYMBOL_GPL();

void wait_for_stable_page(struct page *page)
{}
EXPORT_SYMBOL_GPL();

void mark_page_accessed(struct page *page)
{}
EXPORT_SYMBOL();

void set_page_writeback(struct page *page)
{}
EXPORT_SYMBOL();

bool set_page_dirty(struct page *page)
{}
EXPORT_SYMBOL();

bool clear_page_dirty_for_io(struct page *page)
{}
EXPORT_SYMBOL();

bool redirty_page_for_writepage(struct writeback_control *wbc,
		struct page *page)
{}
EXPORT_SYMBOL();

int add_to_page_cache_lru(struct page *page, struct address_space *mapping,
		pgoff_t index, gfp_t gfp)
{}
EXPORT_SYMBOL();

noinline
struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index,
		fgf_t fgp_flags, gfp_t gfp)
{}
EXPORT_SYMBOL();

struct page *grab_cache_page_write_begin(struct address_space *mapping,
					pgoff_t index)
{}
EXPORT_SYMBOL();

bool isolate_lru_page(struct page *page)
{}

void putback_lru_page(struct page *page)
{}