Home
last modified time | relevance | path

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

12345

/linux-4.19.296/include/linux/
Dpagemap.h244 pgoff_t page_cache_next_hole(struct address_space *mapping,
245 pgoff_t index, unsigned long max_scan);
246 pgoff_t page_cache_prev_hole(struct address_space *mapping,
247 pgoff_t index, unsigned long max_scan);
256 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t offset,
270 pgoff_t offset) in find_get_page()
276 pgoff_t offset, int fgp_flags) in find_get_page_flags()
295 pgoff_t offset) in find_lock_page()
320 pgoff_t offset, gfp_t gfp_mask) in find_or_create_page()
341 pgoff_t index) in grab_cache_page_nowait()
[all …]
Dpagevec.h28 pgoff_t start, unsigned nr_entries,
29 pgoff_t *indices);
33 pgoff_t *start, pgoff_t end);
36 pgoff_t *start) in pagevec_lookup()
38 return pagevec_lookup_range(pvec, mapping, start, (pgoff_t)-1); in pagevec_lookup()
42 struct address_space *mapping, pgoff_t *index, pgoff_t end,
45 struct address_space *mapping, pgoff_t *index, pgoff_t end,
48 struct address_space *mapping, pgoff_t *index, int tag) in pagevec_lookup_tag()
50 return pagevec_lookup_range_tag(pvec, mapping, index, (pgoff_t)-1, tag); in pagevec_lookup_tag()
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 */
26 extern bool __frontswap_test(struct swap_info_struct *, pgoff_t);
30 extern void __frontswap_invalidate_page(unsigned, pgoff_t);
41 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test()
64 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test()
96 static inline void frontswap_invalidate_page(unsigned type, pgoff_t offset) in frontswap_invalidate_page()
Ddax.h18 long (*direct_access)(struct dax_device *, pgoff_t, long,
21 size_t (*copy_from_iter)(struct dax_device *, pgoff_t, void *, size_t,
24 size_t (*copy_to_iter)(struct dax_device *, pgoff_t, void *, size_t,
68 int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff);
141 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
143 size_t dax_copy_from_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
145 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
155 int dax_delete_mapping_entry(struct address_space *mapping, pgoff_t index);
157 pgoff_t index);
Dshmem_fs.h73 pgoff_t index, gfp_t gfp_mask);
79 pgoff_t start, pgoff_t end);
91 extern int shmem_getpage(struct inode *inode, pgoff_t index,
95 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
Dcleancache.h33 pgoff_t, struct page *);
35 pgoff_t, struct page *);
36 void (*invalidate_page)(int, struct cleancache_filekey, pgoff_t);
Dwriteback.h367 pgoff_t start, pgoff_t end);
374 pgoff_t start, pgoff_t end);
Dmm.h347 pgoff_t pgoff; /* Logical page offset based on vma */
402 pgoff_t start_pgoff, pgoff_t end_pgoff);
1224 extern pgoff_t __page_file_index(struct page *page);
1230 static inline pgoff_t page_index(struct page *page) in page_index()
1339 pgoff_t first_index; /* Lowest page->index to unmap */
1340 pgoff_t last_index; /* Highest page->index to unmap */
1434 pgoff_t start, pgoff_t nr, bool even_cows);
1455 pgoff_t start, pgoff_t nr, bool even_cows) { } in unmap_mapping_pages()
2251 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert,
2254 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert) in vma_adjust()
[all …]
Dnfs_page.h47 pgoff_t wb_index; /* Offset >> PAGE_SHIFT */
135 extern void nfs_pageio_cond_complete(struct nfs_pageio_descriptor *, pgoff_t);
/linux-4.19.296/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 …]
Dafs.h360 pgoff_t first, pgoff_t last, unsigned int offset),
366 __field(pgoff_t, first )
367 __field(pgoff_t, last )
392 TP_PROTO(struct afs_call *call, pgoff_t first, pgoff_t last,
393 pgoff_t cursor, int ret),
399 __field(pgoff_t, first )
400 __field(pgoff_t, last )
401 __field(pgoff_t, cursor )
455 pgoff_t page, unsigned long priv),
462 __field(pgoff_t, page )
Dfscache.h378 __field(pgoff_t, page )
465 __field(pgoff_t, page )
491 __field(pgoff_t, page )
509 void **results, int n, pgoff_t store_limit),
516 __field(pgoff_t, results0 )
518 __field(pgoff_t, store_limit )
524 __entry->results0 = results[0] ? ((struct page *)results[0])->index : (pgoff_t)-1;
/linux-4.19.296/fs/
Ddax.c119 pgoff_t entry_start;
128 pgoff_t index, void *entry, struct exceptional_entry_key *key) in dax_entry_waitqueue()
166 pgoff_t index, void *entry, bool wake_all) in dax_wake_mapping_entry_waiter()
221 pgoff_t index, void *entry);
233 pgoff_t index, void ***slotp) in get_unlocked_mapping_entry()
268 static void wait_entry_unlocked(struct address_space *mapping, pgoff_t index, in wait_entry_unlocked()
290 static void unlock_mapping_entry(struct address_space *mapping, pgoff_t index) in unlock_mapping_entry()
307 pgoff_t index) in put_locked_mapping_entry()
317 pgoff_t index, void *entry) in put_unlocked_mapping_entry()
408 pgoff_t index; in dax_lock_mapping_entry()
[all …]
/linux-4.19.296/fs/afs/
Dwrite.c81 pgoff_t index = pos >> PAGE_SHIFT; in afs_write_begin()
227 pgoff_t first, pgoff_t last) in afs_kill_pages()
270 pgoff_t first, pgoff_t last) in afs_redirty_pages()
309 pgoff_t first, pgoff_t last, in afs_store_data()
396 pgoff_t final_page) in afs_write_back_from_locked_page()
402 pgoff_t start, first, last; in afs_write_back_from_locked_page()
574 pgoff_t index, pgoff_t end, pgoff_t *_next) in afs_writepages_region()
641 pgoff_t start, end, next; in afs_writepages()
655 end = (pgoff_t)(LLONG_MAX >> PAGE_SHIFT); in afs_writepages()
677 pgoff_t first = call->first, last = call->last; in afs_pages_written_back()
/linux-4.19.296/fs/f2fs/
Dfile.c337 static pgoff_t __get_first_dirty_index(struct address_space *mapping, in __get_first_dirty_index()
338 pgoff_t pgofs, int whence) in __get_first_dirty_index()
357 pgoff_t dirty, pgoff_t pgofs, int whence) in __found_offset()
378 pgoff_t pgofs, end_offset, dirty; in f2fs_seek_block()
396 pgofs = (pgoff_t)(offset >> PAGE_SHIFT); in f2fs_seek_block()
539 pgoff_t fofs; in f2fs_truncate_data_blocks_range()
565 pgoff_t index = from >> PAGE_SHIFT; in truncate_partial_data_page()
599 pgoff_t free_from; in f2fs_truncate_blocks()
606 free_from = (pgoff_t)F2FS_BLK_ALIGN(from); in f2fs_truncate_blocks()
868 static int fill_zero(struct inode *inode, pgoff_t index, in fill_zero()
[all …]
Dnode.h196 static inline pgoff_t current_nat_addr(struct f2fs_sb_info *sbi, nid_t start) in current_nat_addr()
199 pgoff_t block_off; in current_nat_addr()
200 pgoff_t block_addr; in current_nat_addr()
209 block_addr = (pgoff_t)(nm_i->nat_blkaddr + in current_nat_addr()
219 static inline pgoff_t next_nat_addr(struct f2fs_sb_info *sbi, in next_nat_addr()
220 pgoff_t block_addr) in next_nat_addr()
Ddata.c329 struct inode *inode, nid_t ino, pgoff_t idx) in __has_merged_page()
361 nid_t ino, pgoff_t idx, enum page_type type) in has_merged_page()
403 struct inode *inode, nid_t ino, pgoff_t idx, in __submit_merged_write_cond()
427 struct inode *inode, nid_t ino, pgoff_t idx, in f2fs_submit_merged_write_cond()
686 int f2fs_reserve_block(struct dnode_of_data *dn, pgoff_t index) in f2fs_reserve_block()
702 int f2fs_get_block(struct dnode_of_data *dn, pgoff_t index) in f2fs_get_block()
715 struct page *f2fs_get_read_data_page(struct inode *inode, pgoff_t index, in f2fs_get_read_data_page()
774 struct page *f2fs_find_data_page(struct inode *inode, pgoff_t index) in f2fs_find_data_page()
804 struct page *f2fs_get_lock_data_page(struct inode *inode, pgoff_t index, in f2fs_get_lock_data_page()
837 struct page *ipage, pgoff_t index, bool new_i_size) in f2fs_get_new_data_page()
[all …]
Df2fs.h593 pgoff_t *m_next_pgofs; /* point next possible non-hole pgofs */
594 pgoff_t *m_next_extent; /* point to next possible extent */
2011 pgoff_t index, bool for_write) in f2fs_grab_cache_page()
2036 struct address_space *mapping, pgoff_t index, in f2fs_pagecache_get_page()
2787 int f2fs_truncate_hole(struct inode *inode, pgoff_t pg_start, pgoff_t pg_end);
2902 pgoff_t f2fs_get_next_page_offset(struct dnode_of_data *dn, pgoff_t pgofs);
2903 int f2fs_get_dnode_of_data(struct dnode_of_data *dn, pgoff_t index, int mode);
2904 int f2fs_truncate_inode_blocks(struct inode *inode, pgoff_t from);
2912 struct page *f2fs_get_node_page(struct f2fs_sb_info *sbi, pgoff_t nid);
3005 struct page *f2fs_grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index);
[all …]
Dextent_cache.c312 pgoff_t fofs, unsigned int len) in __drop_largest_extent()
370 static bool f2fs_lookup_extent_tree(struct inode *inode, pgoff_t pgofs, in f2fs_lookup_extent_tree()
488 pgoff_t fofs, block_t blkaddr, unsigned int len) in f2fs_update_extent_tree_range()
767 bool f2fs_lookup_extent_cache(struct inode *inode, pgoff_t pgofs, in f2fs_lookup_extent_cache()
778 pgoff_t fofs; in f2fs_update_extent_cache()
795 pgoff_t fofs, block_t blkaddr, unsigned int len) in f2fs_update_extent_cache_range()
/linux-4.19.296/drivers/xen/
Dtmem.c168 pgoff_t index, struct page *page) in tmem_cleancache_put_page()
182 pgoff_t index, struct page *page) in tmem_cleancache_get_page()
201 pgoff_t index) in tmem_cleancache_flush_page()
279 static int tmem_frontswap_store(unsigned type, pgoff_t offset, in tmem_frontswap_store()
308 static int tmem_frontswap_load(unsigned type, pgoff_t offset, in tmem_frontswap_load()
329 static void tmem_frontswap_flush_page(unsigned type, pgoff_t offset) in tmem_frontswap_flush_page()
/linux-4.19.296/fs/nilfs2/
Dpage.c29 __nilfs_get_page_block(struct page *page, unsigned long block, pgoff_t index, in __nilfs_get_page_block()
53 pgoff_t index = blkoff >> (PAGE_SHIFT - blkbits); in nilfs_grab_buffer()
246 pgoff_t index = 0; in nilfs_copy_dirty_pages()
300 pgoff_t index = 0; in nilfs_copy_back_pages()
311 pgoff_t offset = page->index; in nilfs_copy_back_pages()
365 pgoff_t index = 0; in nilfs_clear_dirty_pages()
506 pgoff_t index; in nilfs_find_uncommitted_extent()
/linux-4.19.296/fs/gfs2/
Daops.c102 pgoff_t end_index = i_size >> PAGE_SHIFT; in gfs2_writepage_common()
149 const pgoff_t end_index = i_size >> PAGE_SHIFT; in gfs2_write_full_page()
264 pgoff_t *done_index) in gfs2_write_jdata_pagevec()
362 pgoff_t writeback_index; in gfs2_write_cache_jdata()
363 pgoff_t index; in gfs2_write_cache_jdata()
364 pgoff_t end; in gfs2_write_cache_jdata()
365 pgoff_t done_index; in gfs2_write_cache_jdata()
/linux-4.19.296/fs/ecryptfs/
Dread_write.c128 pgoff_t ecryptfs_page_idx = (pos >> PAGE_SHIFT); in ecryptfs_write()
259 pgoff_t page_index, in ecryptfs_read_lower_page_segment()
/linux-4.19.296/fs/hugetlbfs/
Dinode.c80 struct inode *inode, pgoff_t index) in hugetlb_set_vma_policy()
92 struct inode *inode, pgoff_t index) in hugetlb_set_vma_policy()
342 hugetlb_vmdelete_list(struct rb_root_cached *root, pgoff_t start, pgoff_t end) in hugetlb_vmdelete_list()
405 const pgoff_t start = lstart >> huge_page_shift(h); in remove_inode_hugepages()
406 const pgoff_t end = lend >> huge_page_shift(h); in remove_inode_hugepages()
409 pgoff_t next, index; in remove_inode_hugepages()
495 pgoff_t pgoff; in hugetlb_vmtruncate()
560 pgoff_t start, index, end; in hugetlbfs_fallocate()
892 pgoff_t index = page->index; in hugetlbfs_error_remove_page()
/linux-4.19.296/fs/ext4/
Dmove_extent.c127 pgoff_t index1, pgoff_t index2, struct page *page[2]) in mext_page_double_lock()
248 pgoff_t orig_page_offset, pgoff_t donor_page_offset, in move_extent_per_page()
622 pgoff_t orig_page_index, donor_page_index; in ext4_move_extents()

12345