Lines Matching refs:page
30 static int nfs_symlink_filler(struct inode *inode, struct page *page) in nfs_symlink_filler() argument
39 error = NFS_PROTO(inode)->readlink(inode, page); in nfs_symlink_filler()
43 SetPageUptodate(page); in nfs_symlink_filler()
44 UnlockPage(page); in nfs_symlink_filler()
48 SetPageError(page); in nfs_symlink_filler()
49 UnlockPage(page); in nfs_symlink_filler()
53 static char *nfs_getlink(struct inode *inode, struct page **ppage) in nfs_getlink()
55 struct page *page; in nfs_getlink() local
59 page = read_cache_page(&inode->i_data, 0, in nfs_getlink()
61 if (IS_ERR(page)) in nfs_getlink()
63 if (!Page_Uptodate(page)) in nfs_getlink()
65 *ppage = page; in nfs_getlink()
66 p = kmap(page); in nfs_getlink()
70 page_cache_release(page); in nfs_getlink()
73 return (char*)page; in nfs_getlink()
79 struct page *page = NULL; in nfs_readlink() local
80 int res = vfs_readlink(dentry,buffer,buflen,nfs_getlink(inode,&page)); in nfs_readlink()
81 if (page) { in nfs_readlink()
82 kunmap(page); in nfs_readlink()
83 page_cache_release(page); in nfs_readlink()
91 struct page *page = NULL; in nfs_follow_link() local
92 int res = vfs_follow_link(nd, nfs_getlink(inode,&page)); in nfs_follow_link()
93 if (page) { in nfs_follow_link()
94 kunmap(page); in nfs_follow_link()
95 page_cache_release(page); in nfs_follow_link()