Home
last modified time | relevance | path

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

12

/include/linux/
Dfrontswap.h12 int (*store)(unsigned, pgoff_t, struct page *); /* store a page */
13 int (*load)(unsigned, pgoff_t, struct page *); /* load a page */
14 void (*invalidate_page)(unsigned, pgoff_t); /* page no longer needed */
23 extern void __frontswap_invalidate_page(unsigned, pgoff_t);
79 static inline void frontswap_invalidate_page(unsigned type, pgoff_t offset) in frontswap_invalidate_page()
Dpagemap.h22 pgoff_t start, pgoff_t end);
32 pgoff_t start, pgoff_t end);
530 pgoff_t page_cache_next_miss(struct address_space *mapping,
531 pgoff_t index, unsigned long max_scan);
532 pgoff_t page_cache_prev_miss(struct address_space *mapping,
533 pgoff_t index, unsigned long max_scan);
546 struct folio *__filemap_get_folio(struct address_space *mapping, pgoff_t index,
548 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index,
562 pgoff_t index) in filemap_get_folio()
580 pgoff_t index) in filemap_lock_folio()
[all …]
Dshmem_fs.h22 pgoff_t fallocend; /* highest fallocate endindex */
94 pgoff_t index, gfp_t gfp_mask);
99 pgoff_t index, bool shmem_huge_force);
108 pgoff_t start, pgoff_t end);
119 int shmem_get_folio(struct inode *inode, pgoff_t index, struct folio **foliop,
123 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
145 static inline pgoff_t shmem_fallocend(struct inode *inode, pgoff_t eof) in shmem_fallocend()
Ddax.h28 long (*direct_access)(struct dax_device *, pgoff_t, long,
37 int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
42 size_t (*recovery_write)(struct dax_device *dax_dev, pgoff_t pgoff,
67 size_t dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff,
121 pgoff_t pgoff, void *addr, size_t bytes, struct iov_iter *i) in dax_recovery_write()
174 …ct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start, pgoff_t nr_pages) in dax_layout_busy_page_range()
228 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
230 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
232 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
234 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
[all …]
Dswapops.h86 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) in swp_entry()
107 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset()
178 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry()
183 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry()
199 static inline swp_entry_t make_readable_device_exclusive_entry(pgoff_t offset) in make_readable_device_exclusive_entry()
204 static inline swp_entry_t make_writable_device_exclusive_entry(pgoff_t offset) in make_writable_device_exclusive_entry()
220 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry()
225 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry()
240 static inline swp_entry_t make_readable_device_exclusive_entry(pgoff_t offset) in make_readable_device_exclusive_entry()
245 static inline swp_entry_t make_writable_device_exclusive_entry(pgoff_t offset) in make_writable_device_exclusive_entry()
[all …]
Dpagevec.h30 struct address_space *mapping, pgoff_t *index, pgoff_t end,
33 struct address_space *mapping, pgoff_t *index, xa_mark_t tag) in pagevec_lookup_tag()
35 return pagevec_lookup_range_tag(pvec, mapping, index, (pgoff_t)-1, tag); in pagevec_lookup_tag()
Dcleancache.h33 pgoff_t, struct page *);
35 pgoff_t, struct page *);
36 void (*invalidate_page)(int, struct cleancache_filekey, pgoff_t);
Dpagewalk.h115 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index,
116 pgoff_t nr, const struct mm_walk_ops *ops,
Dwriteback.h375 pgoff_t start, pgoff_t end);
382 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.h498 pgoff_t pgoff; /* Logical page offset based on vma */
573 pgoff_t start_pgoff, pgoff_t end_pgoff);
2066 extern pgoff_t __page_file_index(struct page *page);
2072 static inline pgoff_t page_index(struct page *page) in page_index()
2206 pgoff_t start, pgoff_t nr, bool even_cows);
2228 pgoff_t start, pgoff_t nr, bool even_cows) { } in unmap_mapping_pages()
2961 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert,
2964 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert) in vma_adjust()
2970 unsigned long vm_flags, struct anon_vma *, struct file *, pgoff_t,
2980 unsigned long addr, unsigned long len, pgoff_t pgoff,
[all …]
Drmap.h375 pgoff_t pgoff;
428 int pfn_mkclean_range(unsigned long pfn, unsigned long nr_pages, pgoff_t pgoff,
Ddevice-mapper.h150 typedef long (*dm_dax_direct_access_fn) (struct dm_target *ti, pgoff_t pgoff,
153 typedef int (*dm_dax_zero_page_range_fn)(struct dm_target *ti, pgoff_t pgoff,
161 typedef size_t (*dm_dax_recovery_write_fn)(struct dm_target *ti, pgoff_t pgoff,
Dswap.h190 pgoff_t start_page;
191 pgoff_t nr_pages;
510 extern sector_t swapdev_block(int, pgoff_t);
Dtypes.h131 #define pgoff_t unsigned long macro
Dfsverity.h105 pgoff_t index,
Dmm_types.h107 pgoff_t index; /* Our offset within mapping. */
295 pgoff_t index;
Dnetfs.h192 pgoff_t no_unlock_folio; /* Don't unlock this folio after read */
/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 …]
Derofs.h88 __field(pgoff_t, index )
113 TP_PROTO(struct inode *inode, pgoff_t start, unsigned int nrpage,
121 __field(pgoff_t, start )
Df2fs.h1044 __field(pgoff_t, index)
1232 __field(pgoff_t, index)
1295 TP_PROTO(struct inode *inode, struct inode *cow_inode, pgoff_t index,
1304 __field(pgoff_t, index)
1332 TP_PROTO(struct inode *inode, pgoff_t index, unsigned long ret),
1339 __field(pgoff_t, index)
1371 __field(pgoff_t, writeback_index)
1422 TP_PROTO(struct inode *inode, pgoff_t start, unsigned int nrpage),
1429 __field(pgoff_t, start)
1854 TP_PROTO(struct inode *inode, pgoff_t cluster_idx,
[all …]
/include/drm/ttm/
Dttm_kmap_iter.h32 struct iosys_map *dmap, pgoff_t i);
Dttm_resource.h280 pgoff_t i;
281 pgoff_t end;
282 pgoff_t offs;
Dttm_bo_api.h457 pgoff_t num_prefault);
/include/trace/hooks/
Dmm.h57 TP_PROTO(struct address_space *mapping, pgoff_t index,
154 TP_PROTO(unsigned int ra_pages, pgoff_t pgoff,
155 pgoff_t *start, unsigned int *size, unsigned int *async_size),

12