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()
59 "page (upper index [0x%.16lx])\n", page->index); in ecryptfs_writepage()
118 loff_t view_extent_num = ((((loff_t)page->index) in ecryptfs_copy_up_encrypted_with_header()
189 rc = ecryptfs_read_lower_page_segment(page, page->index, 0, in ecryptfs_read_folio()
207 page, page->index, 0, PAGE_SIZE, in ecryptfs_read_folio()
229 page->index); in ecryptfs_read_folio()
242 if ((i_size_read(inode) / PAGE_SIZE) != page->index) in fill_zeros_to_end_of_page()
271 pgoff_t index = pos >> PAGE_SHIFT; in ecryptfs_write_begin() local
276 page = grab_cache_page_write_begin(mapping, index); in ecryptfs_write_begin()
281 prev_page_end_size = ((loff_t)index << PAGE_SHIFT); in ecryptfs_write_begin()
288 page, index, 0, PAGE_SIZE, mapping->host); in ecryptfs_write_begin()
314 page, index, 0, PAGE_SIZE, in ecryptfs_write_begin()
336 __func__, page->index, rc); in ecryptfs_write_begin()
346 if (index != 0) { in ecryptfs_write_begin()
469 pgoff_t index = pos >> PAGE_SHIFT; in ecryptfs_write_end() local
478 "(page w/ index = [0x%.16lx], to = [%d])\n", index, to); in ecryptfs_write_end()
500 "zeros in page with index = [0x%.16lx]\n", index); in ecryptfs_write_end()
506 "index [0x%.16lx])\n", index); in ecryptfs_write_end()