Lines Matching defs:resid
125 unsigned resid, cnt;
137 resid = len; /* Get the length to copy */
139 while (resid != 0) {
151 if (cnt > resid) cnt = resid;
157 resid -= cnt;
162 resid = len;
167 while (resid != 0) {
182 if (cnt > resid) cnt = resid;
193 resid -= cnt;
198 kprintf("kdp_vm_read: ret %08X\n", len-resid);
200 return (len - resid);
213 unsigned resid, cnt, cnt_src, cnt_dst;
222 resid = len;
224 while (resid != 0) {
238 if (cnt > resid)
239 cnt = resid;
246 resid -= cnt;
249 return (len - resid);