Lines Matching refs:pg_offset

774 	int     pg_offset = 0;  in cluster_iodone()  local
965 pg_offset = upl_offset & PAGE_MASK; in cluster_iodone()
966 commit_size = (pg_offset + transaction_size + (PAGE_SIZE - 1)) & ~PAGE_MASK; in cluster_iodone()
971 upl_flags = cluster_ioerror(upl, upl_offset - pg_offset, commit_size, error, b_flags, vp); in cluster_iodone()
983 ubc_upl_commit_range(upl, upl_offset - pg_offset, commit_size, upl_flags); in cluster_iodone()
996 upl, upl_offset - pg_offset, commit_size, (error << 24) | upl_flags, 0); in cluster_iodone()
1218 int pg_offset; in cluster_io() local
1260 pg_offset = upl_offset & PAGE_MASK; in cluster_io()
1262 size = (((non_rounded_size + pg_offset) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - pg_offset; in cluster_io()
1679 pg_offset = upl_offset & PAGE_MASK; in cluster_io()
1687 pg_count = (io_size + pg_offset + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
1766 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
1768 pg_count = (pg_offset + bytes_to_zero) / PAGE_SIZE; in cluster_io()
1816 io_size = PAGE_SIZE - pg_offset; in cluster_io()
2092 pg_offset = upl_offset & PAGE_MASK; in cluster_io()
2095 upl_flags = cluster_ioerror(upl, (int)(upl_offset - pg_offset), in cluster_io()
2099 upl, upl_offset - pg_offset, abort_size, (error << 24) | upl_flags, 0); in cluster_io()
7148 int pg_offset; in cluster_copy_upl_data() local
7187 pg_offset = upl_offset & PAGE_MASK; in cluster_copy_upl_data()
7188 csize = min(PAGE_SIZE - pg_offset, xsize); in cluster_copy_upl_data()
7194 paddr = ((addr64_t)upl_phys_page(pl, pg_index) << PAGE_SHIFT) + pg_offset; in cluster_copy_upl_data()
7202 pg_offset = 0; in cluster_copy_upl_data()