Lines Matching defs:pg_offset
596 int pg_offset = 0;
740 pg_offset = upl_offset & PAGE_MASK;
741 commit_size = (pg_offset + transaction_size + (PAGE_SIZE - 1)) & ~PAGE_MASK;
744 upl_flags = cluster_ioerror(upl, upl_offset - pg_offset, commit_size, error, b_flags);
754 ubc_upl_commit_range(upl, upl_offset - pg_offset, commit_size, upl_flags);
767 upl, upl_offset - pg_offset, commit_size, (error << 24) | upl_flags, 0);
926 int pg_offset;
966 pg_offset = upl_offset & PAGE_MASK;
968 size = (((non_rounded_size + pg_offset) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - pg_offset;
1268 * pg_offset is the starting point in the first page for the I/O
1271 pg_offset = upl_offset & PAGE_MASK;
1279 pg_count = (io_size + pg_offset + (PAGE_SIZE - 1)) / PAGE_SIZE;
1354 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE;
1356 pg_count = (pg_offset + bytes_to_zero) / PAGE_SIZE;
1398 io_size = PAGE_SIZE - pg_offset;
1639 pg_offset = upl_offset & PAGE_MASK;
1642 upl_flags = cluster_ioerror(upl, upl_offset - pg_offset, abort_size, error, io_flags);
1645 upl, upl_offset - pg_offset, abort_size, (error << 24) | upl_flags, 0);
5698 int pg_offset;
5738 pg_offset = upl_offset & PAGE_MASK;
5739 csize = min(PAGE_SIZE - pg_offset, xsize);
5744 paddr = ((addr64_t)upl_phys_page(pl, pg_index) << 12) + pg_offset;
5749 pg_offset = 0;