/linux-6.1.9/include/linux/ |
D | pagemap.h | 22 pgoff_t start, pgoff_t end); 32 pgoff_t start, pgoff_t end); 495 pgoff_t page_cache_next_miss(struct address_space *mapping, 496 pgoff_t index, unsigned long max_scan); 497 pgoff_t page_cache_prev_miss(struct address_space *mapping, 498 pgoff_t index, unsigned long max_scan); 511 struct folio *__filemap_get_folio(struct address_space *mapping, pgoff_t index, 513 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index, 527 pgoff_t index) in filemap_get_folio() 545 pgoff_t index) in filemap_lock_folio() [all …]
|
D | dax.h | 28 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 …]
|
D | shmem_fs.h | 21 pgoff_t fallocend; /* highest fallocate endindex */ 91 pgoff_t index, gfp_t gfp_mask); 96 pgoff_t index, bool shmem_huge_force); 105 pgoff_t start, pgoff_t end); 116 int shmem_get_folio(struct inode *inode, pgoff_t index, struct folio **foliop, 120 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page() 142 static inline pgoff_t shmem_fallocend(struct inode *inode, pgoff_t eof) in shmem_fallocend()
|
D | swapops.h | 86 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 …]
|
D | frontswap.h | 12 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()
|
D | pagevec.h | 30 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()
|
D | writeback.h | 375 pgoff_t start, pgoff_t end); 382 pgoff_t start, pgoff_t end);
|
D | pagewalk.h | 104 int walk_page_mapping(struct address_space *mapping, pgoff_t first_index, 105 pgoff_t nr, const struct mm_walk_ops *ops,
|
/linux-6.1.9/mm/ |
D | truncate.c | 33 pgoff_t index, void *entry) in __clear_shadow_entry() 43 static void clear_shadow_entry(struct address_space *mapping, pgoff_t index, in clear_shadow_entry() 61 struct folio_batch *fbatch, pgoff_t *indices) in truncate_folio_batch_exceptionals() 85 pgoff_t index = indices[i]; in truncate_folio_batch_exceptionals() 114 pgoff_t index, void *entry) in invalidate_exceptional_entry() 128 pgoff_t index, void *entry) in invalidate_exceptional_entry2() 333 pgoff_t start; /* inclusive */ in truncate_inode_pages_range() 334 pgoff_t end; /* exclusive */ in truncate_inode_pages_range() 336 pgoff_t indices[PAGEVEC_SIZE]; in truncate_inode_pages_range() 337 pgoff_t index; in truncate_inode_pages_range() [all …]
|
D | mapping_dirty_helpers.c | 67 pgoff_t bitmap_pgoff; 69 pgoff_t start; 70 pgoff_t end; 97 pgoff_t pgoff = ((addr - walk->vma->vm_start) >> PAGE_SHIFT) + in clean_record_pte() 280 pgoff_t first_index, pgoff_t nr) in wp_shared_mapping_range() 329 pgoff_t first_index, pgoff_t nr, in clean_record_shared_mapping_range() 330 pgoff_t bitmap_pgoff, in clean_record_shared_mapping_range() 332 pgoff_t *start, in clean_record_shared_mapping_range() 333 pgoff_t *end) in clean_record_shared_mapping_range()
|
D | readahead.c | 288 pgoff_t end_index; /* The last page we want to read */ in do_page_cache_ra() 419 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages() 420 pgoff_t index, unsigned long max) in count_history_pages() 422 pgoff_t head; in count_history_pages() 436 pgoff_t index, in try_context_readahead() 440 pgoff_t size; in try_context_readahead() 478 static inline int ra_alloc_folio(struct readahead_control *ractl, pgoff_t index, in ra_alloc_folio() 479 pgoff_t mark, unsigned int order, gfp_t gfp) in ra_alloc_folio() 504 pgoff_t index = readahead_index(ractl); in page_cache_ra_order() 505 pgoff_t limit = (i_size_read(mapping->host) - 1) >> PAGE_SHIFT; in page_cache_ra_order() [all …]
|
D | frontswap.c | 135 pgoff_t offset) in __frontswap_test() 143 pgoff_t offset) in __frontswap_set() 150 pgoff_t offset) in __frontswap_clear() 169 pgoff_t offset = swp_offset(entry); in __frontswap_store() 208 pgoff_t offset = swp_offset(entry); in __frontswap_load() 228 void __frontswap_invalidate_page(unsigned type, pgoff_t offset) in __frontswap_invalidate_page()
|
D | filemap.c | 475 pgoff_t max = end_byte >> PAGE_SHIFT; in filemap_range_has_page() 504 pgoff_t index = start_byte >> PAGE_SHIFT; in __filemap_fdatawait_range() 505 pgoff_t end = end_byte >> PAGE_SHIFT; in __filemap_fdatawait_range() 634 pgoff_t max = end_byte >> PAGE_SHIFT; in filemap_range_has_writeback() 806 pgoff_t offset = old->index; in replace_page_cache_page() 840 struct folio *folio, pgoff_t index, gfp_t gfp, void **shadowp) in __filemap_add_folio() 928 pgoff_t index, gfp_t gfp) in filemap_add_folio() 1760 pgoff_t page_cache_next_miss(struct address_space *mapping, in page_cache_next_miss() 1761 pgoff_t index, unsigned long max_scan) in page_cache_next_miss() 1796 pgoff_t page_cache_prev_miss(struct address_space *mapping, in page_cache_prev_miss() [all …]
|
D | internal.h | 103 struct file *file, pgoff_t index, unsigned long nr_to_read) in force_page_cache_readahead() 109 unsigned find_lock_entries(struct address_space *mapping, pgoff_t start, 110 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices); 111 unsigned find_get_entries(struct address_space *mapping, pgoff_t start, 112 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices); 119 pgoff_t start, pgoff_t end, unsigned long *nr_pagevec); 551 vma_pgoff_address(pgoff_t pgoff, unsigned long nr_pages, in vma_pgoff_address() 590 pgoff_t pgoff; in vma_address_end()
|
D | swap_cgroup.c | 66 pgoff_t offset) in __lookup_swap_cgroup() 79 pgoff_t offset = swp_offset(ent); in lookup_swap_cgroup() 133 pgoff_t offset = swp_offset(ent); in swap_cgroup_record() 134 pgoff_t end = offset + nr_ents; in swap_cgroup_record()
|
D | shmem.c | 103 pgoff_t start; /* start of range currently being fallocated */ 104 pgoff_t next; /* the next page offset to be fallocated */ 105 pgoff_t nr_falloced; /* how many new pages have been fallocated */ 106 pgoff_t nr_unswapped; /* how often writepage refused to swap out */ 139 static int shmem_swapin_folio(struct inode *inode, pgoff_t index, 401 pgoff_t index, void *expected, void *replacement) in shmem_replace_entry() 423 pgoff_t index, swp_entry_t swap) in shmem_confirm_swap() 466 pgoff_t index, bool shmem_huge_force) in shmem_is_huge() 591 pgoff_t index; in shmem_unused_huge_shrink() 674 pgoff_t index, bool shmem_huge_force) in shmem_is_huge() [all …]
|
D | folio-compat.c | 98 pgoff_t index, gfp_t gfp) in add_to_page_cache_lru() 105 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index, in pagecache_get_page() 118 pgoff_t index) in grab_cache_page_write_begin()
|
/linux-6.1.9/include/trace/events/ |
D | fs_dax.h | 12 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 …]
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 84 pgoff_t offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_scan_pagetable() 86 pgoff_t num_marked; in vmw_bo_dirty_scan_pagetable() 124 pgoff_t num_marked; in vmw_bo_dirty_scan_mkwrite() 141 pgoff_t start = 0; in vmw_bo_dirty_scan_mkwrite() 142 pgoff_t end = dirty->bitmap_size; in vmw_bo_dirty_scan_mkwrite() 185 pgoff_t start, pgoff_t end) in vmw_bo_dirty_pre_unmap() 210 pgoff_t start, pgoff_t end) in vmw_bo_dirty_unmap() 233 pgoff_t num_pages = vbo->base.resource->num_pages; in vmw_bo_dirty_add() 257 pgoff_t offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_add() 311 pgoff_t start, cur, end; in vmw_bo_dirty_transfer_to_res() [all …]
|
/linux-6.1.9/fs/cifs/ |
D | fscache.h | 77 pgoff_t first, unsigned int nr_pages, 78 pgoff_t *_data_first, 82 pgoff_t first, unsigned int nr_pages, in cifs_fscache_query_occupancy() 83 pgoff_t *_data_first, in cifs_fscache_query_occupancy() 128 pgoff_t first, unsigned int nr_pages, in cifs_fscache_query_occupancy() 129 pgoff_t *_data_first, in cifs_fscache_query_occupancy()
|
/linux-6.1.9/fs/verity/ |
D | verify.c | 26 pgoff_t dindex, unsigned int level, pgoff_t *hindex, in hash_at_level() 29 pgoff_t position; in hash_at_level() 44 pgoff_t index, int level) in cmp_hashes() 82 const pgoff_t index = data_page->index; in verify_page() 102 pgoff_t hindex; in verify_page()
|
/linux-6.1.9/drivers/md/ |
D | dm-linear.c | 158 static struct dax_device *linear_dax_pgoff(struct dm_target *ti, pgoff_t *pgoff) in linear_dax_pgoff() 167 static long linear_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, in linear_dax_direct_access() 176 static int linear_dax_zero_page_range(struct dm_target *ti, pgoff_t pgoff, in linear_dax_zero_page_range() 184 static size_t linear_dax_recovery_write(struct dm_target *ti, pgoff_t pgoff, in linear_dax_recovery_write()
|
/linux-6.1.9/fs/nilfs2/ |
D | page.c | 29 __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() 245 pgoff_t index = 0; in nilfs_copy_dirty_pages() 299 pgoff_t start = 0; in nilfs_copy_back_pages() 309 pgoff_t index = folio->index; in nilfs_copy_back_pages() 362 pgoff_t index = 0; in nilfs_clear_dirty_pages() 484 pgoff_t index; in nilfs_find_uncommitted_extent()
|
/linux-6.1.9/fs/f2fs/ |
D | node.h | 198 static inline pgoff_t current_nat_addr(struct f2fs_sb_info *sbi, nid_t start) in current_nat_addr() 201 pgoff_t block_off; in current_nat_addr() 202 pgoff_t block_addr; in current_nat_addr() 211 block_addr = (pgoff_t)(nm_i->nat_blkaddr + in current_nat_addr() 221 static inline pgoff_t next_nat_addr(struct f2fs_sb_info *sbi, in next_nat_addr() 222 pgoff_t block_addr) in next_nat_addr()
|
D | file.c | 397 pgoff_t index, int whence) in __found_offset() 420 pgoff_t pgofs, end_offset; in f2fs_seek_block() 442 pgofs = (pgoff_t)(offset >> PAGE_SHIFT); in f2fs_seek_block() 614 pgoff_t fofs; in f2fs_truncate_data_blocks_range() 640 pgoff_t index = from >> PAGE_SHIFT; in truncate_partial_data_page() 674 pgoff_t free_from; in f2fs_do_truncate_blocks() 681 free_from = (pgoff_t)F2FS_BLK_ALIGN(from); in f2fs_do_truncate_blocks() 1057 static int fill_zero(struct inode *inode, pgoff_t index, in fill_zero() 1082 int f2fs_truncate_hole(struct inode *inode, pgoff_t pg_start, pgoff_t pg_end) in f2fs_truncate_hole() 1088 pgoff_t end_offset, count; in f2fs_truncate_hole() [all …]
|