Lines Matching refs:bytes
97 extern void bcopy_no_overwrite(const char *from, char *to,vm_size_t bytes);
168 uint32_t bytes)
170 bzero_phys(src64,bytes);
176 uint32_t bytes)
178 bzero(PHYSMAP_PTOV(src64), bytes);
190 vm_size_t bytes)
193 if (((((uint32_t)src64 & (NBPG-1)) + bytes) > NBPG) ||
194 ((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) {
197 bcopy(PHYSMAP_PTOV(src64), PHYSMAP_PTOV(dst64), bytes);
207 vm_size_t bytes,
208 int (*func)(void * buffer, vm_size_t bytes, void * arg),
212 if (((((uint32_t)dst64 & (NBPG-1)) + bytes) > NBPG) ) {
216 return func(PHYSMAP_PTOV(dst64), bytes, arg);
228 vm_size_t bytes) /* num bytes to copy */
231 if (from + bytes <= to || to + bytes <= from || to == from)
232 bcopy_no_overwrite(from, to, bytes); /* non-overlapping or no-op*/
234 bcopy_no_overwrite(from, to, bytes); /* overlapping but OK */
237 from += bytes - 1;
238 to += bytes - 1;
239 while (bytes-- > 0)