diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 3d0d7d285237..50a0ed1d1806 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -1138,12 +1138,20 @@ int do_page_cache_readahead(struct address_space *mapping, struct file *filp, | |||
1138 | pgoff_t offset, unsigned long nr_to_read); | 1138 | pgoff_t offset, unsigned long nr_to_read); |
1139 | int force_page_cache_readahead(struct address_space *mapping, struct file *filp, | 1139 | int force_page_cache_readahead(struct address_space *mapping, struct file *filp, |
1140 | pgoff_t offset, unsigned long nr_to_read); | 1140 | pgoff_t offset, unsigned long nr_to_read); |
1141 | unsigned long page_cache_readahead_ondemand(struct address_space *mapping, | 1141 | |
1142 | struct file_ra_state *ra, | 1142 | void page_cache_sync_readahead(struct address_space *mapping, |
1143 | struct file *filp, | 1143 | struct file_ra_state *ra, |
1144 | struct page *page, | 1144 | struct file *filp, |
1145 | pgoff_t offset, | 1145 | pgoff_t offset, |
1146 | unsigned long size); | 1146 | unsigned long size); |
1147 | |||
1148 | void page_cache_async_readahead(struct address_space *mapping, | ||
1149 | struct file_ra_state *ra, | ||
1150 | struct file *filp, | ||
1151 | struct page *pg, | ||
1152 | pgoff_t offset, | ||
1153 | unsigned long size); | ||
1154 | |||
1147 | unsigned long max_sane_readahead(unsigned long nr); | 1155 | unsigned long max_sane_readahead(unsigned long nr); |
1148 | 1156 | ||
1149 | /* Do stack extension */ | 1157 | /* Do stack extension */ |