Lines Matching refs:bytes_to_zero

2083 			int bytes_to_zero;  in cluster_io()  local
2101 bytes_to_zero = non_rounded_size; in cluster_io()
2103 bytes_to_zero = (int)((((upl_offset + io_size) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - upl_offset); in cluster_io()
2108 bytes_to_zero = io_size; in cluster_io()
2113 cluster_zero(upl, (upl_offset_t)upl_offset, bytes_to_zero, real_bp); in cluster_io()
2128 if (bytes_to_zero >= pg_resid) { in cluster_io()
2140 pg_count = (bytes_to_zero - pg_resid + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
2142 pg_count = (bytes_to_zero - pg_resid) / PAGE_SIZE; in cluster_io()
2157 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
2159 pg_count = (pg_offset + bytes_to_zero) / PAGE_SIZE; in cluster_io()
3852 …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
3858 bytes_to_zero = min(bytes_to_zero, PAGE_SIZE - (int)(zero_off & PAGE_MASK_64)); in cluster_zero_range()
3870 cluster_zero(upl, io_offset, bytes_to_zero, NULL); in cluster_zero_range()
3873 return bytes_to_zero; in cluster_zero_range()
4173 int bytes_to_zero; in cluster_write_copy() local
4466 bytes_to_zero = (int)zero_cnt; in cluster_write_copy()
4468 bytes_to_zero = xfer_resid; in cluster_write_copy()
4471bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off, upl_f_offset, bytes_to_zer… in cluster_write_copy()
4473 xfer_resid -= bytes_to_zero; in cluster_write_copy()
4474 zero_cnt -= bytes_to_zero; in cluster_write_copy()
4475 zero_off += bytes_to_zero; in cluster_write_copy()
4476 io_offset += bytes_to_zero; in cluster_write_copy()
4499 bytes_to_zero = (int)zero_cnt1; in cluster_write_copy()
4501 bytes_to_zero = xfer_resid; in cluster_write_copy()
4504bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off1, upl_f_offset, bytes_to_ze… in cluster_write_copy()
4506 xfer_resid -= bytes_to_zero; in cluster_write_copy()
4507 zero_cnt1 -= bytes_to_zero; in cluster_write_copy()
4508 zero_off1 += bytes_to_zero; in cluster_write_copy()
4509 io_offset += bytes_to_zero; in cluster_write_copy()