Lines Matching refs:cur_ofs
499 unsigned int xpage, max_page, cur_page, cur_ofs, i; in ntfs_read_compressed_block() local
588 cur_ofs = 0; in ntfs_read_compressed_block()
722 cb_max_page = (cur_page << PAGE_SHIFT) + cur_ofs + cb_size; in ntfs_read_compressed_block()
740 if (likely(!cur_ofs)) in ntfs_read_compressed_block()
743 memset(page_address(page) + cur_ofs, 0, in ntfs_read_compressed_block()
745 cur_ofs); in ntfs_read_compressed_block()
756 cb_pos += PAGE_SIZE - cur_ofs; in ntfs_read_compressed_block()
757 cur_ofs = 0; in ntfs_read_compressed_block()
765 memset(page_address(page) + cur_ofs, 0, in ntfs_read_compressed_block()
766 cb_max_ofs - cur_ofs); in ntfs_read_compressed_block()
771 cur_ofs = cb_max_ofs; in ntfs_read_compressed_block()
776 unsigned int cur_ofs2 = cur_ofs; in ntfs_read_compressed_block()
797 memcpy(page_address(page) + cur_ofs, cb_pos, in ntfs_read_compressed_block()
798 PAGE_SIZE - cur_ofs); in ntfs_read_compressed_block()
799 cb_pos += PAGE_SIZE - cur_ofs; in ntfs_read_compressed_block()
800 cur_ofs = 0; in ntfs_read_compressed_block()
808 memcpy(page_address(page) + cur_ofs, cb_pos, in ntfs_read_compressed_block()
809 cb_max_ofs - cur_ofs); in ntfs_read_compressed_block()
810 cb_pos += cb_max_ofs - cur_ofs; in ntfs_read_compressed_block()
811 cur_ofs = cb_max_ofs; in ntfs_read_compressed_block()
846 &cur_ofs, cb_max_page, cb_max_ofs, xpage, in ntfs_read_compressed_block()