Lines Matching refs:pgoff_t
318 pgoff_t page_cache_next_miss(struct address_space *mapping,
319 pgoff_t index, unsigned long max_scan);
320 pgoff_t page_cache_prev_miss(struct address_space *mapping,
321 pgoff_t index, unsigned long max_scan);
333 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t offset,
347 pgoff_t offset) in find_get_page()
353 pgoff_t offset, int fgp_flags) in find_get_page_flags()
372 pgoff_t index) in find_lock_page()
391 pgoff_t index) in find_lock_head()
416 pgoff_t index, gfp_t gfp_mask) in find_or_create_page()
437 pgoff_t index) in grab_cache_page_nowait()
445 static inline bool thp_contains(struct page *head, pgoff_t index) in thp_contains()
457 static inline struct page *find_subpage(struct page *head, pgoff_t index) in find_subpage()
466 unsigned find_get_entries(struct address_space *mapping, pgoff_t start,
467 pgoff_t end, struct pagevec *pvec, pgoff_t *indices);
468 unsigned find_get_pages_range(struct address_space *mapping, pgoff_t *start,
469 pgoff_t end, unsigned int nr_pages,
472 pgoff_t *start, unsigned int nr_pages, in find_get_pages()
475 return find_get_pages_range(mapping, start, (pgoff_t)-1, nr_pages, in find_get_pages()
478 unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t start,
480 unsigned find_get_pages_range_tag(struct address_space *mapping, pgoff_t *index,
481 pgoff_t end, xa_mark_t tag, unsigned int nr_pages,
484 pgoff_t *index, xa_mark_t tag, unsigned int nr_pages, in find_get_pages_tag()
487 return find_get_pages_range_tag(mapping, index, (pgoff_t)-1, tag, in find_get_pages_tag()
492 pgoff_t index, unsigned flags);
498 pgoff_t index) in grab_cache_page()
504 pgoff_t index, filler_t *filler, void *data);
506 pgoff_t index, gfp_t gfp_mask);
511 pgoff_t index, void *data) in read_mapping_page()
520 static inline pgoff_t page_to_index(struct page *page) in page_to_index()
535 extern pgoff_t hugetlb_basepage_index(struct page *page);
541 static inline pgoff_t page_to_pgoff(struct page *page) in page_to_pgoff()
561 extern pgoff_t linear_hugepage_index(struct vm_area_struct *vma,
564 static inline pgoff_t linear_page_index(struct vm_area_struct *vma, in linear_page_index()
567 pgoff_t pgoff; in linear_page_index()
741 pgoff_t index, gfp_t gfp_mask);
743 pgoff_t index, gfp_t gfp_mask);
757 struct address_space *mapping, pgoff_t offset, gfp_t gfp_mask) in add_to_page_cache()
789 pgoff_t _index;
827 struct file_ra_state *ra, struct file *file, pgoff_t index, in page_cache_sync_readahead()
851 struct page *page, pgoff_t index, unsigned long req_count) in page_cache_async_readahead()
961 static inline pgoff_t readahead_index(struct readahead_control *rac) in readahead_index()
1002 pgoff_t index = size >> PAGE_SHIFT; in page_mkwrite_check_truncate()