Lines Matching refs:nbytes
397 termio_read(mdb_io_t *io, void *buf, size_t nbytes)
409 return (IOP_READ(io->io_next, buf, nbytes));
415 if (nbytes == 1) {
537 if ((rlen = strlen(s)) >= nbytes - 1)
538 rlen = nbytes - 1;
552 termio_write(mdb_io_t *io, const void *buf, size_t nbytes)
557 return (IOP_WRITE(io->io_next, buf, nbytes));
559 return (IOP_WRITE(td->tio_out_io, buf, nbytes));
1270 size_t nbytes;
1279 for (nbytes = 0, ta = &termio_attrs[0]; ta->ta_name != NULL; ta++) {
1293 nbytes += strlen(str) + 1;
1322 if (nbytes != 0)
1323 td->tio_attrs = mdb_alloc(nbytes, UM_SLEEP);
1327 td->tio_attrslen = nbytes;