Lines Matching refs:secbuf
52 static char *secbuf;
72 bcopy(&table[firstent], secbuf, DEV_BSIZE);
74 if (drvwrite(dskp, secbuf, slba, 1)) {
85 bzero(secbuf, DEV_BSIZE);
86 bcopy(hdr, secbuf, hdr->hdr_size);
87 if (drvwrite(dskp, secbuf, hdr->hdr_lba_self, 1)) {
191 if (drvread(dskp, secbuf, hdrlba, 1)) {
195 bcopy(secbuf, hdr, sizeof(*hdr));
264 bcopy(&table[nent], secbuf, DEV_BSIZE);
265 if (drvwrite(dskp, secbuf, slba, 1)) {
278 bzero(secbuf, DEV_BSIZE);
279 bcopy(hdr, secbuf, hdr->hdr_size);
280 if (drvwrite(dskp, secbuf, hdr->hdr_lba_self, 1))
300 if (drvread(dskp, secbuf, slba, 1)) {
305 ent = (struct gpt_ent *)secbuf;
332 secbuf = buf;