Lines Matching refs:pagep
120 static int shmem_replace_page(struct page **pagep, gfp_t gfp,
123 struct page **pagep, enum sgp_type sgp, gfp_t gfp, int *fault_type);
126 struct page **pagep, enum sgp_type sgp, int *fault_type) in shmem_getpage() argument
128 return shmem_getpage_gfp(inode, index, pagep, sgp, in shmem_getpage()
618 swp_entry_t swap, struct page **pagep) in shmem_unuse_inode() argument
641 if (shmem_should_replace_page(*pagep, gfp)) { in shmem_unuse_inode()
643 error = shmem_replace_page(pagep, gfp, info, index); in shmem_unuse_inode()
663 if (!page_swapcount(*pagep)) in shmem_unuse_inode()
673 error = shmem_add_to_page_cache(*pagep, mapping, index, in shmem_unuse_inode()
680 delete_from_swap_cache(*pagep); in shmem_unuse_inode()
681 set_page_dirty(*pagep); in shmem_unuse_inode()
964 static int shmem_replace_page(struct page **pagep, gfp_t gfp, in shmem_replace_page() argument
972 oldpage = *pagep; in shmem_replace_page()
1018 *pagep = newpage; in shmem_replace_page()
1038 struct page **pagep, enum sgp_type sgp, gfp_t gfp, int *fault_type) in shmem_getpage_gfp() argument
1078 *pagep = page; in shmem_getpage_gfp()
1237 *pagep = page; in shmem_getpage_gfp()
1480 struct page **pagep, void **fsdata) in shmem_write_begin() argument
1494 return shmem_getpage(inode, index, pagep, SGP_WRITE, NULL); in shmem_write_begin()