Searched defs:totread (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/boot/lib/libstand/
H A Dsplitfs.c196 size_t totread; local
200 totread = 0;
202 nread = read(sf->curfd, buf, size - totread);
210 totread += nread;
213 if (totread < size) { /* EOF */
226 } while (totread < size);
229 *resid = size - totread;
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promif.c301 size_t totread = 0; local
310 totread += thisread;
314 if (totread == 0)
331 for (i = 0; i < totread; i++) {
338 (void) kmdb_prom_write(buf, totread, tio);
340 return (totread);

Completed in 1198 milliseconds