Lines Matching refs:index
46 struct page *ecryptfs_get_locked_page(struct file *file, loff_t index) in ecryptfs_get_locked_page() argument
56 page = read_mapping_page(mapping, index, (void *)file); in ecryptfs_get_locked_page()
75 "page (upper index [0x%.16x])\n", page->index); in ecryptfs_writepage()
134 loff_t view_extent_num = ((((loff_t)page->index) in ecryptfs_copy_up_encrypted_with_header()
204 rc = ecryptfs_read_lower_page_segment(page, page->index, 0, in ecryptfs_readpage()
222 page, page->index, 0, PAGE_CACHE_SIZE, in ecryptfs_readpage()
244 page->index); in ecryptfs_readpage()
257 if ((i_size_read(inode) / PAGE_CACHE_SIZE) != page->index) in fill_zeros_to_end_of_page()
286 pgoff_t index = pos >> PAGE_CACHE_SHIFT; in ecryptfs_write_begin() local
291 page = grab_cache_page_write_begin(mapping, index, flags); in ecryptfs_write_begin()
304 page, index, 0, PAGE_CACHE_SIZE, mapping->host); in ecryptfs_write_begin()
330 page, index, 0, PAGE_CACHE_SIZE, in ecryptfs_write_begin()
346 __func__, page->index, rc); in ecryptfs_write_begin()
353 prev_page_end_size = ((loff_t)index << PAGE_CACHE_SHIFT); in ecryptfs_write_begin()
356 if (index != 0) { in ecryptfs_write_begin()
477 pgoff_t index = pos >> PAGE_CACHE_SHIFT; in ecryptfs_write_end() local
492 "(page w/ index = [0x%.16x], to = [%d])\n", index, to); in ecryptfs_write_end()
497 "zeros in page with index = [0x%.16x]\n", index); in ecryptfs_write_end()
503 "index [0x%.16x])\n", index); in ecryptfs_write_end()