Lines Matching refs:page
9 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM
25 /* Symlink caching in the page cache is even more simplistic
29 static int nfs_symlink_filler(void *data, struct page *page)
34 error = NFS_PROTO(inode)->readlink(inode, page, 0, PAGE_SIZE);
37 SetPageUptodate(page);
38 unlock_page(page);
42 SetPageError(page);
43 unlock_page(page);
51 struct page *page;
58 page = find_get_page(inode->i_mapping, 0);
59 if (!page)
61 if (!PageUptodate(page)) {
62 put_page(page);
69 page = read_cache_page(&inode->i_data, 0, nfs_symlink_filler,
71 if (IS_ERR(page))
72 return ERR_CAST(page);
74 set_delayed_call(done, page_put_link, page);
75 return page_address(page);