Lines Matching refs:bytes_to_zero
1988 int bytes_to_zero; in cluster_io() local
2006 bytes_to_zero = non_rounded_size; in cluster_io()
2008 bytes_to_zero = (int)((((upl_offset + io_size) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - upl_offset); in cluster_io()
2013 bytes_to_zero = io_size; in cluster_io()
2018 cluster_zero(upl, (upl_offset_t)upl_offset, bytes_to_zero, real_bp); in cluster_io()
2033 if (bytes_to_zero >= pg_resid) { in cluster_io()
2045 pg_count = (bytes_to_zero - pg_resid + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
2047 pg_count = (bytes_to_zero - pg_resid) / PAGE_SIZE; in cluster_io()
2062 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
2064 pg_count = (pg_offset + bytes_to_zero) / PAGE_SIZE; in cluster_io()
3546 …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
3552 bytes_to_zero = min(bytes_to_zero, PAGE_SIZE - (int)(zero_off & PAGE_MASK_64)); in cluster_zero_range()
3564 cluster_zero(upl, io_offset, bytes_to_zero, NULL); in cluster_zero_range()
3567 return bytes_to_zero; in cluster_zero_range()
3867 int bytes_to_zero; in cluster_write_copy() local
4160 bytes_to_zero = (int)zero_cnt; in cluster_write_copy()
4162 bytes_to_zero = xfer_resid; in cluster_write_copy()
4165 …bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off, upl_f_offset, bytes_to_zer… in cluster_write_copy()
4167 xfer_resid -= bytes_to_zero; in cluster_write_copy()
4168 zero_cnt -= bytes_to_zero; in cluster_write_copy()
4169 zero_off += bytes_to_zero; in cluster_write_copy()
4170 io_offset += bytes_to_zero; in cluster_write_copy()
4193 bytes_to_zero = (int)zero_cnt1; in cluster_write_copy()
4195 bytes_to_zero = xfer_resid; in cluster_write_copy()
4198 …bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off1, upl_f_offset, bytes_to_ze… in cluster_write_copy()
4200 xfer_resid -= bytes_to_zero; in cluster_write_copy()
4201 zero_cnt1 -= bytes_to_zero; in cluster_write_copy()
4202 zero_off1 += bytes_to_zero; in cluster_write_copy()
4203 io_offset += bytes_to_zero; in cluster_write_copy()