Searched refs:pgoff_t (Results 1 - 25 of 242) sorted by last modified time

12345678910

/linux-master/lib/
H A Dscatterlist.c1278 pgoff_t index = start / PAGE_SIZE;
/linux-master/fs/btrfs/
H A Dvolumes.c1274 pgoff_t index;
H A Dinode.c4738 pgoff_t index = from >> PAGE_SHIFT;
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_tt.c425 pgoff_t i)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c1118 pgoff_t i;
1158 pgoff_t i;
/linux-master/fs/erofs/
H A Dinternal.h209 pgoff_t index;
324 pgoff_t index)
452 pgoff_t index);
H A Dfscache.c59 pgoff_t start_page = req->start / PAGE_SIZE;
60 pgoff_t last_page = ((req->start + req->len) / PAGE_SIZE) - 1;
/linux-master/mm/
H A Dzswap.c812 static struct zswap_entry *zswap_rb_search(struct rb_root *root, pgoff_t offset)
816 pgoff_t entry_offset;
840 pgoff_t myentry_offset, entry_offset = swp_offset(entry->swpentry);
1501 pgoff_t offset = swp_offset(swp);
1644 pgoff_t offset = swp_offset(swp);
1697 pgoff_t offset = swp_offset(swp);
H A Dhugetlb.c990 static pgoff_t vma_hugecache_offset(struct hstate *h,
2807 pgoff_t idx;
5876 pgoff_t pgoff;
6020 pgoff_t idx;
6123 pgoff_t idx = linear_page_index(vma, address);
6134 pgoff_t idx)
6198 struct address_space *mapping, pgoff_t idx,
6409 u32 hugetlb_fault_mutex_hash(struct address_space *mapping, pgoff_t idx)
6426 u32 hugetlb_fault_mutex_hash(struct address_space *mapping, pgoff_t idx)
6668 pgoff_t id
[all...]
H A Dshmem.c107 pgoff_t start; /* start of range currently being fallocated */
108 pgoff_t next; /* the next page offset to be fallocated */
109 pgoff_t nr_falloced; /* how many new pages have been fallocated */
110 pgoff_t nr_unswapped; /* how often writepage refused to swap out */
149 static int shmem_swapin_folio(struct inode *inode, pgoff_t index,
480 pgoff_t index, void *expected, void *replacement)
502 pgoff_t index, swp_entry_t swap)
544 bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force,
669 pgoff_t index;
763 pgoff_t inde
[all...]
H A Dmemory-failure.c445 unsigned long ksm_addr, pgoff_t fsdax_pgoff)
616 pgoff_t pgoff;
653 pgoff_t pgoff;
683 struct list_head *to_kill, pgoff_t pgoff)
692 struct address_space *mapping, pgoff_t pgoff,
1712 struct address_space *mapping, pgoff_t index, int flags)
1811 int mf_dax_kill_procs(struct address_space *mapping, pgoff_t index,
H A Dmadvise.c225 pgoff_t end_index = linear_page_index(vma, end) - 1;
H A Dinternal.h221 struct file *file, pgoff_t index, unsigned long nr_to_read)
227 unsigned find_lock_entries(struct address_space *mapping, pgoff_t *start,
228 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices);
229 unsigned find_get_entries(struct address_space *mapping, pgoff_t *start,
230 pgoff_t end, struct folio_batch *fbatch, pgoff_t *indices);
237 pgoff_t start, pgoff_t end, unsigned long *nr_failed);
713 pgoff_t pgof
[all...]
H A Dhuge_memory.c2890 pgoff_t end, unsigned int new_order)
3049 pgoff_t end;
3522 static int split_huge_pages_in_file(const char *file_path, pgoff_t off_start,
3523 pgoff_t off_end, unsigned int new_order)
3529 pgoff_t index;
3615 pgoff_t off_start = 0, off_end = 0;
/linux-master/include/linux/
H A Dmm.h524 pgoff_t pgoff; /* Logical page offset based on vma */
591 pgoff_t start_pgoff, pgoff_t end_pgoff);
634 unsigned long addr, pgoff_t *ilx);
2250 extern pgoff_t __page_file_index(struct page *page);
2256 static inline pgoff_t page_index(struct page *page)
2423 pgoff_t start, pgoff_t nr, bool even_cows);
2443 pgoff_t start, pgoff_t n
[all...]
H A Dswapops.h86 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset)
107 static inline pgoff_t swp_offset(swp_entry_t entry)
168 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset)
173 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset)
189 static inline swp_entry_t make_readable_device_exclusive_entry(pgoff_t offset)
194 static inline swp_entry_t make_writable_device_exclusive_entry(pgoff_t offset)
210 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset)
215 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset)
230 static inline swp_entry_t make_readable_device_exclusive_entry(pgoff_t offset)
235 static inline swp_entry_t make_writable_device_exclusive_entry(pgoff_t offse
[all...]
H A Dshmem_fs.h36 pgoff_t fallocend; /* highest fallocate endindex */
109 pgoff_t index, gfp_t gfp_mask);
114 extern bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force,
117 static __always_inline bool shmem_is_huge(struct inode *inode, pgoff_t index, bool shmem_huge_force,
133 pgoff_t start, pgoff_t end);
144 int shmem_get_folio(struct inode *inode, pgoff_t index, struct folio **foliop,
147 pgoff_t index, gfp_t gfp);
150 pgoff_t index)
156 struct address_space *mapping, pgoff_t inde
[all...]
/linux-master/fs/ntfs3/
H A Dinode.c1096 pgoff_t idx;
H A Dfile.c183 pgoff_t idx = vbo >> PAGE_SHIFT;
185 pgoff_t idx_end = (vbo_to + PAGE_SIZE - 1) >> PAGE_SHIFT;
808 static int ntfs_get_frame_pages(struct address_space *mapping, pgoff_t index,
863 pgoff_t index;
/linux-master/fs/netfs/
H A Dbuffered_write.c123 pgoff_t index = pos / PAGE_SIZE;
568 pgoff_t index = start / PAGE_SIZE;
569 pgoff_t last = (start + len - 1) / PAGE_SIZE, next;
606 pgoff_t index = start / PAGE_SIZE;
607 pgoff_t last = (start + len - 1) / PAGE_SIZE, next;
643 pgoff_t last;
783 pgoff_t index = (start + *_len) / PAGE_SIZE;
/linux-master/drivers/md/
H A Ddm.c1232 static long dm_dax_direct_access(struct dax_device *dax_dev, pgoff_t pgoff,
1260 static int dm_dax_zero_page_range(struct dax_device *dax_dev, pgoff_t pgoff,
1287 static size_t dm_dax_recovery_write(struct dax_device *dax_dev, pgoff_t pgoff,
/linux-master/fs/smb/client/
H A Dfscache.c256 pgoff_t first, unsigned int nr_pages,
257 pgoff_t *_data_first,
H A Dcifsfs.c1247 pgoff_t index = pos / PAGE_SIZE;
/linux-master/fs/fuse/
H A Dinode.c522 pgoff_t pg_start;
523 pgoff_t pg_end;
H A Dfile.c426 pgoff_t idx_from, pgoff_t idx_to)
434 pgoff_t curr_index;
455 static bool fuse_range_is_writeback(struct inode *inode, pgoff_t idx_from,
456 pgoff_t idx_to)
468 static inline bool fuse_page_is_writeback(struct inode *inode, pgoff_t index)
479 static void fuse_wait_on_page_writeback(struct inode *inode, pgoff_t index)
1201 pgoff_t index = pos >> PAGE_SHIFT;
1545 pgoff_t idx_from = pos >> PAGE_SHIFT;
1546 pgoff_t idx_t
[all...]

Completed in 320 milliseconds

12345678910