Searched refs:iobuf (Results 1 - 13 of 13) sorted by relevance

/freebsd-10.0-release/crypto/openssl/crypto/ocsp/
H A Docsp_ht.c78 unsigned char *iobuf; /* Line buffer */ member in struct:ocsp_req_ctx_st
116 if (rctx->iobuf)
117 OPENSSL_free(rctx->iobuf);
171 rctx->iobuf = OPENSSL_malloc(rctx->iobuflen);
172 if (!rctx->mem || !rctx->iobuf)
275 n = BIO_read(rctx->io, rctx->iobuf, rctx->iobuflen);
286 if (BIO_write(rctx->mem, rctx->iobuf, n) != n)
355 n = BIO_gets(rctx->mem, (char *)rctx->iobuf, rctx->iobuflen);
375 if (parse_http_line1((char *)rctx->iobuf))
389 for (p = rctx->iobuf; *
[all...]
/freebsd-10.0-release/sys/dev/ips/
H A Dips_commands.c54 struct bio *iobuf = command->arg; local
55 if(ips_read_request(iobuf)) {
64 iobuf->bio_flags |=BIO_ERROR;
65 iobuf->bio_error = EIO;
69 ipsd_finish(iobuf);
78 struct bio *iobuf = command->arg; local
86 iobuf->bio_flags |= BIO_ERROR;
87 iobuf->bio_error = ENOMEM;
89 ipsd_finish(iobuf);
94 command_struct->drivenum = (uintptr_t)iobuf
140 ips_send_io_request(ips_command_t *command, struct bio *iobuf) argument
153 struct bio *iobuf; local
[all...]
H A Dips_disk.c86 void ipsd_finish(struct bio *iobuf) argument
89 dsc = iobuf->bio_disk->d_drv1;
91 if (iobuf->bio_flags & BIO_ERROR) {
93 dsc = iobuf->bio_disk->d_drv1;
94 device_printf(dsc->dev, "iobuf error %d\n", iobuf->bio_error);
96 iobuf->bio_resid = 0;
98 biodone(iobuf);
103 static void ipsd_strategy(struct bio *iobuf) argument
107 dsc = iobuf
[all...]
H A Dips.h70 #define ips_read_request(iobuf) ((iobuf)->bio_cmd == BIO_READ)
162 extern void ipsd_finish(struct bio *iobuf);
/freebsd-10.0-release/release/picobsd/tinyware/msh/
H A Dsh5.c16 static struct iobuf sharedbuf = {AFID_NOBUF};
17 static struct iobuf mainbuf = {AFID_NOBUF};
281 struct iobuf *bp = ap->afbuf;
H A Dsh.h272 struct iobuf { struct
286 struct iobuf *afbuf; /* buffer for this file */
/freebsd-10.0-release/sbin/newfs/
H A Dmkfs.c88 static caddr_t iobuf; variable
560 if ((iobuf = calloc(1, iobufsize)) == 0) {
568 bcopy((char *)&sblock, iobuf, SBLOCKSIZE);
777 bcopy((char *)&acg, &iobuf[start], sblock.fs_cgsize);
779 dp1 = (struct ufs1_dinode *)(&iobuf[start]);
780 dp2 = (struct ufs2_dinode *)(&iobuf[start]);
790 wtfs(fsbtodb(&sblock, cgsblock(&sblock, cylno)), iobufsize, iobuf); local
798 dp1 = (struct ufs1_dinode *)(&iobuf[start]);
804 sblock.fs_bsize, &iobuf[start]); local
860 iobuf); local
875 sblock.fs_fsize, iobuf); local
896 iobuf); local
911 sblock.fs_fsize, iobuf); local
[all...]
/freebsd-10.0-release/usr.sbin/makefs/ffs/
H A Dmkfs.c93 char *iobuf; variable
498 if ((iobuf = malloc(iobufsize)) == 0) {
502 memset(iobuf, 0, iobufsize);
510 memcpy(iobuf, writebuf, SBLOCKSIZE);
737 memcpy(&iobuf[start], &acg, sblock.fs_cgsize);
739 ffs_cg_swap(&acg, (struct cg*)&iobuf[start], &sblock);
741 dp1 = (struct ufs1_dinode *)(&iobuf[start]);
742 dp2 = (struct ufs2_dinode *)(&iobuf[start]);
753 ffs_wtfs(fsbtodb(&sblock, cgsblock(&sblock, cylno)), iobufsize, iobuf, local
762 dp1 = (struct ufs1_dinode *)(&iobuf[star
768 sblock.fs_bsize, &iobuf[start], fsopts); local
[all...]
/freebsd-10.0-release/contrib/amd/amd/
H A Dops_nfs.c531 char iobuf[UDPMSGSIZE]; local
560 len = make_rpc_packet(iobuf,
561 sizeof(iobuf),
570 iobuf,
600 char iobuf[UDPMSGSIZE]; local
657 len = make_rpc_packet(iobuf,
658 sizeof(iobuf),
667 iobuf,
H A Dsrvr_nfs.c239 char iobuf[UDPMSGSIZE]; local
248 len = make_rpc_packet(iobuf,
249 sizeof(iobuf),
260 error = fwd_packet(RPC_XID_PORTMAP, iobuf, len,
/freebsd-10.0-release/sbin/growfs/
H A Dgrowfs.c321 static caddr_t iobuf; local
329 if (iobuf == NULL && (iobuf = malloc(sblock.fs_bsize * 3)) == NULL)
400 bzero(iobuf, sblock.fs_bsize);
403 dp1 = (struct ufs1_dinode *)(void *)iobuf;
409 sblock.fs_bsize, iobuf, fso, Nflag); local
484 memcpy(iobuf, &acg, sblock.fs_cgsize);
485 memset(iobuf + sblock.fs_cgsize, '\0',
489 sblock.fs_bsize * 3, iobuf, fso, Nflag); local
/freebsd-10.0-release/crypto/openssl/crypto/asn1/
H A Dasn_mime.c576 char iobuf[4096]; local
597 while ((len = BIO_read(in, iobuf, sizeof(iobuf))) > 0)
598 BIO_write(out, iobuf, len);
/freebsd-10.0-release/lib/libstand/
H A Ddosfs.c146 static int iobuf(DOS_FS *, u_int);
723 if ((err = iobuf(fs, bytsec(offset))))
740 if ((err = iobuf(fs, bytsec(offset))))
751 iobuf(DOS_FS *fs, u_int lsec) function

Completed in 117 milliseconds