.. | .. |
---|
9 | 9 | #ifndef _LINUX_PAGEVEC_H |
---|
10 | 10 | #define _LINUX_PAGEVEC_H |
---|
11 | 11 | |
---|
| 12 | +#include <linux/xarray.h> |
---|
| 13 | + |
---|
12 | 14 | /* 15 pointers + header align the pagevec structure to a power of two */ |
---|
13 | 15 | #define PAGEVEC_SIZE 15 |
---|
14 | 16 | |
---|
.. | .. |
---|
40 | 42 | |
---|
41 | 43 | unsigned pagevec_lookup_range_tag(struct pagevec *pvec, |
---|
42 | 44 | struct address_space *mapping, pgoff_t *index, pgoff_t end, |
---|
43 | | - int tag); |
---|
| 45 | + xa_mark_t tag); |
---|
44 | 46 | unsigned pagevec_lookup_range_nr_tag(struct pagevec *pvec, |
---|
45 | 47 | struct address_space *mapping, pgoff_t *index, pgoff_t end, |
---|
46 | | - int tag, unsigned max_pages); |
---|
| 48 | + xa_mark_t tag, unsigned max_pages); |
---|
47 | 49 | static inline unsigned pagevec_lookup_tag(struct pagevec *pvec, |
---|
48 | | - struct address_space *mapping, pgoff_t *index, int tag) |
---|
| 50 | + struct address_space *mapping, pgoff_t *index, xa_mark_t tag) |
---|
49 | 51 | { |
---|
50 | 52 | return pagevec_lookup_range_tag(pvec, mapping, index, (pgoff_t)-1, tag); |
---|
51 | 53 | } |
---|