Lines Matching refs:pgoff_t

320 pgoff_t page_cache_next_miss(struct address_space *mapping,
321 pgoff_t index, unsigned long max_scan);
322 pgoff_t page_cache_prev_miss(struct address_space *mapping,
323 pgoff_t index, unsigned long max_scan);
335 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t offset,
349 pgoff_t offset) in find_get_page()
355 pgoff_t offset, int fgp_flags) in find_get_page_flags()
374 pgoff_t index) in find_lock_page()
393 pgoff_t index) in find_lock_head()
418 pgoff_t index, gfp_t gfp_mask) in find_or_create_page()
439 pgoff_t index) in grab_cache_page_nowait()
447 static inline bool thp_contains(struct page *head, pgoff_t index) in thp_contains()
459 static inline struct page *find_subpage(struct page *head, pgoff_t index) in find_subpage()
468 unsigned find_get_entries(struct address_space *mapping, pgoff_t start,
469 pgoff_t end, struct pagevec *pvec, pgoff_t *indices);
470 unsigned find_get_pages_range(struct address_space *mapping, pgoff_t *start,
471 pgoff_t end, unsigned int nr_pages,
474 pgoff_t *start, unsigned int nr_pages, in find_get_pages()
477 return find_get_pages_range(mapping, start, (pgoff_t)-1, nr_pages, in find_get_pages()
480 unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t start,
482 unsigned find_get_pages_range_tag(struct address_space *mapping, pgoff_t *index,
483 pgoff_t end, xa_mark_t tag, unsigned int nr_pages,
486 pgoff_t *index, xa_mark_t tag, unsigned int nr_pages, in find_get_pages_tag()
489 return find_get_pages_range_tag(mapping, index, (pgoff_t)-1, tag, in find_get_pages_tag()
494 pgoff_t index, unsigned flags);
500 pgoff_t index) in grab_cache_page()
506 pgoff_t index, filler_t *filler, void *data);
508 pgoff_t index, gfp_t gfp_mask);
513 pgoff_t index, void *data) in read_mapping_page()
522 static inline pgoff_t page_to_index(struct page *page) in page_to_index()
537 extern pgoff_t hugetlb_basepage_index(struct page *page);
543 static inline pgoff_t page_to_pgoff(struct page *page) in page_to_pgoff()
563 extern pgoff_t linear_hugepage_index(struct vm_area_struct *vma,
566 static inline pgoff_t linear_page_index(struct vm_area_struct *vma, in linear_page_index()
569 pgoff_t pgoff; in linear_page_index()
793 pgoff_t index, gfp_t gfp_mask);
795 pgoff_t index, gfp_t gfp_mask);
809 struct address_space *mapping, pgoff_t offset, gfp_t gfp_mask) in add_to_page_cache()
841 pgoff_t _index;
879 struct file_ra_state *ra, struct file *file, pgoff_t index, in page_cache_sync_readahead()
903 struct page *page, pgoff_t index, unsigned long req_count) in page_cache_async_readahead()
1013 static inline pgoff_t readahead_index(struct readahead_control *rac) in readahead_index()
1054 pgoff_t index = size >> PAGE_SHIFT; in page_mkwrite_check_truncate()