Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * include/linux/mpage.h
0004  *
0005  * Contains declarations related to preparing and submitting BIOS which contain
0006  * multiple pagecache pages.
0007  */
0008 
0009 /*
0010  * (And no, it doesn't do the #ifdef __MPAGE_H thing, and it doesn't do
0011  * nested includes.  Get it right in the .c file).
0012  */
0013 #ifdef CONFIG_BLOCK
0014 
0015 struct writeback_control;
0016 struct readahead_control;
0017 
0018 void mpage_readahead(struct readahead_control *, get_block_t get_block);
0019 int mpage_read_folio(struct folio *folio, get_block_t get_block);
0020 int mpage_writepages(struct address_space *mapping,
0021         struct writeback_control *wbc, get_block_t get_block);
0022 
0023 #endif