Home
last modified time | relevance | path

Searched refs:pgoff_t (Results 1 – 25 of 35) sorted by relevance

12

/include/linux/
Dfrontswap.h19 int (*store)(unsigned, pgoff_t, struct page *); /* store a page */
20 int (*load)(unsigned, pgoff_t, struct page *); /* load a page */
21 void (*invalidate_page)(unsigned, pgoff_t); /* page no longer needed */
33 extern bool __frontswap_test(struct swap_info_struct *, pgoff_t);
37 extern void __frontswap_invalidate_page(unsigned, pgoff_t);
48 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test()
71 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test()
103 static inline void frontswap_invalidate_page(unsigned type, pgoff_t offset) in frontswap_invalidate_page()
Dpagevec.h31 pgoff_t *start, pgoff_t end);
34 pgoff_t *start) in pagevec_lookup()
36 return pagevec_lookup_range(pvec, mapping, start, (pgoff_t)-1); in pagevec_lookup()
40 struct address_space *mapping, pgoff_t *index, pgoff_t end,
43 struct address_space *mapping, pgoff_t *index, xa_mark_t tag) in pagevec_lookup_tag()
45 return pagevec_lookup_range_tag(pvec, mapping, index, (pgoff_t)-1, tag); in pagevec_lookup_tag()
Dpagemap.h318 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()
[all …]
Ddax.h23 long (*direct_access)(struct dax_device *, pgoff_t, long,
32 size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t,
35 size_t (*copy_to_iter)(struct dax_device *, pgoff_t, void *, size_t,
38 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
110 int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff);
156 …ct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start, pgoff_t nr_pages) in dax_layout_busy_page_range()
194 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
196 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
198 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
200 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
[all …]
Dshmem_fs.h21 pgoff_t fallocend; /* highest fallocate endindex */
84 pgoff_t index, gfp_t gfp_mask);
90 struct inode *inode, pgoff_t index);
97 pgoff_t start, pgoff_t end);
108 extern int shmem_getpage(struct inode *inode, pgoff_t index,
112 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
134 static inline pgoff_t shmem_fallocend(struct inode *inode, pgoff_t eof) in shmem_fallocend()
Dswapops.h39 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) in swp_entry()
60 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset()
110 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry()
115 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry()
131 static inline swp_entry_t make_readable_device_exclusive_entry(pgoff_t offset) in make_readable_device_exclusive_entry()
136 static inline swp_entry_t make_writable_device_exclusive_entry(pgoff_t offset) in make_writable_device_exclusive_entry()
152 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry()
157 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry()
172 static inline swp_entry_t make_readable_device_exclusive_entry(pgoff_t offset) in make_readable_device_exclusive_entry()
177 static inline swp_entry_t make_writable_device_exclusive_entry(pgoff_t offset) in make_writable_device_exclusive_entry()
[all …]
Dcleancache.h34 pgoff_t, struct page *);
36 pgoff_t, struct page *);
37 void (*invalidate_page)(int, struct cleancache_filekey, pgoff_t);
Dpagewalk.h104 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index,
105 pgoff_t nr, const struct mm_walk_ops *ops,
Dwriteback.h387 pgoff_t start, pgoff_t end);
394 pgoff_t start, pgoff_t end);
Dnfs_page.h46 pgoff_t wb_index; /* Offset >> PAGE_SHIFT */
139 extern void nfs_pageio_cond_complete(struct nfs_pageio_descriptor *, pgoff_t);
Dmm.h226 pgoff_t index, gfp_t gfp, void **shadowp);
540 pgoff_t pgoff; /* Logical page offset based on vma */
616 pgoff_t start_pgoff, pgoff_t end_pgoff);
1711 extern pgoff_t __page_file_index(struct page *page);
1717 static inline pgoff_t page_index(struct page *page) in page_index()
1785 pgoff_t first_index; /* Lowest page->index to unmap */
1786 pgoff_t last_index; /* Highest page->index to unmap */
1843 pgoff_t start, pgoff_t nr, bool even_cows);
1864 pgoff_t start, pgoff_t nr, bool even_cows) { } in unmap_mapping_pages()
2609 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert,
[all …]
Dswap.h165 pgoff_t start_page;
166 pgoff_t nr_pages;
466 struct page *find_get_incore_page(struct address_space *mapping, pgoff_t index);
510 extern sector_t swapdev_block(int, pgoff_t);
629 struct page *find_get_incore_page(struct address_space *mapping, pgoff_t index) in find_get_incore_page()
Dfsverity.h94 pgoff_t index,
Dtypes.h131 #define pgoff_t unsigned long macro
Ddevice-mapper.h149 typedef long (*dm_dax_direct_access_fn) (struct dm_target *ti, pgoff_t pgoff,
151 typedef size_t (*dm_dax_copy_iter_fn)(struct dm_target *ti, pgoff_t pgoff,
153 typedef int (*dm_dax_zero_page_range_fn)(struct dm_target *ti, pgoff_t pgoff,
Dnetfs.h148 pgoff_t no_unlock_page; /* Don't unlock this page after read */
Dfscache-cache.h218 pgoff_t store_limit; /* don't write more than this */
387 pgoff_t store_limit; /* current storage limit */
/include/trace/events/
Dfs_dax.h12 pgoff_t max_pgoff, int result),
20 __field(pgoff_t, pgoff)
21 __field(pgoff_t, max_pgoff)
57 pgoff_t max_pgoff, int result), \
160 __field(pgoff_t, pgoff)
228 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index),
232 __field(pgoff_t, start_index)
233 __field(pgoff_t, end_index)
253 TP_PROTO(struct inode *inode, pgoff_t start_index, pgoff_t end_index),\
260 TP_PROTO(struct inode *inode, pgoff_t pgoff, pgoff_t pglen),
[all …]
Dfscache.h364 __field(pgoff_t, page )
452 __field(pgoff_t, page )
478 __field(pgoff_t, page )
495 void **results, int n, pgoff_t store_limit),
502 __field(pgoff_t, results0 )
504 __field(pgoff_t, store_limit )
510 __entry->results0 = results[0] ? ((struct page *)results[0])->index : (pgoff_t)-1;
Derofs.h91 __field(pgoff_t, index )
116 TP_PROTO(struct inode *inode, pgoff_t start, unsigned int nrpage,
124 __field(pgoff_t, start )
Df2fs.h1038 __field(pgoff_t, index)
1230 __field(pgoff_t, index)
1293 TP_PROTO(struct inode *inode, struct inode *cow_inode, pgoff_t index,
1302 __field(pgoff_t, index)
1330 TP_PROTO(struct inode *inode, pgoff_t index, unsigned long ret),
1337 __field(pgoff_t, index)
1369 __field(pgoff_t, writeback_index)
1420 TP_PROTO(struct inode *inode, pgoff_t start, unsigned int nrpage),
1427 __field(pgoff_t, start)
1764 TP_PROTO(struct inode *inode, pgoff_t cluster_idx,
[all …]
/include/drm/ttm/
Dttm_resource.h197 pgoff_t i;
198 pgoff_t end;
199 pgoff_t offs;
Dttm_kmap_iter.h32 struct dma_buf_map *dmap, pgoff_t i);
Dttm_bo_api.h597 pgoff_t num_prefault);
/include/trace/hooks/
Dmm.h114 TP_PROTO(unsigned int ra_pages, pgoff_t pgoff,
115 pgoff_t *start, unsigned int *size, unsigned int *async_size),

12