Home
last modified time | relevance | path

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

/xnu-8792.81.2/bsd/vfs/
H A Dvfs_cluster.c1678 int bytes_to_zero; in cluster_io() local
1696 bytes_to_zero = non_rounded_size; in cluster_io()
1698 bytes_to_zero = (int)((((upl_offset + io_size) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - upl_offset); in cluster_io()
1703 bytes_to_zero = io_size; in cluster_io()
1708 cluster_zero(upl, (upl_offset_t)upl_offset, bytes_to_zero, real_bp); in cluster_io()
1723 if (bytes_to_zero >= pg_resid) { in cluster_io()
1735 pg_count = (bytes_to_zero - pg_resid + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
1737 pg_count = (bytes_to_zero - pg_resid) / PAGE_SIZE; in cluster_io()
1752 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
1754 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()