Lines Matching refs:read
71 diskaddr_t dblk; /* disk address to read */
72 size_t size; /* number of bytes to read from disk */
491 size = atomic((int(*)())read, cmd[0], (char *)&flags,
495 size = atomic((int(*)())read, cmd[0], data, tp_bsize);
545 * Start a process to read the output buffers and write the data
777 if ((unsigned)atomic((int(*)())read, slp->sl_slavefd,
851 if ((unsigned)atomic((int(*)())read, slp->sl_slavefd,
910 if ((unsigned)atomic((int(*)())read, writer, (char *)&chkpt,
916 if (atomic((int(*)())read, writer, (char *)&spcl,
1154 * Backup first in case we already read the EOF.
1879 if ((unsigned)atomic((int(*)())read, cmd[0],
1964 while (atomic((int(*)())read, cmd, (char *)p, reqsiz) == reqsiz) {
2086 else if ((siz = read(to, rbuf, writesize)) ==
2363 * Since a read from a pipe may not return all we asked for,
2408 * device read-only, position it, close it, and reopen it for writing.