Home
last modified time | relevance | path

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

12

/include/linux/
Dpagevec.h30 pgoff_t start, unsigned nr_entries,
31 pgoff_t *indices);
35 pgoff_t *start, pgoff_t end);
38 pgoff_t *start) in pagevec_lookup()
40 return pagevec_lookup_range(pvec, mapping, start, (pgoff_t)-1); in pagevec_lookup()
44 struct address_space *mapping, pgoff_t *index, pgoff_t end,
47 struct address_space *mapping, pgoff_t *index, pgoff_t end,
50 struct address_space *mapping, pgoff_t *index, xa_mark_t tag) in pagevec_lookup_tag()
52 return pagevec_lookup_range_tag(pvec, mapping, index, (pgoff_t)-1, tag); in pagevec_lookup_tag()
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()
Dpagemap.h303 pgoff_t page_cache_next_miss(struct address_space *mapping,
304 pgoff_t index, unsigned long max_scan);
305 pgoff_t page_cache_prev_miss(struct address_space *mapping,
306 pgoff_t index, unsigned long max_scan);
317 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t offset,
331 pgoff_t offset) in find_get_page()
337 pgoff_t offset, int fgp_flags) in find_get_page_flags()
356 pgoff_t index) in find_lock_page()
375 pgoff_t index) in find_lock_head()
400 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);
123 int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff);
183 …ct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start, pgoff_t nr_pages) in dax_layout_busy_page_range()
221 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
223 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
225 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
227 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
[all …]
Dshmem_fs.h79 pgoff_t index, gfp_t gfp_mask);
87 pgoff_t start, pgoff_t end);
100 extern int shmem_getpage(struct inode *inode, pgoff_t index,
104 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
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.h392 pgoff_t start, pgoff_t end);
399 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.h536 pgoff_t pgoff; /* Logical page offset based on vma */
600 pgoff_t start_pgoff, pgoff_t end_pgoff);
1645 extern pgoff_t __page_file_index(struct page *page);
1651 static inline pgoff_t page_index(struct page *page) in page_index()
1719 pgoff_t first_index; /* Lowest page->index to unmap */
1720 pgoff_t last_index; /* Highest page->index to unmap */
1845 pgoff_t start, pgoff_t nr, bool even_cows);
1866 pgoff_t start, pgoff_t nr, bool even_cows) { } in unmap_mapping_pages()
2672 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert,
2675 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert) in vma_adjust()
[all …]
Dswap.h152 pgoff_t start_page;
153 pgoff_t nr_pages;
440 struct page *find_get_incore_page(struct address_space *mapping, pgoff_t index);
485 extern sector_t swapdev_block(int, pgoff_t);
586 struct page *find_get_incore_page(struct address_space *mapping, pgoff_t index) in find_get_incore_page()
Dfsverity.h94 pgoff_t index,
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()
Ddevice-mapper.h140 typedef long (*dm_dax_direct_access_fn) (struct dm_target *ti, pgoff_t pgoff,
142 typedef size_t (*dm_dax_copy_iter_fn)(struct dm_target *ti, pgoff_t pgoff,
144 typedef int (*dm_dax_zero_page_range_fn)(struct dm_target *ti, pgoff_t pgoff,
Dtypes.h131 #define pgoff_t unsigned long macro
Dfscache-cache.h219 pgoff_t store_limit; /* don't write more than this */
387 pgoff_t store_limit; /* current storage limit */
Dfs.h473 pgoff_t writeback_index;
919 pgoff_t start; /* where readahead started */
932 static inline int ra_has_index(struct file_ra_state *ra, pgoff_t index) in ra_has_index()
2738 pgoff_t start, pgoff_t end);
2741 pgoff_t start, pgoff_t end,
2752 pgoff_t start, pgoff_t end);
Dfscrypt.h239 int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk,
508 static inline int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, in fscrypt_zeroout_range()
/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.h374 __field(pgoff_t, page )
461 __field(pgoff_t, page )
487 __field(pgoff_t, page )
505 void **results, int n, pgoff_t store_limit),
512 __field(pgoff_t, results0 )
514 __field(pgoff_t, store_limit )
520 __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 )
Dafs.h946 pgoff_t first, pgoff_t last, unsigned int offset),
952 __field(pgoff_t, first )
953 __field(pgoff_t, last )
978 TP_PROTO(struct afs_call *call, pgoff_t first, pgoff_t last,
979 pgoff_t cursor, int ret),
985 __field(pgoff_t, first )
986 __field(pgoff_t, last )
987 __field(pgoff_t, cursor )
1028 pgoff_t page, unsigned long priv),
1035 __field(pgoff_t, page )
Df2fs.h1033 __field(pgoff_t, index)
1225 __field(pgoff_t, index)
1302 TP_PROTO(struct inode *inode, pgoff_t index, unsigned long ret),
1309 __field(pgoff_t, index)
1341 __field(pgoff_t, writeback_index)
1392 TP_PROTO(struct inode *inode, pgoff_t start, unsigned int nrpage),
1399 __field(pgoff_t, start)
1824 TP_PROTO(struct inode *inode, pgoff_t cluster_idx,
1832 __field(pgoff_t, idx)
1855 TP_PROTO(struct inode *inode, pgoff_t cluster_idx,
[all …]
/include/drm/ttm/
Dttm_bo_api.h623 pgoff_t num_prefault,
624 pgoff_t fault_page_size);
/include/trace/hooks/
Dmm.h72 TP_PROTO(struct address_space *mapping, pgoff_t index,
226 TP_PROTO(unsigned int ra_pages, pgoff_t pgoff,
227 pgoff_t *start, unsigned int *size, unsigned int *async_size),

12