Lines Matching defs:bytes_to_zero
1283 int bytes_to_zero;
1301 bytes_to_zero = non_rounded_size;
1303 bytes_to_zero = (((upl_offset + io_size) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - upl_offset;
1307 bytes_to_zero = io_size;
1311 cluster_zero(upl, upl_offset, bytes_to_zero, real_bp);
1326 if (bytes_to_zero >= pg_resid) {
1338 pg_count = (bytes_to_zero - pg_resid + (PAGE_SIZE - 1)) / PAGE_SIZE;
1340 pg_count = (bytes_to_zero - pg_resid) / 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;
2715 cluster_zero_range(upl_t upl, upl_page_info_t *pl, int flags, int io_offset, off_t zero_off, off_t upl_f_offset, int bytes_to_zero)
2722 bytes_to_zero = min(bytes_to_zero, PAGE_SIZE - (int)(zero_off & PAGE_MASK_64));
2734 cluster_zero(upl, io_offset, bytes_to_zero, NULL);
2736 return (bytes_to_zero);
2754 int bytes_to_zero;
3032 bytes_to_zero = zero_cnt;
3034 bytes_to_zero = xfer_resid;
3036 bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off, upl_f_offset, bytes_to_zero);
3038 xfer_resid -= bytes_to_zero;
3039 zero_cnt -= bytes_to_zero;
3040 zero_off += bytes_to_zero;
3041 io_offset += bytes_to_zero;
3065 bytes_to_zero = zero_cnt1;
3067 bytes_to_zero = xfer_resid;
3069 bytes_to_zero = cluster_zero_range(upl, pl, flags, io_offset, zero_off1, upl_f_offset, bytes_to_zero);
3071 xfer_resid -= bytes_to_zero;
3072 zero_cnt1 -= bytes_to_zero;
3073 zero_off1 += bytes_to_zero;
3074 io_offset += bytes_to_zero;