Lines Matching refs:index
33 struct page *ecryptfs_get_locked_page(struct inode *inode, loff_t index) in ecryptfs_get_locked_page() argument
35 struct page *page = read_mapping_page(inode->i_mapping, index, NULL); in ecryptfs_get_locked_page()
58 "page (upper index [0x%.16lx])\n", page->index); in ecryptfs_writepage()
117 loff_t view_extent_num = ((((loff_t)page->index) in ecryptfs_copy_up_encrypted_with_header()
187 rc = ecryptfs_read_lower_page_segment(page, page->index, 0, in ecryptfs_readpage()
205 page, page->index, 0, PAGE_SIZE, in ecryptfs_readpage()
227 page->index); in ecryptfs_readpage()
240 if ((i_size_read(inode) / PAGE_SIZE) != page->index) in fill_zeros_to_end_of_page()
269 pgoff_t index = pos >> PAGE_SHIFT; in ecryptfs_write_begin() local
274 page = grab_cache_page_write_begin(mapping, index, flags); in ecryptfs_write_begin()
279 prev_page_end_size = ((loff_t)index << PAGE_SHIFT); in ecryptfs_write_begin()
286 page, index, 0, PAGE_SIZE, mapping->host); in ecryptfs_write_begin()
312 page, index, 0, PAGE_SIZE, in ecryptfs_write_begin()
334 __func__, page->index, rc); in ecryptfs_write_begin()
344 if (index != 0) { in ecryptfs_write_begin()
467 pgoff_t index = pos >> PAGE_SHIFT; in ecryptfs_write_end() local
476 "(page w/ index = [0x%.16lx], to = [%d])\n", index, to); in ecryptfs_write_end()
498 "zeros in page with index = [0x%.16lx]\n", index); in ecryptfs_write_end()
504 "index [0x%.16lx])\n", index); in ecryptfs_write_end()