Home
last modified time | relevance | path

Searched refs:bytes_to_zero (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.61.12/bsd/vfs/
H A Dvfs_cluster.c2083 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()
[all …]
H A Dvfs_attrlist.c291 long bytes_to_zero; in attrlist_pack_string() local
313 bytes_to_zero = lmin((roundup(fit, 4) - fit), in attrlist_pack_string()
315 if (bytes_to_zero) { in attrlist_pack_string()
316 bzero(&(ab->varcursor[fit]), bytes_to_zero); in attrlist_pack_string()