Lines Matching defs:pg_offset
483 int pg_offset = 0;
606 pg_offset = upl_offset & PAGE_MASK;
607 commit_size = (pg_offset + transaction_size + (PAGE_SIZE - 1)) & ~PAGE_MASK;
610 upl_flags = cluster_ioerror(upl, upl_offset - pg_offset, commit_size, error, b_flags);
620 ubc_upl_commit_range(upl, upl_offset - pg_offset, commit_size, upl_flags);
633 (int)upl, upl_offset - pg_offset, commit_size, (error << 24) | upl_flags, 0);
764 int pg_offset;
804 pg_offset = upl_offset & PAGE_MASK;
806 size = (((non_rounded_size + pg_offset) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - pg_offset;
1085 * pg_offset is the starting point in the first page for the I/O
1088 pg_offset = upl_offset & PAGE_MASK;
1096 pg_count = (io_size + pg_offset + (PAGE_SIZE - 1)) / PAGE_SIZE;
1171 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE;
1173 pg_count = (pg_offset + bytes_to_zero) / PAGE_SIZE;
1215 io_size = PAGE_SIZE - pg_offset;
1448 pg_offset = upl_offset & PAGE_MASK;
1451 upl_flags = cluster_ioerror(upl, upl_offset - pg_offset, abort_size, error, io_flags);
1454 (int)upl, upl_offset - pg_offset, abort_size, (error << 24) | upl_flags, 0);
5064 int pg_offset;
5111 pg_offset = upl_offset & PAGE_MASK;
5112 csize = min(PAGE_SIZE - pg_offset, xsize);
5117 paddr = ((addr64_t)upl_phys_page(pl, pg_index) << 12) + pg_offset;
5122 pg_offset = 0;