Home
last modified time | relevance | path

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

123456789

/linux/include/linux/
A Dpagemap.h420 pgoff_t index) in filemap_get_folio()
436 pgoff_t offset) in find_get_page()
461 pgoff_t index) in find_lock_page()
507 pgoff_t index) in grab_cache_page_nowait()
604 pgoff_t end, struct pagevec *pvec, pgoff_t *indices);
635 pgoff_t index) in grab_cache_page()
725 pgoff_t pgoff; in linear_page_index()
932 pgoff_t index, gfp_t gfp);
934 pgoff_t index, gfp_t gfp);
936 pgoff_t index, gfp_t gfp);
[all …]
A 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);
108 int bdev_dax_pgoff(struct block_device *, sector_t, size_t, pgoff_t *pgoff);
154 …ct page *dax_layout_busy_page_range(struct address_space *mapping, pgoff_t start, pgoff_t nr_pages) in dax_layout_busy_page_range()
192 long dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff, long nr_pages,
196 size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
198 int dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
208 int dax_delete_mapping_entry(struct address_space *mapping, pgoff_t index);
[all …]
A 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()
A 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()
A 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()
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()
205 static inline swp_entry_t make_readable_migration_entry(pgoff_t offset) in make_readable_migration_entry()
210 static inline swp_entry_t make_writable_migration_entry(pgoff_t offset) in make_writable_migration_entry()
222 static inline swp_entry_t make_readable_migration_entry(pgoff_t offset) in make_readable_migration_entry()
[all …]
A 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()
A Dcleancache.h33 pgoff_t, struct page *);
35 pgoff_t, struct page *);
36 void (*invalidate_page)(int, struct cleancache_filekey, pgoff_t);
/linux/mm/
A Dtruncate.c35 pgoff_t index, void *entry) in __clear_shadow_entry()
87 pgoff_t index = indices[i]; in truncate_exceptional_pvec_entries()
116 pgoff_t index, void *entry) in invalidate_exceptional_entry()
301 pgoff_t index; in truncate_inode_pages_range()
479 pgoff_t start, pgoff_t end, unsigned long *nr_pagevec) in __invalidate_mapping_pages()
483 pgoff_t index = start; in __invalidate_mapping_pages()
541 pgoff_t start, pgoff_t end) in invalidate_mapping_pages()
559 pgoff_t start, pgoff_t end, unsigned long *nr_pagevec) in invalidate_mapping_pagevec()
624 pgoff_t start, pgoff_t end) in invalidate_inode_pages2_range()
628 pgoff_t index; in invalidate_inode_pages2_range()
[all …]
A Dmapping_dirty_helpers.c66 pgoff_t bitmap_pgoff;
68 pgoff_t start;
69 pgoff_t end;
96 pgoff_t pgoff = ((addr - walk->vma->vm_start) >> PAGE_SHIFT) + in clean_record_pte()
279 pgoff_t first_index, pgoff_t nr) in wp_shared_mapping_range()
328 pgoff_t first_index, pgoff_t nr, in clean_record_shared_mapping_range()
329 pgoff_t bitmap_pgoff, in clean_record_shared_mapping_range()
331 pgoff_t *start, in clean_record_shared_mapping_range()
332 pgoff_t *end) in clean_record_shared_mapping_range()
A Dfilemap.c2045 pgoff_t end, struct pagevec *pvec, pgoff_t *indices) in find_get_entries()
2097 pgoff_t end, struct pagevec *pvec, pgoff_t *indices) in find_lock_entries()
2344 pgoff_t index, pgoff_t max, struct pagevec *pvec) in filemap_get_read_batch()
2527 pgoff_t last_index) in filemap_readahead()
2543 pgoff_t last_index; in filemap_get_pages()
3060 pgoff_t max_off; in filemap_fault()
3292 pgoff_t start_pgoff, pgoff_t end_pgoff) in filemap_map_pages()
3438 pgoff_t index, in do_read_cache_page()
3561 pgoff_t index, in read_cache_page()
3586 pgoff_t index, in read_cache_page_gfp()
[all …]
A Dreadahead.c256 pgoff_t end_index; /* The last page we want to read */ in do_page_cache_ra()
388 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
389 pgoff_t index, unsigned long max) in count_history_pages()
391 pgoff_t head; in count_history_pages()
405 pgoff_t index, in try_context_readahead()
409 pgoff_t size; in try_context_readahead()
445 pgoff_t prev_index; in ondemand_readahead()
479 pgoff_t start; in ondemand_readahead()
666 pgoff_t new_index, new_nr_pages; in readahead_expand()
A Dfrontswap.c220 pgoff_t offset) in __frontswap_test()
229 pgoff_t offset) in __frontswap_set()
236 pgoff_t offset) in __frontswap_clear()
255 pgoff_t offset = swp_offset(entry); in __frontswap_store()
304 pgoff_t offset = swp_offset(entry); in __frontswap_load()
335 void __frontswap_invalidate_page(unsigned type, pgoff_t offset) in __frontswap_invalidate_page()
A Dshmem.c805 pgoff_t start, pgoff_t end) in shmem_partial_swap_usage()
868 pgoff_t index = 0; in shmem_unlock_mapping()
925 pgoff_t index; in shmem_undo_range()
1248 pgoff_t start = 0; in shmem_unuse_inode()
1343 pgoff_t index; in shmem_writepage()
1553 pgoff_t hindex; in shmem_alloc_hugepage()
1641 pgoff_t swap_index; in shmem_replace_page()
2221 pgoff_t index; in shmem_get_policy()
2359 pgoff_t max_off; in shmem_mfill_atomic_pte()
2514 pgoff_t index; in shmem_file_read_iter()
[all …]
A Dswap_cgroup.c66 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()
A Dfolio-compat.c113 pgoff_t index, gfp_t gfp) in add_to_page_cache_lru()
120 struct page *pagecache_get_page(struct address_space *mapping, pgoff_t index, in pagecache_get_page()
133 pgoff_t index, unsigned flags) in grab_cache_page_write_begin()
A Dinternal.h86 struct file *file, pgoff_t index, unsigned long nr_to_read) in force_page_cache_readahead()
92 unsigned find_lock_entries(struct address_space *mapping, pgoff_t start,
93 pgoff_t end, struct pagevec *pvec, pgoff_t *indices);
433 pgoff_t pgoff; in vma_address()
462 pgoff_t pgoff; in vma_address_end()
/linux/include/trace/events/
A Dfs_dax.h12 pgoff_t max_pgoff, int result),
20 __field(pgoff_t, pgoff)
21 __field(pgoff_t, max_pgoff)
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),
264 __field(pgoff_t, pgoff)
[all …]
A 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;
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_page_dirty.c86 pgoff_t offset = drm_vma_node_start(&vbo->base.base.vma_node); in vmw_bo_dirty_scan_pagetable()
88 pgoff_t num_marked; in vmw_bo_dirty_scan_pagetable()
126 pgoff_t num_marked; in vmw_bo_dirty_scan_mkwrite()
143 pgoff_t start = 0; in vmw_bo_dirty_scan_mkwrite()
144 pgoff_t end = dirty->bitmap_size; in vmw_bo_dirty_scan_mkwrite()
187 pgoff_t start, pgoff_t end) in vmw_bo_dirty_pre_unmap()
212 pgoff_t start, pgoff_t end) in vmw_bo_dirty_unmap()
235 pgoff_t num_pages = vbo->base.resource->num_pages; in vmw_bo_dirty_add()
329 pgoff_t start, cur, end; in vmw_bo_dirty_transfer_to_res()
442 pgoff_t num_prefault; in vmw_bo_vm_fault()
[all …]
/linux/fs/verity/
A Dverify.c26 pgoff_t dindex, unsigned int level, pgoff_t *hindex, in hash_at_level()
29 pgoff_t position; in hash_at_level()
54 pgoff_t index, int level) in cmp_hashes()
92 const pgoff_t index = data_page->index; in verify_page()
112 pgoff_t hindex; in verify_page()
/linux/fs/f2fs/
A Dfile.c612 pgoff_t fofs; in f2fs_truncate_data_blocks_range()
672 pgoff_t free_from; in f2fs_do_truncate_blocks()
1132 int *do_replace, pgoff_t off, pgoff_t len) in __read_out_blkaddrs()
1212 pgoff_t src, pgoff_t dst, pgoff_t len, bool full) in __clone_blkaddrs()
1215 pgoff_t i = 0; in __clone_blkaddrs()
1228 pgoff_t ilen; in __clone_blkaddrs()
1295 struct inode *dst_inode, pgoff_t src, pgoff_t dst, in __exchange_data_block()
1300 pgoff_t olen; in __exchange_data_block()
1500 pgoff_t end; in f2fs_zero_range()
1706 pgoff_t last_off; in expand_inode_data()
[all …]
A 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()
/linux/include/drm/ttm/
A Dttm_resource.h196 pgoff_t i;
197 pgoff_t end;
198 pgoff_t offs;
/linux/fs/nilfs2/
A 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()
245 pgoff_t index = 0; in nilfs_copy_dirty_pages()
299 pgoff_t index = 0; in nilfs_copy_back_pages()
309 pgoff_t offset = page->index; in nilfs_copy_back_pages()
362 pgoff_t index = 0; in nilfs_clear_dirty_pages()
494 pgoff_t index; in nilfs_find_uncommitted_extent()
/linux/fs/
A Ddax.c139 pgoff_t entry_start;
597 pgoff_t start_idx = start >> PAGE_SHIFT; in dax_layout_busy_page_range()
598 pgoff_t end_idx; in dax_layout_busy_page_range()
660 pgoff_t index, bool trunc) in __dax_invalidate_entry()
707 pgoff_t index) in dax_invalidate_mapping_entry_sync()
716 pgoff_t pgoff; in copy_cow_page_dax()
1017 pgoff_t pgoff; in dax_iomap_pfn()
1132 pgoff_t pgoff; in dax_iomap_zero()
1208 pgoff_t pgoff; in dax_iomap_iter()
1502 pgoff_t max_pgoff) in dax_fault_check_fallback()
[all …]

Completed in 785 milliseconds

123456789