diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-08-23 17:04:05 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-12-27 11:15:26 -0500 |
commit | c09680de5f177955d97fcca4ec882d104ee8ff62 (patch) | |
tree | fbc64bfe7f6b544f44ff0bc669dbf12227e6b1b2 /include | |
parent | 2596a427463a36ce161ff0303b725d1f3946ffd2 (diff) |
add_to_page_cache_lru_vec()
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pagemap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index b61fab5a1317..90f74071d678 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -617,6 +617,11 @@ int add_to_page_cache(struct page *page, struct address_space *mapping, pgoff_t index, gfp_t gfp_mask); int add_to_page_cache_lru(struct page *page, struct address_space *mapping, pgoff_t index, gfp_t gfp_mask); +int add_to_page_cache_lru_vec(struct address_space *mapping, + struct page **pages, + unsigned nr_pages, + pgoff_t offset, gfp_t gfp_mask); + extern void delete_from_page_cache(struct page *page); extern void __delete_from_page_cache(struct page *page, void *shadow); int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask); |