Lines Matching refs:resid
160 unsigned resid, cnt;
173 resid = len; /* Get the length to copy */
175 while (resid != 0) {
184 if (cnt > resid)
185 cnt = resid;
191 resid -= cnt;
196 resid = len;
198 while (resid != 0) {
212 if (cnt > resid)
213 cnt = resid;
224 resid -= cnt;
229 kprintf("kdp_machine_vm_read: ret %08X\n", len - resid);
231 return (len - resid);
253 unsigned resid, cnt;
263 resid = len;
264 while (resid != 0) {
278 if (cnt > resid)
279 cnt = resid;
285 resid -= cnt;
290 kprintf("kdp_machine_vm_read: ret %08X\n", len - resid);
292 return (len - resid);