Lines Matching refs:bytes_to_zero
1683 int bytes_to_zero; in cluster_io() local
1701 bytes_to_zero = non_rounded_size; in cluster_io()
1703 bytes_to_zero = (int)((((upl_offset + io_size) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - upl_offset); in cluster_io()
1708 bytes_to_zero = io_size; in cluster_io()
1713 cluster_zero(upl, (upl_offset_t)upl_offset, bytes_to_zero, real_bp); in cluster_io()
1728 if (bytes_to_zero >= pg_resid) { in cluster_io()
1740 pg_count = (bytes_to_zero - pg_resid + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
1742 pg_count = (bytes_to_zero - pg_resid) / PAGE_SIZE; in cluster_io()
1757 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
1759 pg_count = (pg_offset + bytes_to_zero) / PAGE_SIZE; in cluster_io()
3222 …l_page_info_t *pl, int flags, int io_offset, off_t zero_off, off_t upl_f_offset, int bytes_to_zero) in cluster_zero_range() argument
3228 bytes_to_zero = min(bytes_to_zero, PAGE_SIZE - (int)(zero_off & PAGE_MASK_64)); in cluster_zero_range()
3240 cluster_zero(upl, io_offset, bytes_to_zero, NULL); in cluster_zero_range()
3243 return bytes_to_zero; in cluster_zero_range()
3543 int bytes_to_zero; in cluster_write_copy() local
3836 bytes_to_zero = (int)zero_cnt; in cluster_write_copy()
3838 bytes_to_zero = xfer_resid; in cluster_write_copy()
3841 …bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off, upl_f_offset, bytes_to_zer… in cluster_write_copy()
3843 xfer_resid -= bytes_to_zero; in cluster_write_copy()
3844 zero_cnt -= bytes_to_zero; in cluster_write_copy()
3845 zero_off += bytes_to_zero; in cluster_write_copy()
3846 io_offset += bytes_to_zero; in cluster_write_copy()
3869 bytes_to_zero = (int)zero_cnt1; in cluster_write_copy()
3871 bytes_to_zero = xfer_resid; in cluster_write_copy()
3874 …bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off1, upl_f_offset, bytes_to_ze… in cluster_write_copy()
3876 xfer_resid -= bytes_to_zero; in cluster_write_copy()
3877 zero_cnt1 -= bytes_to_zero; in cluster_write_copy()
3878 zero_off1 += bytes_to_zero; in cluster_write_copy()
3879 io_offset += bytes_to_zero; in cluster_write_copy()