Searched refs:pm_resid (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/share/examples/pud/intro/
H A Dintro.c101 pc_read->pm_resid);
103 clen = MIN(strlen(curstr), pc_read->pm_resid);
106 clen = pc_read->pm_resid;
107 pc_read->pm_resid = 0;
109 pc_read->pm_resid -= clen;
124 pc_write->pm_resid);
126 pc_write->pm_data[pc_write->pm_resid] = '\0';
130 pc_write->pm_resid = 0;
/netbsd-current/sys/dev/pud/
H A Dpud_dev.c137 pc_rw->pm_resid = bp->b_bcount;
147 if (pc_rw->pm_resid > bp->b_bcount) {
153 memcpy(bp->b_data,pc_rw->pm_data,bp->b_bcount-pc_rw->pm_resid);
155 bp->b_resid = pc_rw->pm_resid;
241 pc_read->pm_resid = uio->uio_resid;
248 if (pc_read->pm_resid > uio->uio_resid) {
254 uio->uio_resid - pc_read->pm_resid, uio);
272 pc_write->pm_resid = uio->uio_resid;
283 if (pc_write->pm_resid)
H A Dpud_msgif.h77 size_t pm_resid; member in struct:pud_req_readwrite
/netbsd-current/share/examples/rump/umserv/
H A Dumserv.c194 assert(pr_rw->pm_resid <= 64*1024);
196 pr_rw->pm_resid, pr_rw->pm_offset, RUMPUIO_READ);
202 pr_rw->pm_resid = reslen;
208 pr_rw->pm_resid, pr_rw->pm_offset, RUMPUIO_WRITE);
213 pr_rw->pm_resid = reslen;
/netbsd-current/share/examples/rump/ttyserv/
H A Dttyserv.c124 assert(pr_rw->pm_resid <= 64*1024);
126 pr_rw->pm_resid, pr_rw->pm_offset, RUMPUIO_READ);
132 pr_rw->pm_resid = reslen;
138 pr_rw->pm_resid, pr_rw->pm_offset, RUMPUIO_WRITE);
143 pr_rw->pm_resid = reslen;

Completed in 255 milliseconds