Home
last modified time | relevance | path

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

/titanic_53/usr/src/boot/sys/boot/common/
H A Dgpt.c54 static char *secbuf; variable
74 bcopy(&table[firstent], secbuf, DEV_BSIZE); in gptupdate()
76 if (drvwrite(dskp, secbuf, slba, 1)) { in gptupdate()
84 bzero(secbuf, DEV_BSIZE); in gptupdate()
85 bcopy(hdr, secbuf, hdr->hdr_size); in gptupdate()
86 if (drvwrite(dskp, secbuf, hdr->hdr_lba_self, 1)) { in gptupdate()
190 if (drvread(dskp, secbuf, hdrlba, 1)) { in gptread_hdr()
194 bcopy(secbuf, hdr, sizeof(*hdr)); in gptread_hdr()
262 bcopy(&table[nent], secbuf, DEV_BSIZE); in gptbootconv()
263 if (drvwrite(dskp, secbuf, slba, 1)) { in gptbootconv()
[all …]
H A Dufsread.c85 char secbuf[DEV_BSIZE]; /* for MBR/disklabel */ member
/titanic_53/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1617 char secbuf[MAXWORDLEN]; local
1625 (void) strlcpy(secbuf, passwd, sizeof(secbuf));
1629 secbuf[0] = '\0';
1638 ret = scan_authfile(f, client, server, secbuf, &addrs, &opts,
1657 len = strlen(secbuf);
1663 BCOPY(secbuf, secret, len);
1664 BZERO(secbuf, sizeof(secbuf));
/titanic_53/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()
/titanic_53/usr/src/boot/sys/boot/arm/at91/boot2/
H A Dboot2.c256 sec = dmadat->secbuf; in dskread()
/titanic_53/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A Dboot2.c303 sec = dmadat->secbuf; in dskread()