Home
last modified time | relevance | path

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

/xnu-11417.101.15/bsd/vfs/
H A Dvfs_cluster.c2018 int bytes_to_zero; in cluster_io() local
2036 bytes_to_zero = non_rounded_size; in cluster_io()
2038 bytes_to_zero = (int)((((upl_offset + io_size) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - upl_offset); in cluster_io()
2043 bytes_to_zero = io_size; in cluster_io()
2048 cluster_zero(upl, (upl_offset_t)upl_offset, bytes_to_zero, real_bp); in cluster_io()
2063 if (bytes_to_zero >= pg_resid) { in cluster_io()
2075 pg_count = (bytes_to_zero - pg_resid + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
2077 pg_count = (bytes_to_zero - pg_resid) / PAGE_SIZE; in cluster_io()
2092 pg_count = (pg_offset + bytes_to_zero + (PAGE_SIZE - 1)) / PAGE_SIZE; in cluster_io()
2094 pg_count = (pg_offset + bytes_to_zero) / PAGE_SIZE; in cluster_io()
[all …]
H A Dvfs_attrlist.c285 long bytes_to_zero; in attrlist_pack_string() local
307 bytes_to_zero = lmin((roundup(fit, 4) - fit), in attrlist_pack_string()
309 if (bytes_to_zero) { in attrlist_pack_string()
310 bzero(&(ab->varcursor[fit]), bytes_to_zero); in attrlist_pack_string()