Lines Matching refs:index
47 struct page *ecryptfs_get_locked_page(struct inode *inode, loff_t index) in ecryptfs_get_locked_page() argument
49 struct page *page = read_mapping_page(inode->i_mapping, index, NULL); in ecryptfs_get_locked_page()
72 "page (upper index [0x%.16lx])\n", page->index); in ecryptfs_writepage()
131 loff_t view_extent_num = ((((loff_t)page->index) in ecryptfs_copy_up_encrypted_with_header()
201 rc = ecryptfs_read_lower_page_segment(page, page->index, 0, in ecryptfs_readpage()
219 page, page->index, 0, PAGE_SIZE, in ecryptfs_readpage()
241 page->index); in ecryptfs_readpage()
254 if ((i_size_read(inode) / PAGE_SIZE) != page->index) in fill_zeros_to_end_of_page()
283 pgoff_t index = pos >> PAGE_SHIFT; in ecryptfs_write_begin() local
288 page = grab_cache_page_write_begin(mapping, index, flags); in ecryptfs_write_begin()
293 prev_page_end_size = ((loff_t)index << PAGE_SHIFT); in ecryptfs_write_begin()
300 page, index, 0, PAGE_SIZE, mapping->host); in ecryptfs_write_begin()
326 page, index, 0, PAGE_SIZE, in ecryptfs_write_begin()
348 __func__, page->index, rc); in ecryptfs_write_begin()
358 if (index != 0) { in ecryptfs_write_begin()
483 pgoff_t index = pos >> PAGE_SHIFT; in ecryptfs_write_end() local
492 "(page w/ index = [0x%.16lx], to = [%d])\n", index, to); in ecryptfs_write_end()
514 "zeros in page with index = [0x%.16lx]\n", index); in ecryptfs_write_end()
520 "index [0x%.16lx])\n", index); in ecryptfs_write_end()