Home
last modified time | relevance | path

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

123456

/linux-3.4.99/include/linux/
Dpagemap.h231 pgoff_t index);
233 pgoff_t index);
235 pgoff_t index, gfp_t gfp_mask);
236 unsigned find_get_pages(struct address_space *mapping, pgoff_t start,
238 unsigned find_get_pages_contig(struct address_space *mapping, pgoff_t start,
240 unsigned find_get_pages_tag(struct address_space *mapping, pgoff_t *index,
244 pgoff_t index, unsigned flags);
250 pgoff_t index) in grab_cache_page()
256 pgoff_t index);
258 pgoff_t index, filler_t *filler, void *data);
[all …]
Dprio_tree.h45 pgoff_t r_index;
46 pgoff_t h_index;
50 struct prio_tree_root *root, pgoff_t r_index, pgoff_t h_index) in prio_tree_iter_init()
Dwriteback.h184 pgoff_t start, pgoff_t end);
192 pgoff_t start, pgoff_t end);
Dcleancache.h28 pgoff_t, struct page *);
30 pgoff_t, struct page *);
31 void (*invalidate_page)(int, struct cleancache_filekey, pgoff_t);
Dshmem_fs.h53 pgoff_t index, gfp_t gfp_mask);
58 struct address_space *mapping, pgoff_t index) in shmem_read_mapping_page()
Dpagevec.h26 pgoff_t start, unsigned nr_pages);
28 struct address_space *mapping, pgoff_t *index, int tag,
Dnfs_page.h41 pgoff_t wb_index; /* Offset >> PAGE_CACHE_SHIFT */
92 extern void nfs_pageio_cond_complete(struct nfs_pageio_descriptor *, pgoff_t);
Dtypes.h150 #ifndef pgoff_t
151 #define pgoff_t unsigned long macro
Dswapops.h26 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) in swp_entry()
48 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset()
Dmm.h190 pgoff_t pgoff; /* Logical page offset based on vma */
815 static inline pgoff_t page_index(struct page *page) in page_index()
889 pgoff_t first_index; /* Lowest page->index to unmap */
890 pgoff_t last_index; /* Highest page->index to unmap */
1365 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert);
1368 unsigned long vm_flags, struct anon_vma *, struct file *, pgoff_t,
1378 unsigned long addr, unsigned long len, pgoff_t pgoff);
1429 pgoff_t offset, unsigned long nr_to_read);
1434 pgoff_t offset,
1441 pgoff_t offset,
Dhugetlb.h302 pgoff_t __basepage_index(struct page *page);
305 static inline pgoff_t basepage_index(struct page *page) in basepage_index()
332 static inline pgoff_t basepage_index(struct page *page) in basepage_index()
/linux-3.4.99/mm/
Dreadahead.c152 pgoff_t offset, unsigned long nr_to_read, in __do_page_cache_readahead()
172 pgoff_t page_offset = offset + page_idx; in __do_page_cache_readahead()
210 pgoff_t offset, unsigned long nr_to_read) in force_page_cache_readahead()
345 static pgoff_t count_history_pages(struct address_space *mapping, in count_history_pages()
347 pgoff_t offset, unsigned long max) in count_history_pages()
349 pgoff_t head; in count_history_pages()
363 pgoff_t offset, in try_context_readahead()
367 pgoff_t size; in try_context_readahead()
398 bool hit_readahead_marker, pgoff_t offset, in ondemand_readahead()
428 pgoff_t start; in ondemand_readahead()
[all …]
Dtruncate.c209 const pgoff_t start = (lstart + PAGE_CACHE_SIZE-1) >> PAGE_CACHE_SHIFT; in truncate_inode_pages_range()
212 pgoff_t index; in truncate_inode_pages_range()
213 pgoff_t end; in truncate_inode_pages_range()
226 min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1)) { in truncate_inode_pages_range()
266 min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1)) { in truncate_inode_pages_range()
331 pgoff_t start, pgoff_t end) in invalidate_mapping_pages()
334 pgoff_t index = start; in invalidate_mapping_pages()
349 min(end - index, (pgoff_t)PAGEVEC_SIZE - 1) + 1)) { in invalidate_mapping_pages()
439 pgoff_t start, pgoff_t end) in invalidate_inode_pages2_range()
442 pgoff_t index; in invalidate_inode_pages2_range()
[all …]
Dfilemap.c265 pgoff_t index = start_byte >> PAGE_CACHE_SHIFT; in filemap_fdatawait_range()
266 pgoff_t end = end_byte >> PAGE_CACHE_SHIFT; in filemap_fdatawait_range()
278 min(end - index, (pgoff_t)PAGEVEC_SIZE-1) + 1)) != 0) { in filemap_fdatawait_range()
405 pgoff_t offset = old->index; in replace_page_cache_page()
444 pgoff_t offset, gfp_t gfp_mask) in add_to_page_cache_locked()
484 pgoff_t offset, gfp_t gfp_mask) in add_to_page_cache_lru()
677 struct page *find_get_page(struct address_space *mapping, pgoff_t offset) in find_get_page()
730 struct page *find_lock_page(struct address_space *mapping, pgoff_t offset) in find_lock_page()
768 pgoff_t index, gfp_t gfp_mask) in find_or_create_page()
813 unsigned find_get_pages(struct address_space *mapping, pgoff_t start, in find_get_pages()
[all …]
Dshmem.c106 static int shmem_getpage_gfp(struct inode *inode, pgoff_t index,
109 static inline int shmem_getpage(struct inode *inode, pgoff_t index, in shmem_getpage()
230 pgoff_t index, void *expected, void *replacement) in shmem_radix_tree_replace()
254 pgoff_t index, gfp_t gfp, void *expected) in shmem_add_to_page_cache()
316 pgoff_t start, unsigned int nr_pages, in shmem_find_get_pages_and_swap()
317 struct page **pages, pgoff_t *indices) in shmem_find_get_pages_and_swap()
367 pgoff_t index, void *radswap) in shmem_free_swap()
400 pgoff_t indices[PAGEVEC_SIZE]; in shmem_unlock_mapping()
401 pgoff_t index = 0; in shmem_unlock_mapping()
431 pgoff_t start = (lstart + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in shmem_truncate_range()
[all …]
Dmincore.c62 static unsigned char mincore_page(struct address_space *mapping, pgoff_t pgoff) in mincore_page()
97 pgoff_t pgoff; in mincore_unmapped_range()
119 pgoff_t pgoff; in mincore_pte_range()
Dfadvise.c34 pgoff_t start_index; in SYSCALL_DEFINE()
35 pgoff_t end_index; in SYSCALL_DEFINE()
/linux-3.4.99/drivers/xen/
Dtmem.c150 pgoff_t index, struct page *page) in tmem_cleancache_put_page()
165 pgoff_t index, struct page *page) in tmem_cleancache_get_page()
185 pgoff_t index) in tmem_cleancache_flush_page()
272 static int tmem_frontswap_put_page(unsigned type, pgoff_t offset, in tmem_frontswap_put_page()
298 static int tmem_frontswap_get_page(unsigned type, pgoff_t offset, in tmem_frontswap_get_page()
320 static void tmem_frontswap_flush_page(unsigned type, pgoff_t offset) in tmem_frontswap_flush_page()
/linux-3.4.99/fs/afs/
Dwrite.c128 pgoff_t index = pos >> PAGE_CACHE_SHIFT; in afs_write_begin()
278 pgoff_t first, pgoff_t last) in afs_kill_pages()
321 pgoff_t start, first, last; in afs_write_back_from_locked_page()
465 pgoff_t index, pgoff_t end, pgoff_t *_next) in afs_writepages_region()
540 pgoff_t start, end, next; in afs_writepages()
554 end = (pgoff_t)(LLONG_MAX >> PAGE_CACHE_SHIFT); in afs_writepages()
576 pgoff_t first = call->first, last = call->last; in afs_pages_written_back()
Dinternal.h92 pgoff_t first; /* first page in mapping to deal with */
93 pgoff_t last; /* last page in mapping to deal with */
149 pgoff_t first; /* first page in batch */
150 pgoff_t point; /* last page in current store op */
151 pgoff_t last; /* last page in batch (inclusive) */
543 pgoff_t, pgoff_t, unsigned, unsigned,
715 extern int afs_vnode_store_data(struct afs_writeback *, pgoff_t, pgoff_t,
/linux-3.4.99/fs/nilfs2/
Dpage.c43 __nilfs_get_page_block(struct page *page, unsigned long block, pgoff_t index, in __nilfs_get_page_block()
67 pgoff_t index = blkoff >> (PAGE_CACHE_SHIFT - blkbits); in nilfs_grab_buffer()
262 pgoff_t index = 0; in nilfs_copy_dirty_pages()
317 pgoff_t index = 0; in nilfs_copy_back_pages()
329 pgoff_t offset = page->index; in nilfs_copy_back_pages()
378 pgoff_t index = 0; in nilfs_clear_dirty_pages()
488 pgoff_t index; in nilfs_find_uncommitted_extent()
/linux-3.4.99/fs/ext2/
Dxip.c31 __ext2_get_block(struct inode *inode, pgoff_t pgoff, int create, in __ext2_get_block()
76 int ext2_get_xip_mem(struct address_space *mapping, pgoff_t pgoff, int create, in ext2_get_xip_mem()
/linux-3.4.99/kernel/power/
Dblock_io.c65 int hib_bio_read_page(pgoff_t page_off, void *addr, struct bio **bio_chain) in hib_bio_read_page()
71 int hib_bio_write_page(pgoff_t page_off, void *addr, struct bio **bio_chain) in hib_bio_write_page()
Dpower.h163 extern int hib_bio_read_page(pgoff_t page_off, void *addr,
165 extern int hib_bio_write_page(pgoff_t page_off, void *addr,
/linux-3.4.99/fs/logfs/
Dfile.c18 pgoff_t index = pos >> PAGE_CACHE_SHIFT; in logfs_write_begin()
43 pgoff_t index = page->index; in logfs_write_end()
121 pgoff_t end_index = i_size >> PAGE_CACHE_SHIFT; in logfs_writepage()

123456