Lines Matching refs:index
62 static inline unsigned long _page_hashfn(struct address_space * mapping, unsigned long index) in _page_hashfn() argument
66 return s(i+index) & (PAGE_HASH_SIZE-1); in _page_hashfn()
71 #define page_hash(mapping,index) (page_hash_table+_page_hashfn(mapping,index)) argument
74 unsigned long index, struct page **hash);
75 #define find_get_page(mapping, index) \ argument
76 __find_get_page(mapping, index, page_hash(mapping, index))
78 unsigned long index, struct page **hash);
80 unsigned long index, unsigned int gfp_mask);
84 #define find_lock_page(mapping, index) \ argument
85 __find_lock_page(mapping, index, page_hash(mapping, index))
88 …ern void add_to_page_cache(struct page * page, struct address_space *mapping, unsigned long index);
89 …d add_to_page_cache_locked(struct page * page, struct address_space *mapping, unsigned long index);
90 …e_unique(struct page * page, struct address_space *mapping, unsigned long index, struct page **has…
105 static inline struct page *grab_cache_page(struct address_space *mapping, unsigned long index) in grab_cache_page() argument
107 return find_or_create_page(mapping, index, mapping->gfp_mask); in grab_cache_page()