Home
last modified time | relevance | path

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

/xnu-8020.121.3/bsd/vfs/
H A Dvfs_cluster.c1657 int bytes_to_zero; in cluster_io() local
1675 bytes_to_zero = non_rounded_size; in cluster_io()
1677 bytes_to_zero = (int)((((upl_offset + io_size) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - upl_offset); in cluster_io()
1682 bytes_to_zero = io_size; in cluster_io()
1687 cluster_zero(upl, (upl_offset_t)upl_offset, bytes_to_zero, real_bp); in cluster_io()
1702 if (bytes_to_zero >= pg_resid) { in cluster_io()
1714 pg_count = (bytes_to_zero - pg_resid + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
1716 pg_count = (bytes_to_zero - pg_resid) / PAGE_SIZE; in cluster_io()
1731 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
1733 pg_count = (pg_offset + bytes_to_zero) / PAGE_SIZE; in cluster_io()
[all …]
H A Dvfs_attrlist.c245 long bytes_to_zero; in attrlist_pack_string() local
267 bytes_to_zero = lmin((roundup(fit, 4) - fit), in attrlist_pack_string()
269 if (bytes_to_zero) { in attrlist_pack_string()
270 bzero(&(ab->varcursor[fit]), bytes_to_zero); in attrlist_pack_string()