Home
last modified time | relevance | path

Searched refs:secbuf (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/boot/common/
H A Dgpt.c53 static char *secbuf; variable
73 bcopy(&table[firstent], secbuf, DEV_BSIZE); in gptupdate()
75 if (drvwrite(dskp, secbuf, slba, 1)) { in gptupdate()
85 bzero(secbuf, DEV_BSIZE); in gptupdate()
86 bcopy(hdr, secbuf, hdr->hdr_size); in gptupdate()
87 if (drvwrite(dskp, secbuf, hdr->hdr_lba_self, 1)) { in gptupdate()
191 if (drvread(dskp, secbuf, hdrlba, 1)) { in gptread_hdr()
195 bcopy(secbuf, hdr, sizeof (*hdr)); in gptread_hdr()
263 bcopy(&table[nent], secbuf, DEV_BSIZE); in gptbootconv()
264 if (drvwrite(dskp, secbuf, slba, 1)) { in gptbootconv()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1610 char secbuf[MAXWORDLEN]; local
1618 (void) strlcpy(secbuf, passwd, sizeof(secbuf));
1622 secbuf[0] = '\0';
1631 ret = scan_authfile(f, client, server, secbuf, &addrs, &opts,
1650 len = strlen(secbuf);
1656 BCOPY(secbuf, secret, len);
1657 BZERO(secbuf, sizeof(secbuf));
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c728 unsigned char *secbuf; in dadk_ioctl() local
743 secbuf = kmem_zalloc(NBPSCTR, KM_SLEEP); in dadk_ioctl()
744 if (!secbuf) in dadk_ioctl()
748 kmem_free(secbuf, NBPSCTR); in dadk_ioctl()
757 bp->b_un.b_addr = (caddr_t)secbuf; in dadk_ioctl()
768 if (ddi_copyout((caddr_t)secbuf, in dadk_ioctl()
772 kmem_free(secbuf, NBPSCTR); in dadk_ioctl()