/netbsd-6-1-5-RELEASE/sys/dev/isa/ |
H A D | aps.c | 238 unsigned char iobuf[16]; local 263 iobuf[APS_CMD] = 0x13; 264 if (aps_do_io(iot, ioh, iobuf, APS_WRITE_0, APS_READ_1)) { 277 cr = iobuf[APS_ARG1]; 282 if (iobuf[APS_RET] != 0 || cr < 1 || cr > 5) { 376 unsigned char iobuf[16]; local 379 iobuf[APS_CMD] = 0x17; 380 iobuf[APS_ARG1] = 0x81; 382 if (aps_do_io(sc->sc_iot, sc->sc_ioh, iobuf, APS_WRITE_1, APS_READ_3)) 384 if (iobuf[APS_RE 440 unsigned char iobuf[16]; local 526 unsigned char iobuf[16]; local [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ocsp/ |
H A D | ocsp_ht.c | 78 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...] |
/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/stand/altboot/ |
H A D | dsk.c | 131 drive_ident(d, l->iobuf); 132 decode_dlabel(d, l->iobuf); 232 p = (uint16_t *)l->iobuf; 304 decode_dlabel(struct disk *d, char *iobuf) argument 313 (*d->lba_read)(d, 0, 1, iobuf); 314 if (bswap16(*(uint16_t *)(iobuf + MBR_MAGIC_OFFSET)) != MBR_MAGIC) 316 mp = (struct mbr_partition *)(iobuf + MBR_PART_OFFSET); 326 (*d->lba_read)(d, first + LABELSECTOR, 1, iobuf); 327 dp = iobuf /* + LABELOFFSET */; 337 iobuf); [all...] |
H A D | globals.h | 222 char *iobuf; member in struct:dkdev_ata
|
H A D | siisata.c | 72 l->iobuf = allocaligned(512, 16);
|
H A D | pciide.c | 92 l->iobuf = allocaligned(512, 16);
|
/netbsd-6-1-5-RELEASE/sbin/newfs/ |
H A D | mkfs.c | 157 char *iobuf; variable 572 iobuf = mmap(0, iobuf_memsize, PROT_READ|PROT_WRITE, 574 if (iobuf != MAP_FAILED) 584 memset(iobuf, 0, iobuf_memsize); 600 wtfs(fssize - 1, sectorsize, iobuf); 650 memcpy(iobuf, &sblock, sizeof sblock); 652 ffs_sb_swap(&sblock, (struct fs *)iobuf); 654 memset(iobuf + offsetof(struct fs, fs_old_postbl_start), 731 memset(iobuf, 0, i); 732 memcpy(iobuf, 956 wtfs(fsbtodb(&sblock, cgsblock(&sblock, cylno)), iobufsize, iobuf); local 974 d * sblock.fs_bsize / sblock.fs_frag, &iobuf[start]); local [all...] |
/netbsd-6-1-5-RELEASE/lib/libkvm/ |
H A D | kvm_private.h | 91 uint8_t *iobuf; member in struct:__kvm
|
H A D | kvm.c | 194 newbuf = realloc(kd->iobuf, dsize); 199 kd->iobuf = newbuf; 202 rv = pread(fd, kd->iobuf, dsize, doff); 205 memcpy(buf, kd->iobuf + moff, size); 257 kd->iobuf = NULL; 744 if (kd->iobuf != 0) 745 free(kd->iobuf); 810 newbuf = realloc(kd->iobuf, dsize); 815 kd->iobuf = newbuf; 818 memset(kd->iobuf, [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/libsa/ |
H A D | bugdev.c | 58 static int iobuf[DEV_BSIZE / sizeof(int)]; local 96 error = bugscstrategy(pp, F_READ, LABELSECTOR, DEV_BSIZE, iobuf, &nrd); 103 cputobsdlabel(&sdlabel, (struct cpu_disklabel *)&(iobuf[0]));
|
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ffs/ |
H A D | mkfs.c | 101 char *iobuf; variable 507 if ((iobuf = malloc(iobufsize)) == 0) { 511 memset(iobuf, 0, iobufsize); 519 memcpy(iobuf, writebuf, SBLOCKSIZE); 746 memcpy(&iobuf[start], &acg, sblock.fs_cgsize); 748 ffs_cg_swap(&acg, (struct cg*)&iobuf[start], &sblock); 750 dp1 = (struct ufs1_dinode *)(&iobuf[start]); 751 dp2 = (struct ufs2_dinode *)(&iobuf[start]); 762 ffs_wtfs(fsbtodb(&sblock, cgsblock(&sblock, cylno)), iobufsize, iobuf, local 771 dp1 = (struct ufs1_dinode *)(&iobuf[star 777 sblock.fs_bsize, &iobuf[start], fsopts); local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/raidframe/ |
H A D | rf_driver.c | 425 raidPtr->iobuf = NULL; 494 vple->next = raidPtr->iobuf; 495 raidPtr->iobuf = vple; 532 while (raidPtr->iobuf != NULL) { 533 tmp = raidPtr->iobuf; 534 raidPtr->iobuf = raidPtr->iobuf->next;
|
H A D | rf_raid.h | 169 RF_VoidPointerListElem_t *iobuf; /* I/O buffer free list */ member in struct:RF_Raid_s
|
H A D | rf_dagutils.c | 443 vple = raidPtr->iobuf; 444 raidPtr->iobuf = vple->next; 472 vple->next = raidPtr->iobuf; 473 raidPtr->iobuf = vple;
|
/netbsd-6-1-5-RELEASE/sbin/newfs_ext2fs/ |
H A D | mke2fs.c | 175 static uint8_t *iobuf; /* for superblock and group descriptors */ variable 543 iobuf = mmap(0, iobufsize, PROT_READ|PROT_WRITE, 545 if (iobuf == NULL) 547 memset(iobuf, 0, iobufsize); 564 wtfs(fssize - 1, sectorsize, iobuf); 674 e2fs_sbsave(&sblock.e2fs, (struct ext2fs *)(iobuf + sboff)); 675 e2fs_cgsave(gd, (struct ext2_gd *)(iobuf + sblock.e2fs_bsize), 678 iobufsize - sboff, iobuf + sboff); 680 munmap(iobuf, iobufsize); 705 e2fs_sbsave(&sblock.e2fs, (struct ext2fs *)(iobuf [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/isibootd/ |
H A D | isibootd.c | 128 uint8_t *iobuf; local 167 createbpfport(ifname, &iobuf, &iolen, &station); 187 read(pollfd.fd, iobuf, iolen); /* returns 1468 */ 188 fp = (struct frame *)TRFS_FRAME(iobuf);
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | ops_nfs.c | 533 char iobuf[UDPMSGSIZE]; local 562 len = make_rpc_packet(iobuf, 563 sizeof(iobuf), 572 iobuf, 602 char iobuf[UDPMSGSIZE]; local 659 len = make_rpc_packet(iobuf, 660 sizeof(iobuf), 669 iobuf,
|
H A D | srvr_nfs.c | 241 char iobuf[UDPMSGSIZE]; local 250 len = make_rpc_packet(iobuf, 251 sizeof(iobuf), 262 error = fwd_packet(RPC_XID_PORTMAP, iobuf, len,
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/asn1/ |
H A D | asn_mime.c | 576 char iobuf[4096]; local 597 while ((len = BIO_read(in, iobuf, sizeof(iobuf))) > 0) 598 BIO_write(out, iobuf, len);
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/stand/libdos/ |
H A D | dos.h | 70 void *iobuf; member in struct:dos_fcb::__anon6710
|
/netbsd-6-1-5-RELEASE/sys/lib/libsa/ |
H A D | dosfs.c | 150 static int iobuf(DOS_FS *, u_int); 742 if ((err = iobuf(fs, bytsec(offset)))) 759 if ((err = iobuf(fs, bytsec(offset)))) 770 iobuf(DOS_FS *fs, u_int lsec) function
|
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/ |
H A D | privsep.c | 1560 char iobuf[1]; local 1562 iov.iov_base = iobuf;
|