iobuf
static struct iobuf tio_iobs[NIOBS];
char iobuf[BUFSIZ];
while ((nbytes = fread(iobuf, sizeof (char), BUFSIZ, st)) != 0)
(void) fwrite(iobuf, sizeof (char), nbytes, mailpipe);
while (((c = getc(iobuf)) == '\n') ||
while (((*name++ = c = getc(iobuf)) != ' ') &&
while (((c = getc(iobuf)) == ' ') || (c == '\n'))
while ((c = getc(iobuf)) != '\n')
while (gotflg || (c = getc(iobuf)) != EOF) {
switch (c = getc(iobuf)) {
while (((c = getc(iobuf)) == '\n') || (c == ' '))
fclose(iobuf);
while (++k < 4 && (c = getc(iobuf)) >= '0' && c <= '7')
c = getc(iobuf);
FILE *iobuf;
if ((iobuf = fopen(*argv, "r")) == NULL) {
char *iobuf)
iobuf[i] = c;
iobuf[i+2] = c;
iobuf[i+2] = 0;
if(iobuf[1]==0)
iobuf[1] = iobuf[0];
return(iobuf);
char iobuf[BUFSIZ];
memset(iobuf, 0, (size_t) len);
xfwrite(iobuf, 1, (size_t) len, KTFILEP(id));
char iobuf[BUFSIZ];
while ((size = xfread(iobuf, 1, sizeof(iobuf), KTFILEP(id)))) {
if (size != sizeof(iobuf)) {
memset(iobuf, 0, (size_t) size);
xfwrite(iobuf, 1, (size_t) size, KTFILEP(id));
char iobuf[BUFSIZ]; /* so we can zap it later */
#define KTFILEBUFP(id) (((krb5_ktfile_data *)(id)->data)->iobuf)
if ((ret->iobuf = xIOBuf()) == NULL) {
this->iobuf->myin = *inbuf;
this->iobuf->myout = *outbuf;
this->iobuf->insize = *inbufsize;
this->iobuf->outsize = *outbufsize;
if ((ret = yescSeq(this->cntl, this->iobuf)) == -1)
if (zconversion(this->conv, this->iobuf) == -1)
*inbuf = this->iobuf->myin;
*outbuf = this->iobuf->myout;
*inbufsize = this->iobuf->insize;
*outbufsize = this->iobuf->outsize;
xdeIOBuf(this->iobuf);
xdeIOBuf(this->iobuf);
this->iobuf = xIOBuf();
IOBuf *iobuf;
_unix_crypt(const char *pw, const char *salt, char *iobuf)
block = iobuf + 16;
if (iobuf == 0) {
iobuf[i] = (char)c;
iobuf[i+2] = (char)c;
iobuf[i+2] = 0;
if (iobuf[1] == 0)
iobuf[1] = iobuf[0];
return (iobuf);
static char *_unix_crypt(const char *pw, const char *salt, char *iobuf);
char *iobuf;
iobuf = pthread_getspecific(*keyp);
if (iobuf == NULL) {
if (thr_setspecific(*keyp, (iobuf = malloc(size))) != 0) {
if (iobuf)
(void) free(iobuf);
iobuf = NULL;
return (iobuf);
char *iobuf = _get_iobuf(&key, IOBUF_SIZE);
iobuf[i] = (char)c;
iobuf[i+2] = (char)c;
iobuf[i+2] = 0;
if (iobuf[1] == 0)
iobuf[1] = iobuf[0];
return (iobuf);
void *iobuf = bufaddr;
iobuf = kmem_alloc(len, KM_SLEEP);
if (lofi_crypto(lsp, bp, bufaddr, iobuf, len,
kmem_free(iobuf, len);
bcopy(iobuf, bcopy_locn, len);
error = vn_rdwr(UIO_WRITE, lsp->ls_vp, iobuf, len,
kmem_free(iobuf, len);
tpm->iobuf = kmem_zalloc((sizeof (uint8_t))*(tpm->bufsize), KM_SLEEP);
ASSERT(tpm->iobuf != NULL);
kmem_free(tpm->iobuf, (sizeof (uint8_t))*(tpm->bufsize));
ret = tis_recv_data(tpm, tpm->iobuf, tpm->bufsize);
size = load32(tpm->iobuf, 2);
ret = uiomove(tpm->iobuf, size, UIO_READ, uiop);
bzero(tpm->iobuf, tpm->bufsize);
ret = uiomove(tpm->iobuf, TPM_HEADER_SIZE, UIO_WRITE, uiop);
size = load32(tpm->iobuf, TPM_PARAMSIZE_OFFSET);
ret = uiomove(tpm->iobuf+TPM_HEADER_SIZE, size-TPM_HEADER_SIZE,
ret = tis_send_data(tpm, tpm->iobuf, size);
bzero(tpm->iobuf, tpm->bufsize);
uint8_t *iobuf;