Lines Matching refs:cnt
95 mach_vm_size_t cnt = 0, cnt_src, cnt_dst;
137 cnt = cnt_dst;
139 cnt = cnt_src;
140 if (cnt > resid)
141 cnt = resid;
144 ml_copy_phys(cur_phys_src, cur_phys_dst, (vm_size_t)cnt);
146 cur_virt_src += cnt;
147 cur_virt_dst += cnt;
148 resid -= cnt;
164 mach_vm_size_t cnt = 0, cnt_src, cnt_dst;
187 cnt = cnt_dst;
189 cnt = cnt_src;
190 if (cnt > resid)
191 cnt = resid;
196 ml_copy_phys(cur_phys_src, cur_phys_dst, (vm_size_t)cnt);
197 cur_phys_src += cnt;
198 cur_virt_dst += cnt;
199 resid -= cnt;
213 unsigned resid, cnt, cnt_src, cnt_dst;
236 cnt = cnt_dst;
238 cnt = cnt_src;
239 if (cnt > resid)
240 cnt = resid;
242 ml_copy_phys(cur_phys_src, cur_phys_dst, cnt); /* Copy stuff over */
244 cur_virt_src +=cnt;
245 cur_virt_dst +=cnt;
246 resid -= cnt;
263 unsigned resid, cnt, cnt_src, cnt_dst;
288 cnt = cnt_dst;
290 cnt = cnt_src;
291 if (cnt > resid)
292 cnt = resid;
294 ml_copy_phys(cur_phys_src, cur_phys_dst, cnt); /* Copy stuff over */
296 cur_virt_src +=cnt;
297 cur_phys_dst +=cnt;
298 resid -= cnt;